We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We currently assume that concurrent reads of /dev/urandom can return the same bytes, which was true years ago but may not longer be true today.
As a result, we synchronize reads to /dev/urandom (within the same process): https://github.com/zeroc-ice/ice/blob/v3.7.1/cpp/src/IceUtil/Random.cpp#L31
and also replace 15 random bits in UUIDs by our PID, resulting in only 122 - 15 = 107 random bits, see: https://github.com/zeroc-ice/ice/blob/v3.7.1/cpp/src/IceUtil/UUID.cpp#L131
We could possibly use instead a C++ Random Number Engine: http://en.cppreference.com/w/cpp/numeric/random
ICE-8843
The text was updated successfully, but these errors were encountered:
We switched to std::random in #1715
Sorry, something went wrong.
No branches or pull requests
We currently assume that concurrent reads of /dev/urandom can return the same bytes, which was true years ago but may not longer be true today.
As a result, we synchronize reads to /dev/urandom (within the same process):
https://github.com/zeroc-ice/ice/blob/v3.7.1/cpp/src/IceUtil/Random.cpp#L31
and also replace 15 random bits in UUIDs by our PID, resulting in only 122 - 15 = 107 random bits, see:
https://github.com/zeroc-ice/ice/blob/v3.7.1/cpp/src/IceUtil/UUID.cpp#L131
We could possibly use instead a C++ Random Number Engine: http://en.cppreference.com/w/cpp/numeric/random
ICE-8843
The text was updated successfully, but these errors were encountered: