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

Provide Warning to User Before Final Pin Attempt #6

Open
dviator opened this issue Apr 27, 2021 · 0 comments
Open

Provide Warning to User Before Final Pin Attempt #6

dviator opened this issue Apr 27, 2021 · 0 comments

Comments

@dviator
Copy link
Contributor

dviator commented Apr 27, 2021

The CLI currently does not warn a user before their 3rd pin attempt bricks a card.

The pin prompt flow should utilize the GET_STATUS APDU to retrieve the number of remaining invalid pin attempts for the user, display the value, and warn the user before the final pin attempt is about to brick the card.

https://github.com/GridPlus/safe-card/blob/master/src/main/java/im/status/keycard/KeycardApplet.java#L284

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