diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-07-05 16:11:33 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-07-05 23:36:20 +0300 |
commit | e0293d81f3263ab958d041374c19634b335b35eb (patch) | |
tree | 269ad1dc86099cbc8f8f8ca1b00636193f192375 /setup.py | |
parent | 4407210e0114bcacb75567abb71dce27f908c96f (diff) |
acme: drop PyCrypto and use cryptography instead.
- Use cryptography in acme.jose.jwa/jwk.
- Change Crypto.Random to os.urandom,
c.f. https://cryptography.io/en/latest/random-numbers/?highlight=urandom
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -35,9 +35,11 @@ changes = read_file(os.path.join(here, 'CHANGES.rst')) # maintainers. and will make the future migration a lot easier. acme_install_requires = [ 'argparse', + # load_pem_private/public_key (>=0.6) + # rsa_recover_prime_factors (>=0.8) + 'cryptography>=0.8', #'letsencrypt' # TODO: uses testdata vectors 'mock', - 'pycrypto', 'pyrfc3339', 'ndg-httpsclient', # urllib3 InsecurePlatformWarning (#304) 'pyasn1', # urllib3 InsecurePlatformWarning (#304) @@ -83,6 +85,7 @@ letsencrypt_nginx_install_requires = [ install_requires = [ 'argparse', + 'cryptography>=0.8', 'ConfigArgParse', 'configobj', 'mock', |