Message195252
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? |
|
Date |
User |
Action |
Args |
2013-08-15 12:58:31 | christian.heimes | set | recipients:
+ christian.heimes, pitrou, vstinner, neologix, sbt |
2013-08-15 12:58:31 | christian.heimes | set | messageid: <1376571511.01.0.556748779882.issue18747@psf.upfronthosting.co.za> |
2013-08-15 12:58:30 | christian.heimes | link | issue18747 messages |
2013-08-15 12:58:30 | christian.heimes | create | |
|