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, neologix, pitrou, sbt, vstinner
Date 2013-08-15.12:58:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376571511.01.0.556748779882.issue18747@psf.upfronthosting.co.za>
In-reply-to
Content
Python doesn't have a builtin PRNG. We use the OS's CPRNG such as /dev/urandom or CryptGenRandom(). Both use a system wide state and are not affected by process state. OpenSSL's PRNG is different because it uses an internal state. AFAIK it only polls the system's entropy poll when the PRNG is used for the first time.

It's not only multiprocessing. What about forking webservers etc. that use HTTPS?
History
Date User Action Args
2013-08-15 12:58:31christian.heimessetrecipients: + christian.heimes, pitrou, vstinner, neologix, sbt
2013-08-15 12:58:31christian.heimessetmessageid: <1376571511.01.0.556748779882.issue18747@psf.upfronthosting.co.za>
2013-08-15 12:58:30christian.heimeslinkissue18747 messages
2013-08-15 12:58:30christian.heimescreate