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

Implement some SoloKeys2/Trussed vendor commands #377

Merged
merged 12 commits into from
Oct 27, 2023
Merged

Conversation

micolous
Copy link
Collaborator

This implements some vendor-specific SoloKeys 2 (Trussed) vendor-specific commands:

  • get device UUID
  • get firmware version
  • get lock / secure boot status
  • get random bytes

These commands all operate at a U2FHidFrame layer, so this also adds a bunch of plumbing to make that all work.

I've tested these with SoloKeys Solo 2 and NitroKey 3A over USB HID. I've tried a few other keys, and they appear to ignore these commands without any issues, but due to the nature of vendor commands this is all very difficult to manage.

I haven't implemented NFC support as that's been very unreliable.

  • cargo test has been run and passes
  • documentation has been updated with relevant examples (if relevant)

@micolous micolous added the enhancement New feature or request label Oct 26, 2023
@micolous micolous marked this pull request as ready for review October 26, 2023 02:41
@yaleman yaleman merged commit 0ff6b52 into kanidm:master Oct 27, 2023
33 checks passed
@micolous micolous mentioned this pull request Jan 29, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants