mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-22 16:20:01 +01:00
reencrypt: add message about using default parameters with LUKS2
This commit is contained in:
committed by
Milan Broz
parent
35512f4ee9
commit
13b1720899
@@ -600,6 +600,9 @@ static int backup_luks_headers(struct reenc_ctx *rc)
|
|||||||
goto out;
|
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,
|
r = create_new_header(rc,
|
||||||
opt_cipher ? cipher : crypt_get_cipher(cd),
|
opt_cipher ? cipher : crypt_get_cipher(cd),
|
||||||
opt_cipher ? cipher_mode : crypt_get_cipher_mode(cd),
|
opt_cipher ? cipher_mode : crypt_get_cipher_mode(cd),
|
||||||
|
|||||||
Reference in New Issue
Block a user