[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()
STINNER Victor
report at bugs.python.org
Tue Jun 7 07:34:35 EDT 2016
STINNER Victor added the comment:
Stefan Krah: "I think this is a very good idea. Just a flag for "cryptographically secure" or not."
If you consider it is worth it, please open a new issue.
I dislike the idea of a boolean. The quality of each system RNG has been discussed long enough to be able to say that "cryptographically secure" term depends a lot of your use case, and experts disagree between themself :-) You might even have to consider the version of the Linux kernel to decide if /dev/urandom is good enough or not for you use case. The implementation changed last years.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26839>
_______________________________________
More information about the Python-bugs-list
mailing list