Bug 2054702
Summary: | hashlib.algorithms_available lists algorithms that are not available | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Hubert Kario <hkario> |
Component: | python3.9 | Assignee: | Charalampos Stratakis <cstratak> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.0 | CC: | cheimes, cstratak, pviktori, torsava |
Target Milestone: | rc | Keywords: | Rebase, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python3.9-3.9.13-1.el9 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 11:20:15 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
Hubert Kario
2022-02-15 14:24:08 UTC
It may be caused by Python using the deprecated EVP_MD_do_all() method instead of the EVP_MD_do_all_provided() method Christian, do you want to fix this upstream? I have created a new BPO for the issue and a PR. Hubert, could you please test the PR? Seems to work:
# git status
On branch bpo-47101-legacynames
# ./python
Python 3.11.0a6+ (heads/bpo-47101-legacynames:e7a92d981b, Mar 23 2022, 14:32:04) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from hashlib import algorithms_available
>>> algorithms_available
{'sha3_224', 'sha3_384', 'sha512', 'shake_128', 'sha3_256', 'sha3_512', 'sha256', 'sha1', 'sha224', 'md5', 'blake2b', 'blake2s', 'shake_256', 'sha384'}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: python3.9 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8353 |