diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-07-08 15:07:05 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-07-08 15:07:05 +0300 |
commit | 36eafde21319411cff72fdc876113b69f89ccc90 (patch) | |
tree | 27e72f2eda3a8d9b8b3102806977426ed41d9c8f /examples | |
parent | a7817de4ab3b3a7f52088ea8b8f2e243d74ae9b8 (diff) |
Use ComparableRSAKey autowrap throughout the code base.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/acme_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/acme_client.py b/examples/acme_client.py index f7e3916d8..e07031fbe 100644 --- a/examples/acme_client.py +++ b/examples/acme_client.py @@ -20,10 +20,10 @@ BITS = 2048 # minimum for Boulder DOMAIN = 'example1.com' # example.com is ignored by Boulder # generate_private_key requires cryptography>=0.5 -key = jose.JWKRSA(key=jose.ComparableRSAKey(rsa.generate_private_key( +key = jose.JWKRSA(key=rsa.generate_private_key( public_exponent=65537, key_size=2048, - backend=default_backend()))) + backend=default_backend())) acme = client.Client(NEW_REG_URL, key) regr = acme.register(contact=()) |