Comment on Researchers claim spoof-proof random number generator breakthrough
neidu3@sh.itjust.works 6 days agoNot that much of a fix. It’s mostly down to pedantry on my back half.
/dev/random is blocking unless sufficient entropy is available.
/dev/urandom is non-blocking and will supply output anyway.
So for security-critical stuff that might run in a low entropy state (such as during the NG boot), you probably want to use /dev/random. But in 99% of the cases /dev/urandom is fine, and it won’t halt your program.