From owner-freebsd-arch@FreeBSD.ORG Wed Aug 7 18:56:59 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7AFBED3E; Wed, 7 Aug 2013 18:56:59 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 635FF20AF; Wed, 7 Aug 2013 18:56:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r77IuxxI042719; Wed, 7 Aug 2013 18:56:59 GMT (envelope-from obrien@freefall.freebsd.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r77Iuw5q042716; Wed, 7 Aug 2013 18:56:58 GMT (envelope-from obrien) Date: Wed, 7 Aug 2013 11:56:57 -0700 From: "David O'Brien" To: Fabien Thomas Subject: Re: random(4) plugin infrastructure for mulitple RNG in a modular fashion Message-ID: <20130807185657.GB79570@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Fabien Thomas , secteam@freebsd.org, freebsd-arch@freebsd.org, Arthur Mesh References: <201307292026.r6TKQRRb021717@svn.freebsd.org> <5E61D610-3322-4240-9978-CB277C7161F5@netasq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5E61D610-3322-4240-9978-CB277C7161F5@netasq.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Arthur Mesh , secteam@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 18:56:59 -0000 On Fri, Aug 02, 2013 at 10:05:57AM +0200, Fabien Thomas wrote: > We need to have very good random by default. Even selecting HW random > automatically is not very good. HW random is difficult to trust. > > Why not having a good default software random seeded by automatically > detected HW random ? After that the user can choose to bypass the > software random a feed directly by the HW random source. Please don't hijack an infrastructure change that changes nothing for the GENERIC kernel. Please start a separate thread about changing how HW random sources are handled in random(4) if you like. But that is outside the scope of this change. [Adding flexibility to how the HW sources are used will be in one of our next proposed changes.] -- -- David (obrien@FreeBSD.org)