Message164218
| 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:04 | christian.heimes | set | recipients:
+ christian.heimes, pitrou, vstinner, docs@python |
| 2012年06月28日 00:57:03 | christian.heimes | set | messageid: <1340845023.83.0.143337072725.issue15213@psf.upfronthosting.co.za> |
| 2012年06月28日 00:57:03 | christian.heimes | link | issue15213 messages |
| 2012年06月28日 00:57:02 | christian.heimes | create |
|