Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751867AbbFXIqB (ORCPT ); Wed, 24 Jun 2015 04:46:01 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44551 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbbFXIpw (ORCPT ); Wed, 24 Jun 2015 04:45:52 -0400 Date: Wed, 24 Jun 2015 10:45:50 +0200 From: Pavel Machek To: Stephan Mueller Cc: Ted Tso , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] random: add random_initialized command line param Message-ID: <20150624084550.GB22179@amd> References: <4206400.x843ypJTc1@tachyon.chronox.de> <20150623204411.GB30826@amd> <3810058.lSGD55uyzM@myon.chronox.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3810058.lSGD55uyzM@myon.chronox.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1539 Lines: 34 On Tue 2015-06-23 23:47:33, Stephan Mueller wrote: > Am Dienstag, 23. Juni 2015, 22:44:11 schrieb Pavel Machek: > > Hi Pavel, > > > On Mon 2015-05-18 18:25:25, Stephan Mueller wrote: > > > Make the threshold at which the output entropy pools are considered to > > > be initialized configurable via a kernel command line option. The > > > current integer value of 128 bits is a good default value. However, some > > > user groups may want to use different values. For example, the SOGIS > > > group now requires 125 bits at least (BSI, the participant at that group > > > used to require 100 bits). NIST moved from 80 bits to 112 bits starting > > > with 2014. > > > > > > It is therefore to be expected that in the future, this threshold may > > > increase for different user groups. > > > > Speaking of random and kernel parameters... should we add random= > digits> parameter to pass entropy from bootloader to the kernel? > > Everybody can see that string. How do you think that way of providing entropy > is protected? Only local users, not remote attackers. And yes, we should probably "censor" the command line for this use. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/