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

Allow interactive PIN entry for solo key verify. #102

Merged
merged 2 commits into from
Jan 20, 2021

Conversation

enrikb
Copy link
Contributor

@enrikb enrikb commented Sep 23, 2020

While still allowing to pass --pin <pin> like some of the other commands, do no longer suggest it.

The solution is a bit hacky, calling verify recursively a second time iff a PIN is required but was not set before.

The 'Please press the button on your Solo key' is also not very consistently repeated, but it is also output a little inconsistently before this change.

@enrikb enrikb force-pushed the feature/verify_ask_for_pin_if_required branch from c77f10e to 7e06567 Compare September 24, 2020 22:21
@enrikb
Copy link
Contributor Author

enrikb commented Sep 24, 2020

Reworked to use FIDO2 info indication to tell if PIN is required.

eberkhan and others added 2 commits January 20, 2021 19:16
The PIN will be requested interactively if the Fido2 info indicates a
PIN is set and none has been given on the command line.
@nickray nickray force-pushed the feature/verify_ask_for_pin_if_required branch from 7e06567 to dffad03 Compare January 20, 2021 18:17
@nickray nickray merged commit 41b4490 into solokeys:main Jan 20, 2021
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.

3 participants