Skip to content

[3.13] gh-129327: revise hashlib documentation to account for FIPS removing sha1 (GH-132729) #132740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Apr 20, 2025

More generally, the current documentation is a bit scattered, talking
about what terms are "equal" despite those terms not being very
interesting and given the term "secure hash", probably wrong (because
md5 and sha1 are not secure anymore).

Let's talk about cryptographically secure instead, and note that two of
them aren't. And then we can also link to the source for NIST going
through the removal process for SHA1.

  • Add Gregors Suggestion

  • Clean up


(cherry picked from commit a16586c)

Co-authored-by: Stan Ulbrych 89152624+StanFromIreland@users.noreply.github.com
Co-authored-by: Eli Schwartz eschwartz@gentoo.org


📚 Documentation preview 📚: https://cpython-previews--132740.org.readthedocs.build/

…oving sha1 (pythonGH-132729)

* pythongh-129327: revise hashlib documentation to account for FIPS removing sha1

More generally, the current documentation is a bit scattered, talking
about what terms are "equal" despite those terms not being very
interesting and given the term "secure hash", probably wrong (because
md5 and sha1 are not secure anymore).

Let's talk about cryptographically secure instead, and note that two of
them aren't. And then we can also link to the source for NIST going
through the removal process for SHA1.

* Add Gregors Suggestion

* Clean up

---------
(cherry picked from commit a16586c)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Eli Schwartz <eschwartz@gentoo.org>
@gpshead gpshead enabled auto-merge (squash) April 20, 2025 01:07
@gpshead gpshead merged commit 5ab628f into python:3.13 Apr 20, 2025
30 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants