Bug 2276036
| Summary: | anaconda: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Stodola <jstodola> |
| Component: | anaconda | Assignee: | anaconda-maint |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anaconda-maint, besser82, kkoukiou, ksurma, mhroncok, rvykydal, slavik.vladimir, w |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | anaconda-41.17-1.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-24 11:03:51 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: | |||
| Bug Depends On: | 2277759 | ||
| Bug Blocks: | 2244836 | ||
|
Description
Jan Stodola
2024-04-19 08:05:11 UTC
The yescript was made default for password hashing in https://fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow Related anaconda update PR: https://github.com/rhinstaller/anaconda/pull/3431 The crypt module is now deprecated, recommended replacements don't seem do provide the algorithm. Björn, do you have any recommendation how we could run yescript from python when the crypt module is removed? Thank you. We are about to package the removed crypt module as a standalone Python package. That should be useable in anaconda as a drop-in replacement. Will keep you posted. The project is currently at https://github.com/fedora-python/crypt but it is not yet ready to be published on PyPI and packaged in Fedora. I estimate it will be ready this week. Thank you! |