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:
Sebastian Blunt
2021-05-31 17:57:44 +02:00
committed by Lennart Poettering
parent d65c5d04f9
commit 4858bc0d84
4 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -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 */