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

main.c: fix logic causing "pin not set" false output, when set #31

Closed
wants to merge 1 commit into from

Conversation

tlaurion
Copy link
Contributor

A check was missing against retry_admin and retry_user if res diff of RET_NO_PIN_ATTEMPTS otherwise going into else and showing bad output.

This fixes #30

(feel free to improve, steal, refactor to reduce needed interactions until fixed upstream).

…RET_NO_PIN_ATTEMPTS otherwise going into else and showing bad output

Signed-off-by: Thierry Laurion <[email protected]>
@tlaurion
Copy link
Contributor Author

Nope nevermind, doesn't fix it.

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

Successfully merging this pull request may close these issues.

V1.5 : NK3 currently accepts any PIN on HOTP secret sealing
1 participant