Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2213674

Summary: Workaround for hashlib.md5() without `usedforsecurity=False` in FIPS
Product: Red Hat Enterprise Linux 8 Reporter: Rayes <chhuang>
Component: python36Assignee: Python Maintainers <python-maint>
Status: CLOSED CANTFIX QA Contact: RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: cstratak, pviktori, torsava
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-12 12:16:26 UTC 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 Rayes 2023-06-09 01:02:36 UTC
Description of problem:
Looking for opinion if we can add the features of hashlib.md5() from below:
https://github.com/conda/conda/pull/11658/files


Version-Release number of selected component (if applicable):
python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64     
python3-libs-3.6.8-15.1.el8.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Petr Viktorin (pviktori) 2023-06-12 08:10:28 UTC
I don't know if I understand "add features from https://github.com/conda/conda/pull/11658/files to python3.6 is possible" correctly. Could you clarify what features we're talking about?
Is it the usedforsecurity argument for `md5`? That is already there: RHEL's Python 3.6 allows it. (RHEL has supported it for a long time. In Python 3.9 it was added *upstream*, i.e. since 3.9 the non-RHEL distributions of Python also support it.)

At a global level, only disabling FIPS mode is possible. As said above we can't enable md5 globally and somehow leave the rest of FIPS mode on.

Comment 5 Tomas Orsava 2023-07-12 12:16:26 UTC
There hasn't been a response for a month, closing the request. Please reopen if you'd like to discuss the issue further.