[issue22542] Use arc4random under OpenBSD for os.urandom() if /dev/urandom is not present

STINNER Victor report at bugs.python.org
Tue Sep 6 23:12:36 EDT 2016


STINNER Victor added the comment:

I'm not sure that os.urandom() is correct on OpenBSD. I'm not sure that using getentropy() is correct. getentropy() seems to be high quality but I understand that there is a low quantity of entropy and it can block.

I don't know if arc4random() is better: it's no more RC4 on recent OpenBSD, and it has an efficient implementation.

----------
status: pending -> open

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


More information about the Python-bugs-list mailing list