summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-05-29 13:52:38 -0400
committersiddharth <s@ricketyspace.net>2021-05-29 13:52:38 -0400
commite9749b4b950f6e004c9cd168cb9f20dd2b6dba3a (patch)
treea87343ccac1754acd9c8c99f69284c0def07dec0
parent70b4a339dafd4c2fae1dcbe48d4fa69134398a9c (diff)
acmens.py: update `revoke_crt`
Fix payload of the newAccount request.
-rw-r--r--acmens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/acmens.py b/acmens.py
index f5233cf..eaacf88 100644
--- a/acmens.py
+++ b/acmens.py
@@ -25,7 +25,7 @@ from urllib.request import urlopen
from urllib.error import HTTPError
-__version__ = "0.1.5-dev2"
+__version__ = "0.1.5-dev3"
CA_PRD = "https://acme-v02.api.letsencrypt.org"
CA_STG = "https://acme-staging-v02.api.letsencrypt.org"
@@ -458,7 +458,7 @@ def revoke_crt(ca_url, account_key, crt):
# Step 2: Get account info.
sys.stderr.write("Getting account info...\n")
- reg = {"onlyReturnExistiing": True}
+ reg = {"onlyReturnExisting": True}
nonce_url = _directory(ca_url)["newNonce"]
auth = {"jwk": jwk}
acct_headers = None