]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-135244: generate UUID random Node ID with a CSPRNG as per RFC 9562, §6...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 5 Aug 2025 09:01:07 +0000 (11:01 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Aug 2025 09:01:07 +0000 (09:01 +0000)
commitc489934b26fbfe22306eabc231ec78f2d2449cbc
tree85e5f6e0d5198e61e622ec77f859be701050a2ea
parent25c221f5e734b108e10ddb20e4d1d429ee03a2d2
[3.13] gh-135244: generate UUID random Node ID with a CSPRNG as per RFC 9562, §6.10.3 (GH-135226) (#137408)

* [3.13] gh-135244: generate UUID random Node ID with a CSPRNG as per RFC 9562, §6.10.3 (GH-135226)

This aligns with the recommendations of RFC 9562, Section 6.10, paragraph 3 [1].

[1]: https://www.rfc-editor.org/rfc/rfc9562.html#section-6.10-3.

---------
(cherry picked from commit 1cb716387255a7bdab5b580bcf8ac1b6fa32cc41)

Co-authored-by: LamentXU <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/uuid.py
Misc/NEWS.d/next/Library/2025-06-08-10-22-22.gh-issue-135244.Y2SOTJ.rst [new file with mode: 0644]