acmecert: Removed obsolete saved code.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 12 Nov 2021 20:21:08 +0000 (21:21 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 12 Nov 2021 20:21:08 +0000 (21:21 +0100)
acmecert

index f6f60e2..a4fb4a4 100755 (executable)
--- 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)