Skip to content

Avoid overwritting LUKS2 keyslot area if possible.

Ondrej Kozina requested to merge oniko/cryptsetup:change-passphrase-fix into main

With this patch applied LUKS2 never overwrites existing keyslot area provided there are both free keyslot id and free spare keyslot area.

Provided @mbroz is happy with the patch I'll add a test tomorrow.

Merge request reports