cryptsetup-fido2: Remove plain mode parameters from acquire_fido2_key_auto()

`acquire_fido2_key_auto()` will not be used in PLAIN mode, and
parameters such as the salt will be acquired from the LUKS header.
Parameters intended for PLAIN mode are useless in
`acquire_fido2_key_auto()`.
This commit is contained in:
Peter Cai
2022-12-22 11:20:56 -05:00
parent 0a8e026e82
commit 52105bb487
3 changed files with 3 additions and 11 deletions
-1
View File
@@ -1121,7 +1121,6 @@ static int attach_luks_or_plain_or_bitlk_by_fido2(
name,
friendly,
arg_fido2_device,
key_file, arg_keyfile_size, arg_keyfile_offset,
until,
arg_headless,
&decrypted_key, &decrypted_key_size,