Thread on debian-devel "Handling of entropy during boot".
"Rasberry PI's are extremely problematic devices from a security perspective. They use a coarse-grained clock, so it's very hard to
get good entropy out of timing events, and very the hardware that they have on them is such that there aren't many events that we can use to generate entropy in the first place." - Theodore Y. Ts'o
Given popularity of RPi in bitcoin (nodes), this is concerning to realize.
Make sure to check out the whole post (and/or thread)
That was in Dec 2018 and thread continues in Jan 2019 here:
There is a bcm2708-rng.ko kernel module you can load and if you use rng-tools or rng-tools5 package*, that'll greatly improve the entropy pool.
I don't know if that would be good entropy (or whether there is such a thing as good/bad entropy) as that is outside my area of expertise.
*) in Debian Stable. For testing/Sid it's rng-tools-debian/rng-tools5
Never expected that there would be so much to read/learn about randomness 😮
In the previously mentioned thread there was also a link to https://daniel-lange.com/archives/152-Openssh-taking-minutes-to-become-available,-booting-takes-half-an-hour-...-because-your-server-waits-for-a-few-bytes-of-randomness.html which in turn led me to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912087#182
"Starting with the 3.17 kernel, the kernel will automatically pull from
hardware random number generators without needing to install a user space daemon, such as rng-tools."
But it comes with a caveat which I'm not fully getting (follow the link, as I don't have enough chars left here)
What I gathered from Ts'o's remarks is that basically every user has to decide for themselves which devices to trust and "X.rng_quality=Y" kernel parameter seems to indicate you also need to know how good a HWRNG is.
Theodore's reasoning is quite logical, but I'm guessing unfeasible for 99% of 'normal' people.
I happen to know of it, but I can't say that I (really) understand it.
In general terms yes, but not details and they seem to matter quite a bit.
My issue/confusion is that I have no clue what a/the proper value for rng_quality would be. Or even what (devices) can be qualified as high quality.
F.e. for the HWRNG in the RPi, I wouldn't be able to answer either question.
I would have the same issue with any other RNG and I'm guessing I'm not the only one.
However well reasoned Ts'o's argument is, I fear it's not really workable (unless you're well versed in cryptography).
(instance image by мøтħer ¢røω)