Skip to content

Commit 98406bc

Browse files
author
Michael Davis
committed
default pycryptodome
1 parent fd61439 commit 98406bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jose/backends/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
try:
3-
from jose.backends.pycrypto_backend import RSAKey
4-
except ImportError:
53
from jose.backends.cryptography_backend import CryptographyRSAKey as RSAKey
4+
except ImportError:
5+
from jose.backends.pycrypto_backend import RSAKey
66

77
try:
88
from jose.backends.cryptography_backend import CryptographyECKey as ECKey

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ def get_packages(package):
5656
'Topic :: Utilities',
5757
],
5858
extras_require=extras_require,
59-
install_requires=['six <2.0', 'ecdsa <1.0', 'future <1.0']
59+
install_requires=['six <2.0', 'ecdsa <1.0', 'future <1.0', 'pycryptodome >=3.3.1, <3.4.0']
6060
)

0 commit comments

Comments
 (0)