solo1
solo1 copied to clipboard
USB HID over UDP (No Hardware Needed) not working
I am trying to implement a virtual authenticator FIDO2, but the browser does not identify the virtual device created in the module that sends USB HID over UDP (No Hardware Needed).
What is needed for this to work?
It defeats the purpose of a hardware security key. A security key is something you should always have physical access to.
I think that won't work - the browser expects to talk to USB, while your virtual authenticator would listen on UDP.
The 'hidg' mode might work using the PC version of the solo software on Linux, emulating a virtual USB gadget. I had it working in the past, but can't remember if I tested it with a browser. I will give it a try again if I find the time.
Yes, the PC version of the solo firmware also works with a browser if used in 'hidg' mode on Linux.
If you manage to compile, maybe sign and load/configure the dummy_hcd
module found in tools/gadgetfs
, you can start the virtual solo as main -b hidg
. All this usually needs to be done as root
. Then:
- Verify to find the virtual device in
lsusb
output - Verify that
/dev/hidrawN
(N == 1 in my case) exists and is accessible - Verify that
fido2-token -L
shows the device
If this all works well, it should also work in the browser e.g. using WebAuthn.io.