[issue13703] Hash collision security issue
Gregory P. Smith
report at bugs.python.org
Tue Feb 21 07:40:31 CET 2012
Gregory P. Smith <greg at krypto.org> added the comment:
Question: Should sys.flags.hash_randomization be True (1) when PYTHONHASHSEED=0? It is now.
Saying yes "working as intended" is fine by me.
sys.flags.hash_randomization seems to simply indicate that doing something with the hash seed was explicitly specified as opposed to defaulting to off, not that the hash seed was actually chosen randomly.
What this implies for 3.3 after we make hash randomization default to on is that sys.flags.hash_randomization will always be 1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13703>
_______________________________________
More information about the Python-bugs-list
mailing list