From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O9l3B-0005aR-Bo for garchives@archives.gentoo.org; Wed, 05 May 2010 20:18:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23B69E0686; Wed, 5 May 2010 20:17:52 +0000 (UTC) Received: from zion.lichtfels.com (zion.lichtfels.com [88.198.33.170]) by pigeon.gentoo.org (Postfix) with ESMTP id ED4CCE0686 for ; Wed, 5 May 2010 20:17:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zion.lichtfels.com (Postfix) with ESMTP id E9CC118400A for ; Wed, 5 May 2010 22:17:50 +0200 (CEST) Received: from zion.lichtfels.com ([127.0.0.1]) by localhost (zion [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 16370-08 for ; Wed, 5 May 2010 22:17:49 +0200 (CEST) Received: from [172.32.99.12] (mail.oops.co.at [213.129.238.225]) by zion.lichtfels.com (Postfix) with ESMTPA id BE5E7184002 for ; Wed, 5 May 2010 22:17:49 +0200 (CEST) Message-ID: <4BE1D26D.1050402@xunil.at> Date: Wed, 05 May 2010 22:17:49 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100410 Lightning/1.0b2pre Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure. References: <4BDFF195.9070404@xunil.at> <4BE05BA3.1000509@xunil.at> <4BE07570.7020305@xunil.at> <4BE090A5.9080804@admin-box.com> <4BE0F71D.7080907@xunil.at> <4BE125AB.1030105@admin-box.com> <4BE12F73.2080708@xunil.at> <4BE1C969.1010009@admin-box.com> In-Reply-To: <4BE1C969.1010009@admin-box.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-maia at lichtfels.com X-Archives-Salt: 6e7a36a6-b546-4f8f-8b0c-0996d447b2aa X-Archives-Hash: 9b35f1d27c9a5c1ec6ea4c31c2759e5c Am 05.05.2010 21:39, schrieb Daniel Troeder: >> With this password I get a "bad decrypt" so this explains why it >> fails. > If you cannot decrypt your keyfile (with openssl) then you have just > lost any way to decrypt your partition! > > But there is an idea in the man page of which I didn't think: did > you maybe change your users password? If so, you need to use the old > pw to decrypt the keyfile. If you can, then you can use the new pw to > encrypt the key again (make backups of the original file). user-pw not changed, no ... > There is also the possibility your keyfile was corrupted somehow > (file system corruption?). Do you have a backup of the keyfile (and > your data:)? Restored the key-file from tape, no diff, no success. I have some images as backup, would have to look closer ... > BTW: a LUKS encrypted partition can have 8 keys (in so called "key > slots"), so that you can add a "fallback key" the next time, which > you store at a trusted place. I am pretty sure that I used several slots, yes. - Remember that I said: "I am not sure which HOWTO I followed" ? What if I didn't use aes-256-ecb? I will try some other ciphers .... ;-) Oh my, I luv documentation :-) S