Open h-c-mueller opened 2 years ago
Development has stopped at this repo. See noDRM for currently active development on DeDRM.
As ElleKayEm notes:
This repo is no longer being maintained: https://github.com/apprenticeharper/DeDRM_tools#readme
You can find active development at @noDRM's repo here: https://github.com/noDRM/DeDRM_tools
PyCryptodome modules are imported using the name Crypto for compatibility with the older PyCrypto. This should all be taken care of if you use the official calibre installer for Linux.
PyCryptodome modules are imported using the name Crypto for compatibility with the older PyCrypto. This should all be taken care of if you use the official calibre installer for Linux.
I used the official debian installation package calibre 5.12.0+dfsg-1 all
j-howell is referring to this: https://calibre-ebook.com/download_linux
I'm on GNU/linux debian 11. I needed to change e.g. in ion.py
from Crypto.
infrom Cryptodome.
dpkg -l "python3-*crypto*"
givespython3-crypto is not installable:
From google it seems PyCrypto is considered unsafe and unmaintained. Successor is PyCryptodome.
The python3-pycryptodome debian package was generated similiar to
pip install pycryptodomex
see here with module nameCryptodome
instead ofCrypto
.So my naive suggestion is to change generally from module
Crypto
toCryptodome
or to implement a related fallback.Thanks!