From mboxrd@z Thu Jan 1 00:00:00 1970 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 cPhCMC4SWAbh for ; Tue, 19 Jun 2012 16:01:19 +0200 (CEST) Received: from gerolde.archlinux.org (archlinux-1-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:717::2]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 19 Jun 2012 16:01:19 +0200 (CEST) Received: from [134.61.92.56] (92-056.eduroam.rwth-aachen.de [134.61.92.56]) by gerolde.archlinux.org (Postfix) with ESMTPSA id 0B80B92079 for ; Tue, 19 Jun 2012 09:53:54 -0400 (EDT) Message-ID: <4FE08495.8070706@archlinux.org> Date: Tue, 19 Jun 2012 15:54:29 +0200 From: =?ISO-8859-15?Q?Thomas_B=E4chler?= MIME-Version: 1.0 References: <4FE05A32.9010402@gresille.org> <4FE061DE.5080200@gmail.com> <20120619122915.GA1317@tansi.org> <4FE08189.2020106@gmail.com> In-Reply-To: <4FE08189.2020106@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig80B473753FB8672CC0FB0A97" Subject: Re: [dm-crypt] Option "validate passphrase" for command cryptsetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig80B473753FB8672CC0FB0A97 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Am 19.06.2012 15:41, schrieb Milan Broz: > On 06/19/2012 02:29 PM, Arno Wagner wrote: >> I think having this functionality is a good idea. >=20 >>> Trivial to add to code... (while I am doing another RC today, it can = be done >>> today even ;-) >=20 > Added --without activation option for luksOpen > http://code.google.com/p/cryptsetup/source/detail?r=3Da38fcafcff9ae75fe= da12bc84d04b2cdaa591f9f# >=20 > # cryptsetup luksOpen /dev/sdc x --without-activation -T 1 ; echo $? > Enter passphrase for /dev/sdc: (good passphrase) > 0 >=20 > # cryptsetup luksOpen /dev/sdc x --without-activation -T 1 ; echo $? > Enter passphrase for /dev/sdc: (bad passphrase) > No key available with this passphrase. > 2 I find the option name --without-activation to be quite long and hard to type. Is there any reason why you didn't choose '--dry-run' as you first suggested? --------------enig80B473753FB8672CC0FB0A97 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJP4ISXAAoJEChPw0yOSxolo9QQAJxsRMuv/SuulGp9AnElNLDF wh7LSPijY++ZGlTWuPAkNAHF1LOzQe/z1AykzSCnTnxCb4CJwuN3w+zxjW6laiYU HpA0ssjjOxGJXU3fnDkriYumyXX7kpv+CiSPKPFjFlPDzmmUCBr8xwutxS2goAOX S81OhQIPbn/bTIzm2yplTK3yhXMIWlIU+uiJOXB6VLWRCPhtVw4TN3dyNG7LBbqc or8WXkEo5XKzdP5PLA2agD5uWUcdO74LLtv/Fh5qva/MPjeCMqkTHZm+dDDz5k68 1VWLLxw3JSuXGAvVV872nQZkiVkKFD73fVvAAcNDeXpbotrvnZOFDY0ZcZHEdrGC zRqBEV5OQit4h9qsQxOS/C6l6BBAcxUzV9+UcNWfkSTXhuO8jlLqvm2Vnva6OMau bIvas1HE5IDBkqPknV+rt4Ioudf7qkAB9wFQNa4sLHrY1XVtVJQaAgTJ63AmJv8B tTTFepDpfSbCCE1Mfjxs9o6Khj7sl+Bb3upqBp0AIw+mZlYbKVOnl6SjiB5h04vH 5DiRntoNwaOHLDnV6Zg80p9MgaG1F4p9JV6Ai8lEOj1IyAZR99Mj0rtIJv6+ePC8 MRuuRCcLgHbyiMx5oKNzCO7gzG5c54FvQyL0P4PmsQGKK/hG+jbM/EWkPssvvqW3 vzzyKqNbl8FDqg+lApes =l7vI -----END PGP SIGNATURE----- --------------enig80B473753FB8672CC0FB0A97--