From e9749b4b950f6e004c9cd168cb9f20dd2b6dba3a Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 29 May 2021 13:52:38 -0400 Subject: acmens.py: update `revoke_crt` Fix payload of the newAccount request. --- acmens.py | 4 ++-- 1 file 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 -- cgit v1.2.3