r/RNG • u/atoponce CPRNG: /dev/urandom • Mar 01 '22
Linux 5.18 will likely have a blocking /dev/urandom such that calls to the RNG will *always* return secure bytes after initial seeding, which takes no more than 1s after boot. After decades of confusion, all random interfaces will finally be identical.
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=2ad310f93ec3d7062bdb73f06743aa56879a0a28
61
Upvotes
2
Mar 01 '22
[removed] — view removed comment
2
2
u/bik1230 Mar 01 '22
Why would this change make any issues after the initial post-boot seeding?
1
Mar 02 '22
[removed] — view removed comment
2
u/SAI_Peregrinus Mar 02 '22
This change removes that behavior. It blocks only until it's got entropy, then never blocks again.
2
u/Neverrready Mar 04 '22
As u/atoponce has pointed out in the corresponding r/linux thread, the blocking pool was removed entirely in 5.6. Tools like haveged have been unnecessary since then.
5
u/pint Backdoor: Dual_EC_DRBG Mar 01 '22
isn't this a breaking change? there can be daemons pulling random on startup, now they will be blocked.