Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Warmuz <jakub@warmuz.org>2015-07-05 16:11:33 +0300
committerJakub Warmuz <jakub@warmuz.org>2015-07-05 23:36:20 +0300
commite0293d81f3263ab958d041374c19634b335b35eb (patch)
tree269ad1dc86099cbc8f8f8ca1b00636193f192375 /setup.py
parent4407210e0114bcacb75567abb71dce27f908c96f (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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ca2746113..8b58a3e80 100644
--- a/setup.py
+++ b/setup.py
@@ -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',