Skip to content

feat(pin): add pcmr permission and rename ephemeral token source (1/5)#231

Open
AlfioEmanueleFresta wants to merge 2 commits into
masterfrom
feat/pcmr-1-permission-and-rename
Open

feat(pin): add pcmr permission and rename ephemeral token source (1/5)#231
AlfioEmanueleFresta wants to merge 2 commits into
masterfrom
feat/pcmr-1-permission-and-rename

Conversation

@AlfioEmanueleFresta
Copy link
Copy Markdown
Member

@AlfioEmanueleFresta AlfioEmanueleFresta commented May 30, 2026

Part 1 of 5 in a stack: #231 (this), #232, #233, #234, #235

This stack adds support for persistent pinUvAuthTokens (the CTAP 2.2+ pcmr permission). A persistent token lets a credential manager list the passkeys on a security key without re-prompting for the PIN on every app launch or replug. It is read-only credential management only and cannot assert, create, update, or delete. Storage is supplied by the caller, and tokens are invalidated on PIN change or authenticator reset.

This PR

Groundwork, with no behaviour change:

  • Renames the internal ephemeral token-source marker to make room for a persistent one.
  • Adds the pcmr permission value and the getInfo capability check used to detect persistent-token support.

@AlfioEmanueleFresta AlfioEmanueleFresta force-pushed the feat/pcmr-1-permission-and-rename branch from 9425990 to 1e56bbd Compare May 30, 2026 17:24
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