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 gvanrossum
Recipients gvanrossum, jbeck, vstinner
Date 2015-09-08.00:39:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441672767.33.0.946946518685.issue25003@psf.upfronthosting.co.za>
In-reply-to
Content
I got several long private emails from Theo De Raadt about this issue. I think the gist of it all is that most likely (a) the app most likely shouldn't be calling os.urandom() that often, and (b) Solaris getentropy() is apparently stunningly slow. Theo also seems to imply that "entropy" as a concept is debunked, and OpenBSD getentropy() and getrandom() are essentially the same thing except that the former's interface is faster (because it doesn't use a FD). So it is also possible that using getentropy() instead of getrandom() was unnecessary; possibly the speed difference would be noticeable via Python. Perhaps the getentropy() check can explicitly rule out Solaris (either at the autoconf level or in the random.c source code) if you prefer to keep the getentropy() call on OpenBSD.
History
Date User Action Args
2015-09-08 00:39:27gvanrossumsetrecipients: + gvanrossum, vstinner, jbeck
2015-09-08 00:39:27gvanrossumsetmessageid: <1441672767.33.0.946946518685.issue25003@psf.upfronthosting.co.za>
2015-09-08 00:39:27gvanrossumlinkissue25003 messages
2015-09-08 00:39:24gvanrossumcreate