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.
[x] cargo test has been run and passes
[x] documentation has been updated with relevant examples (if relevant)
This implements some vendor-specific SoloKeys 2 (Trussed) vendor-specific commands:
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.