[dm-crypt] about invalid key slots

.. ink .. mhogomchungu at gmail.com
Mon Apr 2 02:41:15 CEST 2012

> $ sudo cryptsetup luksOpen /dev/sdc dsk
> LUKS keyslot 6 is invalid.
> LUKS keyslot 7 is invalid.

A user with a problem with invalid key slots had the above in one of the
recent mailing list post.

Does cryptsetup check all slots if they are valid before it tries to open a
volume and bail out when it finds an invalid one or does it give the above
error if it cant get a valid key on on valid key slots?

example, if a valid slot was on slot number 1 and he entered a passphrase
that is on slot number 1.Would he have got the same error message?

did cryptsetup went through all the valid keyslots, didnt find the key and
suspect that the key might be on the two invalid slots and reported the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120401/1170ab95/attachment.html>

More information about the dm-crypt mailing list