Skip to content

Commit

Permalink
Replace 'pycryptodome' with 'pycryptodomex' (#1173)
Browse files Browse the repository at this point in the history
pycryptodomex is a library independent of the old PyCrypto
  • Loading branch information
marcelometal authored and heynemann committed Feb 20, 2019
1 parent 33e2fa2 commit c61e71e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You'll need Python 2.7 and we seriously advise you to use virtualenv (http://pyp
The following packages are required:

* Tornado >= 2.3.0
* pycryptodome >= 3.4.7
* pycryptodomex >= 3.4.7
* pycurl >= 7.19.0
* Pillow >= 2.3.0
* redis >= 2.4.11
Expand Down
2 changes: 1 addition & 1 deletion docs/hacking_on_thumbor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You'll also need python >= 2.6 and < 3.0.
The following packages are required:

- Tornado >= 2.1.1
- pycryptodome >= 3.4.7
- pycryptodomex >= 3.4.7
- pycurl >= 7.19.0
- Pillow >= 1.7.5
- redis >= 2.4.11
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def run_setup(extension_modules=[]):

install_requires=[
"tornado>=4.1.0,<6.0.0",
"pycryptodome >= 3.4.7",
"pycryptodomex >= 3.4.7",
"pycurl>=7.19.0,<7.44.0",
"Pillow>=4.3.0,<6.0.0",
"derpconf>=0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion thumbor/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import base64
import hashlib

from Crypto.Cipher import AES
from Cryptodome.Cipher import AES

# Import the Signer class to support backward-compatibility
# and existing documentation
Expand Down

0 comments on commit c61e71e

Please sign in to comment.