mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 03:10:08 +01:00
During LUKS2 upconversion we moved binary keyslots area before validating future LUKS2 header. If later LUKS2 validation failed for some reason keyslots were already moved to new offsets and LUKS1 offsets were therefore invalid. Following effort to unlock such device failed because keyslots were efectively corrupted. See issue #534.