Respect option 'silent' on cryptsetup FIDO2 pin entry
Makes the silent flags behavior consistent between regular password entry and FIDO2 pin entry.
This commit is contained in:
committed by
Lennart Poettering
parent
d65c5d04f9
commit
4858bc0d84
@@ -809,7 +809,8 @@ static int attach_luks_or_plain_or_bitlk_by_fido2(
|
||||
until,
|
||||
arg_headless,
|
||||
required,
|
||||
&decrypted_key, &decrypted_key_size);
|
||||
&decrypted_key, &decrypted_key_size,
|
||||
arg_silent);
|
||||
if (r >= 0)
|
||||
break;
|
||||
if (r != -EAGAIN) /* EAGAIN means: token not found */
|
||||
|
||||
Reference in New Issue
Block a user