You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Randomness in UUID generation is insufficient. #9881
UUIDs generated by randomUUID() use the random numbers from std.random, granted with an unpredictableSeed, but from a fundamentally insecure and low entropy source.
As per the latest UUID RFC, RFC-8562, Section 8 this should at least have the option of using an actual quality entropy source.
https://www.rfc-editor.org/rfc/rfc9562.html in section 8 says:
"Instead CSPRNG data SHOULD be selected from a source with sufficient entropy to ensure guaranteed uniqueness among UUID generation."
and no cryptographic streng RNG to use with it.
https://breakpoint.purrfect.fr/article/cracking_phobos_uuid.html
Activity
dlangBugzillaToGithub commentedon Nov 25, 2024
dfj1esp02 commented on 2024-11-25T09:49:06Z
dlangBugzillaToGithub commentedon Nov 26, 2024
jdougan commented on 2024-11-26T04:32:30Z
and no cryptographic streng RNG to use with it. https://breakpoint.purrfect.fr/article/cracking_phobos_uuid.htmlImprove the situation with dlang#9881 - Use `unpredictableSeed` in `r…
Improve the situation with dlang#9881 - Use `unpredictableSeed` in `r…
Improve the situation with #9881 - Use `unpredictableSeed` in `random…
trikko commentedon Apr 30, 2025
Adding here a link to my onw implementation of UUIDv4 and v7, if useful.
https://gist.github.com/trikko/31d12ecafc76c7eba02edd81e5d1e8e8
denizzzka commentedon Apr 30, 2025
It would be great to be able to manipulate with UUIDv7 with Phobos
0xEAB commentedon May 1, 2025
#10748 should allow us to resolve the randomness issue.
Regarding support for UUIDv7, it might be worth opening a separate issue for that enhancement.
Improve the situation with dlang#9881 - Use `unpredictableSeed` in `r…
denizzzka commentedon Sep 14, 2025
UUIDv7 randomness check failure: #10865
This makes UUIDv7 completely unusable