Closed landaire closed 9 years ago
After some further research it looks like usage page 0xf1d0
represents U2F devices, with usage of 0x01. I'm going to create a PR for this. Sources:
https://code.google.com/p/chromium/issues/detail?id=374307 http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/24481
fantastic! great work! Cant wait for the merge
As I just wrote in pull request #66 this project only knows how to deal with the OTP interface of a YubiKey, the U2F key with product id 0x120 doesn't have an OTP interface so there's nothing this project can do after opening that interface (if you manage to do something that would be very interesting..).
I recently got a yubikey through the GitHub promotion, but it's not being detected. After doing some digging I discovered that the device is simply not supported in ykcore.
Device info:
I was able to get the tool to actually attempt to do something with it by adding
0x0120
to thepids
inyk_open_first_key
and removing the checks onusage
andusagePage
in_ykusb_open_device
located inykcore_osx.c
.I added some debug statements to the process:
which spit out:
I'm not sure what this is supposed to be, but I can see that by adding the product ID and removing the usagePage/usage requirements then this is device discovered.