RFC: initialize /dev/urandom, is it necessary? Can we do it in a better way?

Roberto A. Foglietta roberto.foglietta at gmail.com
Sat Sep 23 22:30:03 UTC 2023


On Sat, 23 Sept 2023 at 16:54, Roberto A. Foglietta
<roberto.foglietta at gmail.com> wrote:
>
> On Sat, 23 Sept 2023 at 16:30, Steffen Nurpmeso <steffen at sdaoden.eu> wrote:
> >
> > Roberto A. Foglietta wrote in
> >  <CAJGKYO64T0R+zyym1Dbj2e7-ZUfaj8-6wD3SuTaZY8EKk2U0hg at mail.gmail.com>:
> >  |On Thu, 21 Sept 2023 at 20:05, Steffen Nurpmeso <steffen at sdaoden.eu> wrote:
> >  |>|IMHO, I vote for /sys rather than /proc/debug. The capability to
> >
> > There already _is_ a debugfs interface?
>
> Nothing which is interesting, AFAIK
>

However, I think that on the new hardware the entropy creation is not
anymore an issue

https://www.kernel.org/doc/html/latest/admin-guide/hw_random.html

In both my laptop and smartphone on which I develop, the /dev/hwrng exists.

Well, not totally solve the problem:

http://main.lv/writeup/kernel_dev_hwrng.md

<<There is some articles about HW random generators could be
backdoored and could generate predictable values that why as we cant
verify HW design as its not open sourced we choose not to trust it. In
general if you trust in HW random generators you can use them, but for
security you better not trust them as there is no way to verify on
your side if there is no backdoors, so use default secure linux
implementation.>>

Best regards, R-


More information about the busybox mailing list