[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

STINNER Victor report at bugs.python.org
Fri Nov 28 23:59:29 CET 2014


STINNER Victor added the comment:

Here is a patch using getentropy() if available. I tested it on OpenBSD 5.6 (the only OS implementing this function...).

The patch prepares also random.c to support Linux getrandom(): issue #22181.

----------
keywords: +patch
Added file: http://bugs.python.org/file37311/getentropy.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22585>
_______________________________________


More information about the Python-bugs-list mailing list