DescriptionMartin Stransky
2017-11-16 12:01:04 UTC
+++ This bug was initially created as a clone of Bug #1513965 +++
Steps to reproduce:
Try to login with a U2F Yubikey on either the Bitwarden Firefox addon or GitHub's website with Firefox 57 and Fedora 26.
The security.webauth.u2f config has been set to true.
Actual results:
The Bitwarden addon reports: U2F Error: 1
The GitHub page just says that something went wrong.
The same addon and webpage work with Firefox on Windows 10.
This is the demesg log from Fedora:
[ 2003.802889] usb 1-1.2: new full-speed USB device number 7 using ehci-pci
[ 2003.884045] usb 1-1.2: New USB device found, idVendor=1050, idProduct=0120
[ 2003.884053] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2003.884056] usb 1-1.2: Product: Security Key by Yubico
[ 2003.884060] usb 1-1.2: Manufacturer: Yubico
[ 2003.889952] hid-generic 0003:1050:0120.0006: hiddev96,hidraw0: USB HID v1.10 Device [Yubico Security Key by Yubico] on usb-0000:00:1d.0-1.2/input0
[ 2058.671048] usb 1-1.2: USB disconnect, device number 7
Ok, I just reproduced this on a fresh Fedora 26 install. What you need to do is the following:
> sudo dnf install u2f-hidraw-policy
Then restart. This made it work with the u2f-hid-rs Rust library used by Firefox, and by Firefox 57 itself.