Skip to content

fido2: Add pin config and alwaysUv commands - #819

Open
robin-nitrokey wants to merge 5 commits into
mainfrom
set-pin-config
Open

robin-nitrokey wants to merge 5 commits into
mainfrom
set-pin-config

Conversation

@robin-nitrokey

@robin-nitrokey robin-nitrokey commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

This PR adds new fido2 subcommands:

  • set-pin-config corresponds to the setMinPINLength subcommand of the authenticatorConfig command. It would be closer to the standard to call it set-min-pin-length, but I find the name misleading because you can for example set the forceChangePin flag without setting a minimum PIN length.
  • set-always-uv corresponds to toggleAlwaysUv. I think it’s a better UI to set the flag to an explicit value instead of toggling it.
  • get-always-uv and get-pin-config show the relevant info. These fields are also present in the get-info output but I think it’s easier to find and use if they are also provided by separate commands.

@robin-nitrokey
robin-nitrokey requested a review from a team as a code owner November 16, 2026 21:12
@robin-nitrokey
robin-nitrokey requested review from daringer, james-knippes, mmerklinger and sosthene-nitrokey and removed request for a team November 16, 2026 21:12
@robin-nitrokey robin-nitrokey linked an issue Nov 18, 2026 that may be closed by this pull request
2 tasks
@robin-nitrokey robin-nitrokey changed the title fido2: Add set-pin-config command fido2: Add pin config and alwaysUv commands Nov 18, 2026

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.

Add support for new FIDO2 features

2 participants