[issue13703] Hash collision security issue

STINNER Victor report at bugs.python.org
Tue Jan 17 02:53:51 CET 2012

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Patch version 7:
 - Make PyOS_URandom() private (renamed to _PyOS_URandom)
 - os.urandom() releases the GIL for I/O operation for its implementation reading /dev/urandom
 - move _Py_unicode_hash_secret_t documentation into unicode_hash()

I moved also fixes for tests in a separated patch: random_fix-tests.patch.

Added file: http://bugs.python.org/file24253/random-7.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list