Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--max-retries option doesn't work for an invalid pin #41

Open
MkfsSion opened this issue Jan 3, 2022 · 0 comments
Open

--max-retries option doesn't work for an invalid pin #41

MkfsSion opened this issue Jan 3, 2022 · 0 comments

Comments

@MkfsSion
Copy link

MkfsSion commented Jan 3, 2022

When an invalid pin entered, fido2luks just throw an error and exit even with --max-retries option specified. The following is an example.

[root@MkfsSion-LPC ~]# fido2luks -i open-token --pin --max-retries 3 /dev/sdc3 cryptroot
Authenticator PIN: 
Authorize using your FIDO device
Password: 
AuthenticatorError { cause: FidoError(FidoError(

Device returned error: CborError: 0x31: PIN Invalid.)

Error while decoding CBOR from device.) }
@shimunn shimunn mentioned this issue Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant