Bug 2213674 - Workaround for hashlib.md5() without `usedforsecurity=False` in FIPS
Summary: Workaround for hashlib.md5() without `usedforsecurity=False` in FIPS
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python36
Version: 8.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Python Maintainers
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-09 01:02 UTC by Rayes
Modified: 2023-07-12 12:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-12 12:16:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159353 0 None None None 2023-06-09 01:02:59 UTC

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 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.


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