Dolda2000 GitWeb
/
utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28d5a32
)
acmecert: Removed obsolete saved code.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 12 Nov 2021 20:21:08 +0000
(21:21 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 12 Nov 2021 20:21:08 +0000
(21:21 +0100)
acmecert
patch
|
blob
|
blame
|
history
diff --git
a/acmecert
b/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)