From owner-svn-src-all@freebsd.org Tue Sep 3 14:07:49 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E49BEDD228; Tue, 3 Sep 2019 14:06:57 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46N8012Myzz4Q53; Tue, 3 Sep 2019 14:06:57 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1452) id 075671AE21; Tue, 3 Sep 2019 14:06:23 +0000 (UTC) X-Original-To: yuripv@localmail.freebsd.org Delivered-To: yuripv@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 871A01E829; Tue, 16 Apr 2019 15:51:21 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3567E6BAEF; Tue, 16 Apr 2019 15:51:21 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 538) id 182471E824; Tue, 16 Apr 2019 15:51:21 +0000 (UTC) Delivered-To: src-committers@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 9C7B81E81E for ; Tue, 16 Apr 2019 15:51:18 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 456F16BADF; Tue, 16 Apr 2019 15:51:18 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f45.google.com with SMTP id b6so18066666iog.0; Tue, 16 Apr 2019 08:51:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=CDAhlAC6bg+9IQ6xROzW8RwyDwhnObenLqsKLNx7A0o=; b=CkIkxMo+IR+n77YgzC47oAjwEjbzegJ4/bzgIsxWrx15tIqFowkNxgTwJ5zP8t3pWN 8zjDNHWRctncjogLbdVg8eZxygChCdbmjsaSu8m8n86ibKTrboeifd0NsbYwzD3G7ycs qIbHqPwLxPFQKrDTMTIoftIfDanmMmHSTD6YbpzL1/wjufYWfry7+PUpM1uiJmmZcIkb 1q48GDrupLd1PajXb+GEGuBTQia4u8uwHyXJrcA7RCSgWcWpBQMxP8c0im9ISS5LtjZV GM+ZCj5mAzwr7CNvQmFH5LschHp4TjDw1p2HTC4NJIdmzA+jP5UPHXtuHlo0hqWzsxgq NRvA== X-Gm-Message-State: APjAAAXUkYpjYXQ080N9xapMgyW1EcQlQ2ngTehHIbMh8cn9QVBVaU23 goeasNVIAGnB2jyiZGap9zR8D3VU X-Google-Smtp-Source: APXvYqwNF17r7+LVev4M9Het7slQFHv/hbkG0WgQk5i3p0u8eKgag9F8NeNocSyQONT4/rjORgTF6g== X-Received: by 2002:a5e:8706:: with SMTP id y6mr56655379ioj.160.1555429877047; Tue, 16 Apr 2019 08:51:17 -0700 (PDT) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com. [209.85.166.54]) by smtp.gmail.com with ESMTPSA id e11sm18586442iog.79.2019.04.16.08.51.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 08:51:16 -0700 (PDT) Received: by mail-io1-f54.google.com with SMTP id x7so18041649ioh.4; Tue, 16 Apr 2019 08:51:16 -0700 (PDT) X-Received: by 2002:a6b:8b90:: with SMTP id n138mr8526677iod.75.1555429876655; Tue, 16 Apr 2019 08:51:16 -0700 (PDT) MIME-Version: 1.0 References: <201904151840.x3FIeaEQ009242@repo.freebsd.org> <20190416150352.c604a280368ccb2992a861e8@bidouilliste.com> <310a420ee0b9e12249979d89dc4fa0d4cac5a8dc.camel@freebsd.org> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys To: Warner Losh Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Loop: FreeBSD.org Sender: owner-src-committers@freebsd.org X-Rspamd-Queue-Id: 3567E6BAEF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Status: O X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 03 Sep 2019 14:07:49 -0000 X-Original-Date: Tue, 16 Apr 2019 08:51:05 -0700 X-List-Received-Date: Tue, 03 Sep 2019 14:07:49 -0000 Hi Warner, On Tue, Apr 16, 2019 at 8:47 AM Warner Losh wrote: > On Tue, Apr 16, 2019 at 9:16 AM Ian Lepore wrote: >> Isn't a file full of data which is distributed in identical form to >> everyone the exact opposite of entropy? Ian has the right idea. > It's just to bootstrap entropy for installs. The CI stuff doesn't matter = if that's the same since the CI images aren't exposed to the internet in an= y way that would make it matter. The normal install would have the same see= ds of entropy, but diverge from there fairly quickly. The stuff that's used= early in the install is the don't care sort of things that won't matter in= the installer (which then creates it's own entropy that's different for ev= ery install). I agree that it would be safe, although potentially misleading and potentially dangerous, to create a fake entropy file for the installer images. We need to be careful *not* to embed such files in .img files which are installed by 'dd' directly to a disk or flash or VM, for example. It would be catastrophic to distribute the same entropy file to all FreeBSD AWS images. Best, Conrad