Bug 2349580
| Summary: | code fails to run due to openssl deprecation of load_pkcs12 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Ch. Eigler <fche> |
| Component: | python-requests-pkcs12 | Assignee: | Lukas Slebodnik <lslebodn> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-requests-pkcs12-1.25-1.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-09-03 22:43:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream requests-pkcs12 version 1.25 appears to work when pip-user-overlayed with normal f41 python packages. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. FEDORA-2025-b84f17b0d1 (python-requests-pkcs12-1.25-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-b84f17b0d1 FEDORA-2025-b84f17b0d1 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b84f17b0d1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b84f17b0d1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-b84f17b0d1 (python-requests-pkcs12-1.25-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
[12:36:12] % python3 Python 3.13.2 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from requests_pkcs12 import Pkcs12Adapter Traceback (most recent call last): File "<python-input-0>", line 1, in <module> from requests_pkcs12 import Pkcs12Adapter File "/usr/lib/python3.13/site-packages/requests_pkcs12.py", line 19, in <module> from OpenSSL.crypto import load_pkcs12 ImportError: cannot import name 'load_pkcs12' from 'OpenSSL.crypto' (unknown location) It looks like it may be necessary to grab "cryptography.hazmat.*" code instead. Reproducible: Always