All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
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:04:55 +0100	[thread overview]
Message-ID: <3769dd36559fcbe0a9b792f963b6732b2312209d.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAAnfSTvrT7_40JPPpeNM7eJouLK7e0VELGRMHgd-VjKSfa+y5Q@mail.gmail.com>

On Fri, 2020-09-25 at 10:58 +0100, 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?
> 
> 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.

BSPs probably shouldn't be changing openssh configuration individually.
I have merged the patch since I think it is good that we have a
configuration option for it though. Its more appropriate for a DISTRO
to set.

How we could make this configurable on a machine basis is an open
question...

Cheers,

Richard


  reply	other threads:[~2020-09-25 10:04 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 [this message]
2020-09-25 10:06   ` Jack Mitchell
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=3769dd36559fcbe0a9b792f963b6732b2312209d.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --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.