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 dstufft
Recipients alex, christian.heimes, dstufft, hynek, jcea, neologix, pitrou, python-dev, tarek, vstinner
Date 2013-08-17.08:17:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
haypo: It's been suggested by a number of security professionals that using the OpenSSL random (or really any random) instead of urandom is likely to be a smarter idea. The likelyhood that urandom is broken is far less than any other source of random. This can be seen in the recent issues on the Android platform. This is not to say that there's a reason to believe that OpenSSL is broken currently, but that the chances are higher for it to be than /dev/urandom. An example of when this happened was

There's no reason to believe that OpenSSL is wrong right now, but the chances of OpenSSL being wrong are greater than the chances of /dev/urandom being

There's been a few threads on twitter about it in light of the Android SecureRandom issue (don't need to read these, just here for reference):

I don't think it actually matters if os.urandom or random.SystemRandom is the preferred interface that keeps the FD open but I do believe there should be one implementation that will use the OS source of random and maintain a persistent FD.
Date User Action Args
2013-08-17 08:17:12dstufftsetrecipients: + dstufft, jcea, pitrou, vstinner, christian.heimes, tarek, alex, neologix, python-dev, hynek
2013-08-17 08:17:12dstufftsetmessageid: <>
2013-08-17 08:17:12dstufftlinkissue18756 messages
2013-08-17 08:17:12dstufftcreate