[issue15206] uuid module falls back to unsuitable RNG

Christian Heimes report at bugs.python.org
Thu Jun 28 00:44:19 CEST 2012


Christian Heimes <lists at cheimes.de> added the comment:

Not, not by definition. However an uuid generator shall geenerate uuid in a way that make collisions highly improbable. IMHO this verdict implies that an uuid generator should use the cryptographic RNG if available.

The behavior after fork() is clearly a bug as it will generate lots of collisions on systems that fall back to random.

----------

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


More information about the Python-bugs-list mailing list