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

Fix CTAPHID command dispatch for admin app #10

Merged

Conversation

robin-nitrokey
Copy link
Member

@robin-nitrokey robin-nitrokey commented Oct 18, 2021

Previously, the CTAPHID interface of the admin app did not handle the
UUID command and interpreted all unknown commands as Wink commands.
With this patch, we explicitly handle both the Wink and the UUID command
and return an error if any other command is received.

Fixes #8.

@robin-nitrokey robin-nitrokey added the upstream This pull request could be upstreamed label Oct 18, 2021
Previously, the CTAPHID interface of the admin app did not handle the
UUID command and interpreted all unknown commands as Wink commands.
With this patch, we explicitly handle both the Wink and the UUID command
and return an error if any other command is received.

Fixes Nitrokey#8.
@robin-nitrokey robin-nitrokey merged commit 2a4f42b into Nitrokey:nitrokey-main Oct 18, 2021
@robin-nitrokey robin-nitrokey deleted the fix-ctaphid-admin-app branch October 18, 2021 19:47
@robin-nitrokey
Copy link
Member Author

Submitted to upstream: solokeys/solo2#85

@robin-nitrokey robin-nitrokey removed the upstream This pull request could be upstreamed label Nov 16, 2021
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.

admin-app: UUID command not available over CTAPHID
2 participants