Bug 2224405

Summary: Please drop BuildRequires/Recommends for python3dist(pycrypto)
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: python-beakerAssignee: Jonathan Wright <jonathan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: jonathan, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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 2023-07-20 17:07:08 UTC
I am the Fedora maintainer for python-crypto (pycrypto), and I am in the process of getting rid of all of the dependencies on it in Fedora because it has long been deprecated (and unmaintained) upstream and there are better alternatives available.

In the case of beaker, it seems that it can use a variety of back-ends, and there are BuildRequires for some of them and Recommends for even more. Looking at the code, it seems that pycryptopp is used in preference to pycrypto (if available) within beaker/crypto/pycrypto.py, and the other usage of pycrypto in beaker/crypto/util.py falls back to a function from hashlib in the standard library if pycrypto is unavailable.

So it looks to me that there should be no problem dropping usage of pycrypto here.

Reproducible: Always

Comment 1 Fedora Release Engineering 2023-08-16 08:13:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Aoife Moloney 2024-11-08 10:56:06 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Paul Howarth 2024-11-08 13:52:21 UTC
Still present in rawhide.

Comment 4 Aoife Moloney 2025-02-26 12:54:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.