All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jack Mitchell" <ml@embed.me.uk>
To: Ross Burton <ross@burtonini.com>,
	Otavio Salvador <otavio.salvador@gmail.com>
Cc: OpenEmbedded Core Mailing List
	<openembedded-core@lists.openembedded.org>,
	Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [OE-core] [PATCH] openssh: Allow enable/disable of rng-tools recommendation on sshd
Date: Fri, 25 Sep 2020 11:06:39 +0100	[thread overview]
Message-ID: <dab01611-1e79-0942-69bd-93f742168625@embed.me.uk> (raw)
In-Reply-To: <CAAnfSTvrT7_40JPPpeNM7eJouLK7e0VELGRMHgd-VjKSfa+y5Q@mail.gmail.com>

On 25/09/2020 10:58, Ross Burton wrote:
> On Thu, 24 Sep 2020 at 20:58, Otavio Salvador <otavio.salvador@gmail.com> wrote:
>> We are adding a new PACKAGECONFIG option ('rng-tools') to control if we
>> wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are
>> enabling it by default so there is no behavior change.
> 
> Is this fundamentally because many targets now have hardware RNGs that
> the kernel is using, and so rng-tools serves no purpose?
> 
> This was originally added with data from iMX6 (oe-core
> 9b01375236e19e3366c58877c4154d7c71632984) and I'm curious if this
> followup is related to other improvements that have been made to iMX6
> since. Is there a better user space tool, or is the kernel using the
> hardware RNG out of the box?
> 

While I haven't had the time to explore the issue fully on my boards,
the issue I have specifically is that when the board is powered for a
short amount of time, systemd gets stuck on shutting down as rngd is
blocking for (I assume) a certain amount of entropy for it to enter the
ready state. Whether this is down to the specific hardware rng support
on my board, or possibly the lack of it being enabled I haven't dug into
yet.

> I ask because I'm strongly tempted to argue that we should be assuming
> that a RNG is available and let BSPs turn this on if required.
> 
> Ross
> 
> 
> 
> 
> 

  parent reply	other threads:[~2020-09-25 10:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 19:58 [PATCH] openssh: Allow enable/disable of rng-tools recommendation on sshd Otavio Salvador
2020-09-25  8:51 ` [OE-core] " Jack Mitchell
2020-09-25  9:50   ` Ross Burton
2020-09-25  9:58 ` Ross Burton
2020-09-25 10:04   ` Richard Purdie
2020-09-25 10:06   ` Jack Mitchell [this message]
2020-09-25 12:09   ` Otavio Salvador
2020-09-27  5:23   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dab01611-1e79-0942-69bd-93f742168625@embed.me.uk \
    --to=ml@embed.me.uk \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio.salvador@gmail.com \
    --cc=otavio@ossystems.com.br \
    --cc=ross@burtonini.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.