[Info-vax] SSH/SCP sessions hanging for 7 minutes while reading from "/dev/random"

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Thu Sep 30 21:03:20 EDT 2021


On 2021-10-01 00:53:39 +0000, Lawrence D’Oliveiro said:

> On Friday, October 1, 2021 at 5:26:04 AM UTC+13, Stephen Hoffman wrote:
>> Within recent Linux kernel versions, /dev/random and /dev/urandom are 
>> the same underneath, neither will block post-initialization, and both 
>> will produce the same CPRNG values.
> 
> Not a chance.

https://lore.kernel.org/lkml/20200131204924.GA455123@mit.edu/

"Change /dev/random so that it uses the CRNG and only blocking if the 
CRNG hasn't initialized, instead of the old blocking pool.  Also clean 
up archrandom.h, and some other miscellaneous cleanups."




-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list