Solo Key (U2F/FIDO2) in Firefox?

I have a Solo V1 key and use it for 2FA on Gmail.

I installed libu2f-host and u2f-devd, added myself to u2f group, rebooted, and my USB key still doesn't work in Firefox (FreeBSD 14.1)

This and this seem to imply that it needs to be at uhid#? If so then that sounds similar to what I did for a joystick and FlightGear game (notes), but that would also have me wondering if there's a better way to go about that if some userspace apps expect things at uhid#?
 
A quick test through uhidd shows that something happens whenever I get to the 2FA part on Gmail with my key plugged in with uhidd attached to it (the block is repeated about 10 times):

Code:
uhidd -d -h -k -m -o -v -s -H 'uhid' -u '/dev/ugen0.12'

ugen0.12[0]-> ugen0.12[0] vhid_task recevied:255 255 255 255 129 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
hid_set_report (64) 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffff81 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
uhidd 2570 - - ugen0.12[0] libusb20_dev_request_sync failed
uhidd 2570 - - ugen0.12[0] libusb20_dev_request_sync failed
uhidd 2570 - - ugen0.12[0] libusb20_dev_request_sync failed
uhidd 2570 - - ugen0.12[0] libusb20_dev_request_sync failed

So it seems like Firefox sees and tries to communicate with my key, but it doesn't function (light LED doesn't change color; Firefox registers nothing with button press), and uhidd implies something further isn't working correctly
 
To me this looks like your key was not in the u2f-devd configuration.
What is the associated vendor and product ID ?

For hidraw (so the sysctl workaround), we will need firefox to update its code to use hidraw device on FreeBSD instead of only relying on uhid.
 
Back
Top