mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
With this commit reencryption can run without any active keyslot containing current (or optional future) volume key. In such case new volume key must be provided via CRYPT_KC_TYPE_KEY keyslot context and by adding CRYPT_REENCRYPT_CREATE_NEW_DIGEST flag in reencryption parameters during reencryption initialization in crypt_reencrypt_init_by_keyslot_contexts. The new flag can not be combined with CRYPT_REENCRYPT_RESUME_ONLY flag.