Skip to content

Report remaining retries from CHANGE REFERENCE DATA - #51

Open
FlorianFranzen wants to merge 1 commit into
trussed-dev:mainfrom
FlorianFranzen:feat/change-reference-retries
Open

FlorianFranzen wants to merge 1 commit into
trussed-dev:mainfrom
FlorianFranzen:feat/change-reference-retries

Conversation

@FlorianFranzen

Copy link
Copy Markdown
Contributor

A failed CHANGE REFERENCE DATA answered with a plain verification failure (6300), hiding the retry counter. It now reports the remaining retries like VERIFY does (63CX), and OperationBlocked (6983) once they are exhausted. Clients drive the retry counter through this status: yubikey.rs blocks the PUK by looping wrong changes until it sees one of the two.

Tested in command_response.ron: a wrong PUK reports 4 remaining, three wrong PINs report 2, 1 and then OperationBlocked, and once blocked even the correct PIN is refused.

FlorianFranzen added a commit to FlorianFranzen/piv-authenticator that referenced this pull request Oct 16, 2026
- 437b237 Report remaining retries from CHANGE REFERENCE DATA

This branch has not been deployed

No deployments
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.

1 participant