-
-
Notifications
You must be signed in to change notification settings - Fork 903
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
Remove insecure rng #354
Remove insecure rng #354
Conversation
8f71d27
to
b6af549
Compare
b6af549
to
e983a0d
Compare
e87e36b
to
1ff90ce
Compare
@broofa do you think that, given the now-wide-spread support for CSRNGs in all platforms, we still need the wiki page over at https://github.com/uuidjs/uuid/wiki#no-secure-rng-error ? |
7fe0e70
to
b41721f
Compare
Go ahead and kill that wiki page. |
@broofa did you close this PR on purpose? |
b41721f
to
32e4e86
Compare
I did not. Sorry about that! |
README_js.md
Outdated
### Version 1 (Timestamp + Node) | ||
|
||
⚠️⚠️⚠️ **Please make sure to check whether you really need the timestamp properties of Version 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to have a link of some sort that provides information to help with readers' v1 vs v4 decision making.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a link to the standard lib proposal. I think that covers the reasoning.
Also add a reminder that v1 UUIDs may very often not be the ideal choice. This relates to the research from https://github.com/tc39/proposal-uuid/blob/master/analysis/README.md
BREAKING CHANGE: Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function. Fixes #173.
32e4e86
to
3a5842b
Compare
Closes #294 and fixes #173