Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug in LUKS2 header wipe function with keyslots area.
When formating LUKS2 device with no keyslots area (it's valid LUKS2 header) there's a bug in wipe routine that is supposed to wipe LUKS2 keyslots area. When the keyslots area size is of zero length it causes wipe function to erase whole data device starting at defined data offset.
- Loading branch information