[pkg-cryptsetup-devel] Bug#662768: [cryptsetup] New cryptsetup version chokes on old LUKS header

Milan Broz mbroz at redhat.com
Tue Mar 6 11:19:29 UTC 2012

On 03/06/2012 10:38 AM, Konrad Zimmermann wrote:
> Package: cryptsetup
> Version: 2:1.4.1-2
> Severity: normal
> --- Please enter the report below this line. ---
> I am running 3 LUKS encrypted disks in a software RAID5.
> After upgrading to version 2:1.4.1-2 of cryptsetup
> cryptsetup luksOpen /dev/sdb sdb_crypt
> on any of these disks failed, returning the error
> LUKS keyslot 4 is invalid.
> LUKS keyslot 5 is invalid.

Hi, this is just new check in this version, your LUKS header is already
corrupted. (I guess corrupted kesylots offsets.)

Please can you paste output of
cryptsetup luksOpen /dev/sdb sdb_crypt --debug  ?

No need to worry, it is just additional check and if you are able to open
volume with old version it is easy to fix without any data loss.


More information about the pkg-cryptsetup-devel mailing list