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 ; Wed, 9 Mar 2011 11:32:43 +0100 (CET) Date: Wed, 9 Mar 2011 11:32:41 +0100 From: Jonas Meurer Message-ID: <20110309103240.GA4296@resivo.wgnet.de> References: <4D76E1FE.8030509@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <4D76E1FE.8030509@gmail.com> Subject: Re: [dm-crypt] Major Problem with luksAddKey List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rookcifer Cc: dm-crypt@saout.de --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On 08/03/2011 Rookcifer wrote: > I am using LUKS/dm-crypt to encrypt a storage drive I have (sdb). I > wanted to change the LUKS passphrase on this volume, so I ran the > following command: >=20 > cryptsetup luksAddKey /dev/sdb1 >=20 > I was prompted for my passphrase and slot 0 was unlocked. Then I went > to enter the new passphrases, so I entered it and was asked to verify. > I entered it again. It gave me a prompt that the passwords did not > match. No big deal, right? I must have mistyped. So I went through > the process again, but this time I was not able to unlock the master > key! I am now locked out of my volume completely and I have no idea > what to do. Maybe the reason is as simple as the Caps Lock key pressed by incident? greetings, jonas > Is this a bug or did I do something wrong? I should not be locked out > of my volume after failing to change the pass phrase! For me, luksAddKey works as expected with cryptsetup 1.0.2. Which version of cryptsetup do you use? greetings, jonas --MGYHOYXEY6WxJCY8 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) iQIcBAEBCAAGBQJNd1dDAAoJEFJi5/9JEEn+bAgP/iu3kz5hfltcEieQoiMx/c3r Gn3CQIAPz8wcrB9MIEVMoRmeMsqt2qrivsbZDGJiZnRoF0DCzVQSVMBupF7WVtZM NNTlkBW1Jh+YHcvonIF0kYiZenMvl0Mynh1gF8bgr9PD0eEssl62tCtuVUNYyYgD CAIMmQyfRzeo0sijzQGnySE3SSXYy+EpwZAPlIaqtD4wVGSFTPHnuitKpXniX9Le fQ+h1oMcB6bcm4Nv9sBITMOX0ivs8u8a5YjbNyvLvN8crCnsPgk5VRKjcKKu9xu4 pChMEPJnfEfeIpmsn+tyudMDD2ep+BmhudGJZgLAxYPK6rWUqvZNrQ4DCFF9CwxC wRDGS1s2w6oRqjhlCPGQi0kbhS6ub2NavuXTglMuehrwHMOOfeyVVGHl/B03VzeP wBYRqplf1zAwgWA/uj8E6ho4nNAXFQmZ18Kflwe0Dz4Rhd5HKRXyu/6NrRDZMwWt 4bEh658ztZ3BVsnsAezHBv4lJRijhvrZ2sdJKLQb7Kmk2q8lJ4WUXQXZwQvZMohf tn7yyxNbnJEb4MmlRMIFr4KdmJ1dQFM6Beq8QWVrRs7l3thZdlnXfnZhqwlD8x23 bycwA55ZDmb5r3IHRxvNMCtg+IVIP82IrshCqKaPK+0gsKkpsT8c1epITNYPxShY hvgpAB0qFk09dD6QBxoX =ejv+ -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--