Skip to content

Retain keyslot number in luksChangeKey for LUKS2.

Milan Broz requested to merge change-keyslot into master

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 (closed)

Merge request reports