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

fido2: Add get-info subcommand #545

Merged
merged 1 commit into from
Jun 5, 2024
Merged

fido2: Add get-info subcommand #545

merged 1 commit into from
Jun 5, 2024

Conversation

robin-nitrokey
Copy link
Member

This patch adds a get-info subcommand to the fido2 command that prints the response to a GET_INFO request.

Fixes: #465


Example:

$ nitropy fido2 get-info
Command line tool to interact with Nitrokey devices 0.4.47
versions: ['U2F_V2', 'FIDO_2_0', 'FIDO_2_1']
extensions: ['credProtect', 'hmac-secret']
aaguid: 8bc54968-07b1-4d5f-b249-607f5d527da2
options: {'rk': True, 'up': True, 'plat': False, 'credMgmt': True, 'clientPin': True, 'largeBlobs': False, 'pinUvAuthToken': True}
max_msg_size: 3072
pin_uv_protocols: [2, 1]
max_creds_in_list: 10
max_cred_id_length: 255
transports: ['nfc', 'usb']

This patch adds a get-info subcommand to the fido2 command that prints
the response to a GET_INFO request.

Fixes: #465
@robin-nitrokey robin-nitrokey merged commit be816b0 into master Jun 5, 2024
8 checks passed
@robin-nitrokey robin-nitrokey deleted the fido2-get-info branch June 5, 2024 20:39
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 fido2 get-info command
2 participants