mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 03:10:08 +01:00
With JSON, we can actually retain the slot number in all cases (except user intentionally set new slot #). This patch changes the crypt_keyslot_change_by_passphrase() API call to retain keyslot number for LUKS2. Fixes: #464