Return-Path: Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by mail.server123.net (Postfix) with ESMTP for ; Fri, 30 May 2014 21:11:09 +0200 (CEST) Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 38E582FD7D3 for ; Fri, 30 May 2014 15:03:21 -0400 (EDT) Date: Fri, 30 May 2014 20:03:08 +0100 From: Laurence Darby Message-Id: <20140530200308.81d4c1909f0ae556668d0cf4@tuffmail.com> In-Reply-To: <5388C67D.1060004@codehawks.eu> References: <1401370403.94216.YahooMailNeo@web172002.mail.ir2.yahoo.com> <20140529201335.GA9014@tansi.org> <20140530134238.GA21698@tansi.org> <20140530150701.GA4281@fancy-poultry.org> <5388AA9C.3020909@codehawks.eu> <20140530171053.GA5729@fancy-poultry.org> <5388BED0.90203@codehawks.eu> <20140530174743.GA6376@fancy-poultry.org> <5388C67D.1060004@codehawks.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Is erasing hard disk drive mandatory? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Bastiani Cc: dm-crypt@saout.de You're all missing a very important point. Have a read of http://embeddedsw.net/doc/physical_coercion.txt (a reference on http://en.wikipedia.org/wiki/Deniable_encryption) and think about if you want some random data at the end of your drive that you can't decrypt. -- Laurence Thomas Bastiani wrote: > On 05/30/14 18:47, Heinz Diehl wrote: > > On 30.05.2014, Thomas Bastiani wrote: > > > >> It may be that files that you create and then delete will trigger > >> a TRIM operation if dm-crypt (and > >> eventually LVM) are configured to pass TRIM through. But the rest of > >> your "securely erased" drive is still not TRIM-ed. > > > > As far as I know, mkfs discards blocks while creating the filesystem. > > So your device should be "overwritten" at that stage of the process? > > > > Oh cool. I had no idea. So then it would make the whole dd operation > useless if you pass --allow-discards to cryptsetup. > > -- > Thomas > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt