kanidm / webauthn-rs

An implementation of webauthn components for Rustlang servers
Mozilla Public License 2.0
490 stars 80 forks source link

Implement some SoloKeys2/Trussed vendor commands #377

Closed micolous closed 11 months ago

micolous commented 11 months ago

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.