Commit Graph

6 Commits

Author SHA1 Message Date
Benjamin Peterson 57057a6624 PEP 466: backport persistent urandom fd (closes #21305)
Patch from Alex Gaynor.
2014-08-28 12:30:00 -04:00
Georg Brandl c0edadee84 Closes #15213: update comment for _PyOS_URandom 2013-10-06 18:43:19 +02:00
Antoine Pitrou f48a67b317 Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing. 2013-08-16 20:44:38 +02:00
Antoine Pitrou e299cae230 Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Benjamin Peterson 26da920001 ensure no one tries to hash things before the random seed is found 2012-02-21 11:08:50 -05:00
Barry Warsaw 1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00