Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2aTjXBsoiMkg for ; Thu, 31 Jan 2013 14:43:30 +0100 (CET) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 31 Jan 2013 14:43:30 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U0uQa-0007Tn-V4 for dm-crypt@saout.de; Thu, 31 Jan 2013 14:43:45 +0100 Received: from 188-194-144-161-dynip.superkabel.de ([188.194.144.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jan 2013 14:43:44 +0100 Received: from r4p.t0x by 188-194-144-161-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jan 2013 14:43:44 +0100 From: Sebastian Date: Thu, 31 Jan 2013 13:43:13 +0000 (UTC) Message-ID: References: <20130125194011.GB23010@tansi.org> <20130125215043.GA23744@tansi.org> <20130126174132.GA30029@tansi.org> <20130129023911.GA19313@tansi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] No key available for this passphrase List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Arno Wagner writes: > > On Mon, Jan 28, 2013 at 06:46:53PM -0500, .. ink .. wrote: > > [..] > > > > > but a function like this or any other > > > mechanism of header-protection would be nice to see as standard for LUKS. > > > Especially because the first keyslot is so likely to be corrupted by > > > partition > > > managers (should be aroud the offset of keyslot 0 where they start to dump > > > their > > > data?). > > > > > > > > has there been any study to find out which ones of the keyslots is most > > likely to get corrupted accidentally by various tools? > > I do not think there is enough data. And there is the additional > problem that corruption in others than slot 0 will not be noticed > by most users. You are welcome to search the mai,ing-list archives > and generate a statistic, of course. > [...] As soon as I received my new harddrive for the notebook (the one delivered constantly makes fast scratching noises at idle...), i will start to write a small script that backups the header on the disk and frequently compares this backup to the disk/partition header. If changes are detected it will give a warning plus the option to restore the header. Well - thats the plan. Will see what functions will make it to the script or will be added while writing it. It will be only a shellscript ( need glasses - I can't C very good ;) ), but i will post it here (maybe new thread) as soon as it is working. Sebastian