Bug 2061881 - RFE: drop use of python-crypto
Summary: RFE: drop use of python-crypto
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: winpdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-08 16:34 UTC by Paul Howarth
Modified: 2023-06-29 11:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

winpdb 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 rpdb2.py:

try:
    from Crypto.Cipher import DES
except ImportError:
    pass

If you change it to this instead:

try:
    from Cryptodome.Cipher import DES
except ImportError:
    pass

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 Paul Howarth 2023-06-29 11:19:41 UTC
This is now the last remaining user of python3-crypto in Fedora.


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