mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 19:30:04 +01:00
Do not verify unlocking passphrase in luksAddKey command. (fixes issue #50)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@189 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2010-02-25 Milan Broz <mbroz@redhat.com>
|
||||||
|
* Do not verify unlocking passphrase in luksAddKey command.
|
||||||
|
|
||||||
2010-01-17 Milan Broz <mbroz@redhat.com>
|
2010-01-17 Milan Broz <mbroz@redhat.com>
|
||||||
* If gcrypt compiled with capabilities, document workaround for cryptsetup (see lib/gcrypt.c).
|
* If gcrypt compiled with capabilities, document workaround for cryptsetup (see lib/gcrypt.c).
|
||||||
* Version 1.1.0.
|
* Version 1.1.0.
|
||||||
|
|||||||
@@ -1511,7 +1511,7 @@ int crypt_keyslot_add_by_keyfile(struct crypt_device *cd,
|
|||||||
keyfile, keyfile_size);
|
keyfile, keyfile_size);
|
||||||
else
|
else
|
||||||
key_from_terminal(cd, _("Enter any passphrase: "),
|
key_from_terminal(cd, _("Enter any passphrase: "),
|
||||||
&password, &passwordLen, 1);
|
&password, &passwordLen, 0);
|
||||||
|
|
||||||
if (!password)
|
if (!password)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|||||||
Reference in New Issue
Block a user