Skip to content

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

Merged
gpshead merged 1 commit into
python:3.13from
miss-islington:backport-a16586c-3.13
Apr 20, 2025
Merged

[3.13] gh-129327: revise hashlib documentation to account for FIPS removing sha1 (GH-132729)#132740
gpshead merged 1 commit into
python:3.13from
miss-islington:backport-a16586c-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
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
@miss-islington miss-islington deleted the backport-a16586c-3.13 branch January 2, 2026 18:05
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