All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Otavio Salvador" <otavio.salvador@ossystems.com.br>
To: Ross Burton <ross@burtonini.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 09:09:50 -0300	[thread overview]
Message-ID: <CAP9ODKrN1AyavUxUqEW0HaGGMVZ1SygLVy88zrFFEKUScELoGg@mail.gmail.com> (raw)
In-Reply-To: <CAAnfSTvrT7_40JPPpeNM7eJouLK7e0VELGRMHgd-VjKSfa+y5Q@mail.gmail.com>

Em sex., 25 de set. de 2020 às 06:58, Ross Burton <ross@burtonini.com> escreveu:
> 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?

Exactly, we can use it from the kernel and most of time it is of no-use.

> 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.

I added this enabled by default so we can backport it to Dunfell (as
it won't change the current behavior). For master, we can turn it off
and let distro to enable it if need.

I'd like to get this one merged first (and send the backport request)
and then I can send a patch to disable it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

  parent reply	other threads:[~2020-09-25 12:10 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
2020-09-25 12:09   ` Otavio Salvador [this message]
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=CAP9ODKrN1AyavUxUqEW0HaGGMVZ1SygLVy88zrFFEKUScELoGg@mail.gmail.com \
    --to=otavio.salvador@ossystems.com.br \
    --cc=openembedded-core@lists.openembedded.org \
    --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.