diff --git a/ChangeLog b/ChangeLog index 0986afb6..ca96a3de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-02-25 Milan Broz + * Do not verify unlocking passphrase in luksAddKey command. + 2010-01-17 Milan Broz * If gcrypt compiled with capabilities, document workaround for cryptsetup (see lib/gcrypt.c). * Version 1.1.0. diff --git a/lib/setup.c b/lib/setup.c index 0aef8585..ea5359a7 100644 --- a/lib/setup.c +++ b/lib/setup.c @@ -1511,7 +1511,7 @@ int crypt_keyslot_add_by_keyfile(struct crypt_device *cd, keyfile, keyfile_size); else key_from_terminal(cd, _("Enter any passphrase: "), - &password, &passwordLen, 1); + &password, &passwordLen, 0); if (!password) return -EINVAL;