3 ms·
I believe it blocks on some BSDs during early boot, when not enough entropy has been collected, maybe OpenBSD?
by heinrich5991 10y ago
I believe it blocks on some BSDs during early boot, when not enough entropy has been collected, maybe OpenBSD?
- sillysaurus3 10y agoThanks for the correction! I didn't know that was possible. It makes sense; it's the only way to ensure urandom is always safe to use. Does anyone know how other operating systems behave in that situation?
- ben_bai 10y agoNot on OpenBSD. The bootloader supplies entropy, so that basically as soon as the kernel starts booting, random numbers are available. Edit: /dev/random on OpenBSD also does not block.