Bug 2061884 - RFE: drop use of python-crypto
Summary: RFE: drop use of python-crypto
Alias: None
Product: Fedora
Classification: Fedora
Component: yokadi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2022-03-08 16:43 UTC by Paul Howarth
Modified: 2022-03-10 22:22 UTC (History)
2 users (show)

Fixed In Version: yokadi-1.2.0-3.fc37
Doc Type: ---
Doc Text:
Clone Of:
Last Closed: 2022-03-10 22:22:41 UTC
Type: Bug

Attachments (Terms of Use)

Description Paul Howarth 2022-03-08 16:43:41 UTC
Description of problem:

yokadi currently has a runtime dependency on python3-crypto, which I maintain in Fedora. Upstream of this package (https://www.pycrypto.org/) has long since stopped maintaining it and I would like to drop it from Fedora.

The only use of python-crypto that I can see is this in yokadi/update/update11to12.py:

    from Crypto.Cipher import AES as CRYPTO_ALGO
except ImportError:
    CRYPTO_ALGO = None

If you change it to this instead:

    from Cryptodome.Cipher import AES as CRYPTO_ALGO
except ImportError:
    CRYPTO_ALGO = None

then you could depend on python3-pycryptodomex (which is maintained) rather than python3-crypto.

Please consider applying such a change in Fedora so that python-crypto gets nearer to being able to be retired.

Comment 1 Fedora Update System 2022-03-10 22:21:52 UTC
FEDORA-2022-54f7e7e92c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-54f7e7e92c

Comment 2 Fedora Update System 2022-03-10 22:22:41 UTC
FEDORA-2022-54f7e7e92c has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.