[dm-crypt] Option "validate passphrase" for command cryptsetup

Thomas Bächler thomas at archlinux.org
Tue Jun 19 15:54:29 CEST 2012


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.
> 
>>> Trivial to add to code... (while I am doing another RC today, it can be done
>>> today even ;-)
> 
> Added --without activation option for luksOpen
> http://code.google.com/p/cryptsetup/source/detail?r=a38fcafcff9ae75feda12bc84d04b2cdaa591f9f#
> 
> # cryptsetup luksOpen /dev/sdc x --without-activation -T 1 ; echo $?
> Enter passphrase for /dev/sdc:  (good passphrase)
> 0
> 
> # 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120619/26620324/attachment.asc>


More information about the dm-crypt mailing list