From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sat, 19 Feb 2011 20:11:18 +0100 (CET) Received: by pwi3 with SMTP id 3so63458pwi.37 for ; Sat, 19 Feb 2011 11:11:16 -0800 (PST) Message-ID: <4D6015D0.1090605@gmail.com> Date: Sat, 19 Feb 2011 12:11:12 -0700 From: Nicolas Bock MIME-Version: 1.0 References: <20110218173302.GA9234@tansi.org> <20110218200718.GA12395@tansi.org> <4D5FF3CC.6010804@gmail.com> <4D5FF970.3090500@redhat.com> <20110219181744.GD4287@resivo.wgnet.de> In-Reply-To: <20110219181744.GD4287@resivo.wgnet.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] LUKS and LVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/19/11 11:17, Jonas Meurer wrote: > Hey Milan, > > On 19/02/2011 Milan Broz wrote: >> On 02/19/2011 05:46 PM, Nicolas Bock wrote: >>> Why use random data to overwrite? Shouldn't /dev/zero be enough since >>> the crypto should produce good randomness on disk? >> >> Then you can distinguish between used blocks ("random noise") and >> unused blocks (remains zeroed). >> >> So filling with zero guarantees that old data are wiped, but also >> leaks info which blocks were overwritten later. > > If I got Arno right, he, first setups a plain dm-crypt device for the > to-be-encrypted partition, and then fills the encrypted device with > random data. In this case it should be enough to fill the encrypted > device with zeros, shouldn't it? That's how I understood Arno's email too. The zeros will be written as "random noise" to disk since they go through the cipher first. I could see though that the extra paranoid would use a random source :) nick -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1gFdAACgkQf15tZKyRylLAPwCfW0bYHV6GpOnkx4LmYm1Y4iw2 LokAn0UbYJi/uox26XTD8+sXaq6C8hG7 =yEjW -----END PGP SIGNATURE-----