This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, docs@python, pitrou, vstinner
Date 2012-06-28.00:57:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340845023.83.0.143337072725.issue15213@psf.upfronthosting.co.za>
In-reply-to
Content
The comment for Python/random.c:_PyOS_URandom() states

> Fill buffer with size pseudo-random bytes, not suitable for cryptographic use, from the operating random number generator (RNG).

which is not correct as all paths use a RNG that is suitable for most cryptographic purposes except long living private keys for asymmetric encryption.

Also the function isn't documented although it's an official API function and plays a vital role on the new hash randomization.
History
Date User Action Args
2012-06-28 00:57:04christian.heimessetrecipients: + christian.heimes, pitrou, vstinner, docs@python
2012-06-28 00:57:03christian.heimessetmessageid: <1340845023.83.0.143337072725.issue15213@psf.upfronthosting.co.za>
2012-06-28 00:57:03christian.heimeslinkissue15213 messages
2012-06-28 00:57:02christian.heimescreate