Commit 122c95b0 authored by Jérémy Bobbio (Lunar)'s avatar Jérémy Bobbio (Lunar)
Browse files

[crypto] Use Cryptodome namespace instead of Crypto

PyCryptodome comes in two flavors: “an almost drop-in replacement for the old
PyCrypto library” and “a library independent of the old PyCrypto”. The former
uses the Crypto namespace, and is shipped as `pycryptodome` while the latter
uses Cryptodome instead and lies in the `pycryptodomex` package.

Given the reason to switch to PyCryptodome is that PyCrypto in unmaintained,
its probably better to avoid any mistake and mandate the specific usage of
the Cryptodome namespace by requiring `pycryptodomex` instead of

A more present reason is that Debian buster will only provide a package
with the separate namespace flavor. The current Recommends is not working with
the current code. Although it's important to note that the package name will
probably have to be changed to `python3-pycryptodomex` once is solved.
parent b2fb404fae3a
......@@ -21,7 +21,7 @@
from base64 import b64encode, b64decode
import pickle
from Crypto.Cipher import Blowfish
from Cryptodome.Cipher import Blowfish
......@@ -87,7 +87,7 @@ setup(
'crypto': [
'ext': [
'docutils >= 0.6',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment