From: Fredrik Tolf Date: Fri, 12 Nov 2021 20:21:08 +0000 (+0100) Subject: acmecert: Removed obsolete saved code. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=2953925dea94b19c54f93371d59a269c0183ecb3;p=utils.git acmecert: Removed obsolete saved code. --- diff --git a/acmecert b/acmecert index f6f60e2..a4fb4a4 100755 --- a/acmecert +++ b/acmecert @@ -193,8 +193,6 @@ class htconfig(object): def register(keysize=4096): key = Crypto.PublicKey.RSA.generate(keysize, Crypto.Random.new().read) - # jwk = {"kty": "RSA", "e": ebignum(key.e), "n": ebignum(key.n)} - # cjwk = json.dumps(jwk, separators=(',', ':'), sort_keys=True) data, headers = jreq(directory()["newAccount"], {"termsOfServiceAgreed": True}, jwkauth(key)) return account(headers["Location"], key)