diff --git a/src/cryptsetup_reencrypt.c b/src/cryptsetup_reencrypt.c index 478944c8..20451902 100644 --- a/src/cryptsetup_reencrypt.c +++ b/src/cryptsetup_reencrypt.c @@ -600,6 +600,9 @@ static int backup_luks_headers(struct reenc_ctx *rc) goto out; } + if (isLUKS2(rc->type) && !opt_batch_mode) + log_std(_("Using default pbkdf parameters for new LUKS2 header.\n")); + r = create_new_header(rc, opt_cipher ? cipher : crypt_get_cipher(cd), opt_cipher ? cipher_mode : crypt_get_cipher_mode(cd),