4 ms·
Hmm, isn't the solution to do something proactively to increase entropy when getrandom() is waiting for it? (especially for the first bytes) Like inserting arb
by devit 7y ago
Hmm, isn't the solution to do something proactively to increase entropy when getrandom() is waiting for it? (especially for the first bytes)
Like inserting arbitrary reads of any available SSD or hard disk that has already been spun up, or something better if possible.
And in newer userspace, just properly save and restore a seed.
- JoshTriplett 7y agoWhat does "arbitrary" mean if you don't have any randomness? Response times of devices are getting increasingly predictable.
- ryacko 7y agoThe timer entropy daemon has been around for a while. At minimum one has access to a hardware random number with an output of 256 bits per second by waiting for an interrupt from a timer.