Antoine Pitrou added the comment: > When the OpenSSL's CPRNG is already initialized before 3) than all child > processes created by 3) will have almost the same PRNG state. According > to http://bugs.ruby-lang.org/issues/4579 the PRNG will return the same > value when PID numbers are recycled.
Thanks. Here is some discussion of the reseeding strategy: http://marc.info/?l=openssl-dev&m=130432419329454&w=2 More precisely, instead of reseeding in the child, you can simply perturb the PRNG with a constant in the parent, to make sure the same PRNG state doesn't get re-used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18747> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com