Fix verbose message about key removal in luksKillSlot,luksErase and luksKremoveKey.

The crypt_keyslot_destroy() does not return keyslot number,
so return value 0 was always used as a keyslot reference.
This commit is contained in:
Milan Broz
2018-10-27 17:36:17 +02:00
parent bb29c5b322
commit 7213d5a76b
3 changed files with 16 additions and 4 deletions

View File

@@ -54,6 +54,9 @@ Changes since version 2.0.4
* Allows passphrase change for unbound keyslots.
* Fixes removed keyslot number in verbose message for luksKillSlot,
luksRemoveKey and erase command.
* Adds blkid scan when attempting to open a plain device and warn the user
about existing device signatures in a ciphertext device.