Rich,
I was able to get a Yubikey with the same subsystem( hidraw) and ATTRS{idVendor}( 1050) under TC 15.0 x86_64 and 16.2 x86_64 with Firefox.
It was a struggle -- I'll try to explain:
1) missing libraries
2) permission issues that exhibited different behavior between 15.0 and 16.2.
The missing libraries were libcbor.so.0.10.2, libfido2.so.1.14.0, and libudev.so.1.7.8. I got these from either the Debian or Ubuntu repository. I only found a hint on the internet that they were needed -- sorry but I cannot find that hint again.
The permission issue drove me crazy. I compiled and used the program from this link to be sure that the Yubikey worked
without root permissionsbefore trying to use the key with Firefox:
https://stackoverflow.com/questions/32552853/open-function-in-c-says-unable-to-open-device-permission-deniedIn the 70-old-u2f.rules file, I only changed the MODE attribute to 0666:
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0120", TAG+="uaccess", GROUP="plugdev", MODE="0666"Now the behavior difference -- TC 15.0 x86_64 worked with just the 70-old-u2f.rules file; TC 16.2 x86_64 did not. To use the Yubikey with Firefox
I had to manually change the permissions of the hidraw devices.
sudo chmod 666 /dev/hidraw*I did not have to change any Firefox webauth settings -- to be honest, I didn't know about them.
I bundled the missing libraries, 70-u2f.rules rules file, and the test.cc program, binary, and Makefile into an extension that loads at boot time.
Hope this helps. I really do appreciate all you and the admins do to support me using Tiny Core.
regards,
ctor