Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not wipe keyslot area before in-place overwrite.
If LUKS2 keyslot area has to be overwritten (due to lack of free space), do not wipe the affected area first. It will get overwritten anyway. Originaly, in between the keyslot wipe and new key material write, pbkdf calculation took place. The pbkdf calculation takes ~2 seconds by default and it put the user in unnecesary risk of loosing the keysot data in case of a crash.
- Loading branch information