Skip to content

Commit

Permalink
CLI: Output a message to notify the user when to scan their fingerpri…
Browse files Browse the repository at this point in the history
…nt when using verify-bio action
  • Loading branch information
aveenismail committed Dec 17, 2024
1 parent 2e15714 commit eb9d2b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/yubico-piv-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,7 @@ static bool verify_pin(ykpiv_state *state, const char *pin, bool bio) {
}

if (bio) {
fprintf(stderr, "Please scan your fingerprint on your YubiKey\n");
res = ykpiv_verify_bio(state, NULL, NULL, &tries, false);
} else {
res = ykpiv_verify(state, pin, &tries);
Expand Down

0 comments on commit eb9d2b7

Please sign in to comment.