Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 25 Jan 2010 00:10:10 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTP id 34D1224306DC for ; Mon, 25 Jan 2010 00:10:10 +0100 (CET) Date: Mon, 25 Jan 2010 00:11:02 +0100 From: Arno Wagner Message-ID: <20100124231102.GB24786@tansi.org> References: <4B5C25F2.9080607@redhat.com> <20100124131101.GA19254@tansi.org> <20100124140205.GA22492@fancy-poultry.org> <20100124165627.GA29137@fancy-poultry.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100124165627.GA29137@fancy-poultry.org> Subject: Re: [dm-crypt] Entropy available for luksFormat during GNU/Linux installs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sun, Jan 24, 2010 at 05:56:27PM +0100, Heinz Diehl wrote: > On 24.01.2010, Rick Moritz wrote: > > > Once the entropy pool is exhausted, yes. Because then the randomness is no longer actual randomness, but pseudo-randomness, > > Yes, urandom is a PRGN. > > > and can be predicted if you have the random seed available. > > Thanks for pointing this out again! So I don't have to worry, nobody will > get hands on my random seed ever. The time I generated the master key to > my partitions is long gone, and so is the random seed. If your system had some decent interaction (say at least 50 keystrokes or 10 mouse moves) before you used /dev/urandom, then you are safe. The interaction can have reboots in between. This really only applise in a special sutuation where the system was not able to fill the entopy pool. An attack on the seed is only possible under similar circumstances, i.e. /dev/urandom before the keystrokes and/or mouse moves happened and basically was still in state the seed gave it. Do not worry with regular key generation! If you typed "cryptsetup" manually, that will already have made you pretty safe. This is for a special situation only. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier