> Isn't this desirable if you don't have an hwrng? Perhaps what's needed then is a 'hwrng' in MACHINE_FEATURES?
> Can’t rng-tools figure out the right sources at run time? rng-tools enables jitter by default if it's built in, even if hwrng is available. Maybe it's faster to do this on more powerful machines but it's disruptive to run the cpu at max for so long on my pi's. We could also disable it with the /etc/defaults file with `-x jitter`. On Mon, May 2, 2022 at 11:47 PM Alexander Kanavin <[email protected]> wrote: > > Yes, I wonder why this needs to be disabled altogether at build time. Can’t > rng-tools figure out the right sources at run time? > > Alex > > On Mon 2. May 2022 at 23.33, William A. Kennington III via > lists.openembedded.org <[email protected]> wrote: >> >> Isn't this desirable if you don't have an hwrng? We want to generate >> entropy so we can perform cryptographic operations by default if we >> bring in rng-tools. >> >> On Mon, May 2, 2022 at 2:10 PM Wes Malone <[email protected]> wrote: >> > >> > After boot rngd maxes out the processor initializing JITTER entropy for >> > some minutes. Here we disable libjitterentropy in favor of only using >> > the hardware random source via config. >> > >> > Signed-off-by: Wes Malone <[email protected]> >> > --- >> > meta/recipes-support/rng-tools/rng-tools_6.15.bb | 1 - >> > 1 file changed, 1 deletion(-) >> > >> > diff --git a/meta/recipes-support/rng-tools/rng-tools_6.15.bb >> > b/meta/recipes-support/rng-tools/rng-tools_6.15.bb >> > index 0696351903..4eed060960 100644 >> > --- a/meta/recipes-support/rng-tools/rng-tools_6.15.bb >> > +++ b/meta/recipes-support/rng-tools/rng-tools_6.15.bb >> > @@ -21,7 +21,6 @@ inherit autotools update-rc.d systemd pkgconfig >> > >> > EXTRA_OECONF = "--without-rtlsdr" >> > >> > -PACKAGECONFIG ??= "libjitterentropy" >> > PACKAGECONFIG:libc-musl = "libargp libjitterentropy" >> > >> > PACKAGECONFIG[libargp] = >> > "--with-libargp,--without-libargp,argp-standalone," >> > -- >> > 2.36.0 >> > >> > >> > >> > >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165204): https://lists.openembedded.org/g/openembedded-core/message/165204 Mute This Topic: https://lists.openembedded.org/mt/90845997/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
