Bug 2061881

Summary: RFE: drop use of python-crypto
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: winpdbAssignee: Tom "spot" Callaway <spotrh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.