Yubico / yubikey-personalization

YubiKey Personalization cross-platform library and tool
https://developers.yubico.com/yubikey-personalization/
BSD 2-Clause "Simplified" License
299 stars 82 forks source link

Add missing idProduct 0404 #111

Closed rseabra closed 6 years ago

rseabra commented 6 years ago

My Yubikey isn't detected due to a missing idProduct in the udev rules. Although my Fedora only has 69-yubikey.rules I also added it to 70-yubikey.rules

klali commented 6 years ago

the device with pid 0x404 (only ccid) isn't usable with the yubikey-personalization project and therefore not present in the rule files here. Generally this is used with pcscd+libccid and that process should have the permissions.

rseabra commented 6 years ago

@klali Can you explain why adding the device to the list makes it usable, then? Maybe your information is outdated. Can you look into it better? How can I give you more help?

All I did to make it work with GPG was add it to the 69-yubikey.rules!

crosser commented 6 years ago

@rseabra , I think that to make yubikey work with gnupg, you should rather get yubikey's IDs included in gnupg package (/lib/udev/rules.d/60-gnupg2.rules). Otherwise gnupg will not have access to the token on systems that do not have yubikey-personalization package installed.

rseabra commented 6 years ago

Nothing provides that in Fedora, but I created a similar file with just 0404 and adapted to gnup2 and it worked, I will check it out with them. Thanks.