r/sysadmin • u/speckz • Mar 08 '14
Myths about /dev/urandom
http://www.2uo.de/myths-about-urandom/
78
Upvotes
1
u/disclosure5 Mar 09 '14
It's an incredibly valid point that, concerns about blocking on /dev/random, and FUD about the insecurity of urandom, is the reason for the continued DIY failures we keep seeing with people implementing predictable PRNGs in user space.
-7
u/LeoPanthera Ex-Sysadmin Mar 09 '14
This only applies to Linux, far from all "unix like" systems like it claims. BSD random never blocks.
11
u/Undeluded Cybersecurity/infrastructure consultant Mar 09 '14
BSD's random blocks at boot until sufficient entropy has built up, then never blocks again.
11
3
u/alfredr Mar 09 '14
There are definitely some misleading statements in this article. For instance
What djb says there is that adding numbers derived from the pool back into the pool can lower the entropy. This is not adding entropy into the pool but, rather, lowering the entropy in the pool while simultaneously increasing the entropy count.