I'm referencing Jason A. Donenfeld's Random number generator enhancements for Linux 5.17 and 5.18 available here. In summary:-
significant outward-facing change is that /dev/random and /dev/urandom are now exactly the same thing, with no differences between them at all...
So entropy is collected at boot, ChaCha's state is seeded and off we go ad infinitum. My /proc/sys/kernel/random/entropy_avail
always reads 256 bits as might be expected of a PRNG.
The question is thus: are USB keys (e.g. TrueRNG3) providing any benefit with regard to the state of the Linux RNG? Are they even used at all? The manufacturer's site is well out of date. That particular hardware appears as /dev/TrueRNG
and I can read from it manually, but does the new /dev/urandom
?
I can't tell whether or not it may be used for re-seeding. Looking at military key generators suggests that they bypass the OS entirely and read directly from their hardware, introducing further doubt over how \dev\urandom
seeds.
I've written to Jason regarding this matter but as yet had no reply.
/dev/random
so I also presume that this answer is still viable (but yeah, try!) $\endgroup$