I am now fighting a system where getrandom(…, 0) blocks forever, and entropy_avail is always 0, even if uptime is 431 days, and of course there's no way(?) to check if the entropy pool has been initialized. Everything is terrible.
-
-
Nothing in there about the pool being initialized AFAICT.
-
Does entropy_avail not tell you? Sorry if I'm wrong about this.
-
Nope, that's the magic /dev/random counter that can go up and back down to 0. /dev/urandom is initialized once 256 (?) bytes of entropy are fed, and until reboot.
-
Hmm, doesn't getrandom(&(char){0}, 1, GRND_NONBLOCK) tell you if it's initialized?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.