Commit 78cac9a9 authored by Milan Broz's avatar Milan Broz

Fix retry if entered passphrases (with verify option) do not match.

parent 075fb8d2
2012-03-16 Milan Broz <mbroz@redhat.com>
* Unify password verification option.
* Support password verification with quiet flag if possible. (1.2.0)
* Fix retry if entered passphrases (with verify option) do not match.
2012-02-11 Milan Broz <mbroz@redhat.com>
* Add --master-key-file option to luksOpen (open using volume key).
......
......@@ -379,6 +379,9 @@ static int volume_key_by_terminal_passphrase(struct crypt_device *cd, int keyslo
r = key_from_terminal(cd, NULL, &passphrase_read,
&passphrase_size_read, 0);
/* Continue if it is just passphrase verify mismatch */
if (r == -EPERM)
continue;
if(r < 0)
goto out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment