[issue18747] Re-seed OpenSSL's PRNG after fork

Christian Heimes report at bugs.python.org
Sun Aug 18 15:22:02 CEST 2013


Christian Heimes added the comment:

The lastest patch mixes seconds into the time field of seed.

Python 3.3+ support only NT and POSIX threads. 2.7 and 3.2 have GNU pth and other threading API but I neither have a system to test other threading libs nor the motivation to port my patch to an ancient threading library.

It's not just RAND_bytes(). OpenSSL's PRNG is also used by OpenSSL internally, e.g. as entropy source for SSL/TLS handshakes. How many function do you want to patch?

----------
Added file: http://bugs.python.org/file31356/openssl_prng_atfork4.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18747>
_______________________________________


More information about the Python-bugs-list mailing list