Skip to content

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

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 2 commits into from
Aug 5, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Aug 5, 2025

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


(cherry picked from commit 1cb7163)

… per RFC 9562, §6.10.3 (pythonGH-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 1cb7163)

Co-authored-by: LamentXU <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@picnixz
Copy link
Member Author

picnixz commented Aug 5, 2025

Since UUIDv8 is 3.14+, we don't need to backport #135433.

@picnixz picnixz marked this pull request as ready for review August 5, 2025 08:38
@picnixz picnixz enabled auto-merge (squash) August 5, 2025 08:40
@picnixz picnixz merged commit c489934 into python:3.13 Aug 5, 2025
37 checks passed
@picnixz picnixz deleted the backport-1cb7163-3.13 branch August 5, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants