Not that much of a fix. It's mostly down to pedantry on my behalf.
My understanding is that:
/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 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.
Ok,I've already flagged my disgust with this, but why does media insist on using a picture of an obscene keyboard layout no true ~~Scotsman~~ European would ever use?
Pearl clutching intensifies