Return-Path: Received: from mail01.freesources.org (mail01.freesources.org [80.237.252.149]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sat, 19 Feb 2011 19:37:04 +0100 (CET) Received: from dslb-088-068-087-070.pools.arcor-ip.net ([88.68.87.70] helo=resivo.wgnet.de) by mail01.freesources.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PqrNI-0002JI-SC for dm-crypt@saout.de; Sat, 19 Feb 2011 18:17:46 +0000 Received: from resivo by resivo.wgnet.de with local (Exim 4.72) (envelope-from ) id 1PqrNI-0001U7-EU for dm-crypt@saout.de; Sat, 19 Feb 2011 19:17:44 +0100 Date: Sat, 19 Feb 2011 19:17:44 +0100 From: Jonas Meurer Message-ID: <20110219181744.GD4287@resivo.wgnet.de> References: <20110218173302.GA9234@tansi.org> <20110218200718.GA12395@tansi.org> <4D5FF3CC.6010804@gmail.com> <4D5FF970.3090500@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/3yNEOqWowh/8j+e" Content-Disposition: inline In-Reply-To: <4D5FF970.3090500@redhat.com> Subject: Re: [dm-crypt] LUKS and LVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --/3yNEOqWowh/8j+e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > Then you can distinguish between used blocks ("random noise") and > unused blocks (remains zeroed). >=20 > 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? > Question: Is it good idea to add "wipe" option to cryptsetup luksFormat? >=20 > So it optionally can wipe all the space with random data? > (probably using some fast RNG provided by crypto backend or by > encryption zero data with the same algorithm as in luksFormat > but using one-time random key) >=20 > If so, I'll add this to my todo list. I think that would be a great new feature, it eases secure setups for users. greetings, jonas --/3yNEOqWowh/8j+e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJNYAlIAAoJEFJi5/9JEEn+dGkP/2kJvpZ34uwRIuquT081NFAM j66yDIwXnwLIrpNEUv9IzYk40rLR/hmmyRxxfNd9zbPhZ17h7Y9LqLNbaLFvVB+z oxalBTv5/Zp1Xdafj1LeP8u+UW1UbsL1t/GCmUV/8Y3A5FhjBN3wWxedkLz/hKHC oxdAlIXCGR3klWJXmABdHlLRP9qOvlTavjczDoZzztvF4D8a6NOspYrTpycrxTB5 ur04efF+PeENBniH2KmuVJPfGoBDBHBN84EqHqDYF2riz4HBwEt36yyZSV7DmM8M sonSZukV31yXyxdeTK5ZMx2DmnkpjGLhP+672uVacPeSod+5W4BID7T65fUHXi43 awGFcGrTGro71nFRBe+Zzi8IEyxCWwhIsLMFX2Kv5aEDgGknonI4Sa2yaha2WL3d tiqhmGSmeEkkfUALiQTZ2OHWBdXsqaqUj1BcHtA+gKISqDZm6nbankuVG/2XLZRO OMlRmuvOpKu/opBWLKY68bTxP/ZA5XfUv7p3rUknMybZCo6PyJ3zHPV8RvRWPMrM pPf0kJnT4TNTjQ8QbcJVIAMj1QKyZilhhg9g3rJiSWZEZMeyAQ9u4D+GdSetdjx8 pmcdLU/EhP1wo6zf3QzSelz0uwXfnmlVsTNHUwHhDB3+q1OMnB974PAsvgxIIw/j kbwuLK0NXIC/qNdvvAyb =cs6u -----END PGP SIGNATURE----- --/3yNEOqWowh/8j+e--