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 neologix
Recipients Arfrever, alex, dstufft, ezio.melotti, lemburg, mark.dickinson, neologix, pitrou, rhettinger, tim.peters, vstinner
Date 2014-05-13.09:46:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM39Si8K2gN9aBcTOxiTniF9_K5nUEr=bxQwtUTZ9Qw+gQ@mail.gmail.com>
In-reply-to <1399971853.52.0.130318213066.issue21470@psf.upfronthosting.co.za>
Content
> According to man rand(3ssl), OpenSSL uses an internal state of 1023 bytes for the RNG.
>
> You only see it reading 32 bytes from /dev/urandom in the strace because it has already loaded 1024 bytes from the RNG state file ~/.rng before adding another 32 bytes:

Remove this .rnd file, and you'll see on the next run that it still
only reads 32 bytes.
Same holds for openssh.

I'm not using this as an argument against increasing the seed size -
Tim and Raymond convinced me - I'm just curious.
History
Date User Action Args
2014-05-13 09:46:00neologixsetrecipients: + neologix, lemburg, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, ezio.melotti, Arfrever, alex, dstufft
2014-05-13 09:46:00neologixlinkissue21470 messages
2014-05-13 09:46:00neologixcreate