Yubico / yubikey-personalization

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

Can't read serial from my GitHub U2F Yubikey #67

Closed patrys closed 8 years ago

patrys commented 8 years ago

Fedora 23:

$ ykinfo -m
Yubikey core error: timeout

Other tools fail as well:

$ ykpamcfg 
[util.c:get_user_challenge_file(302)] Failed to read serial number (serial-api-visible disabled?).
Yubikey core error: timeout

Using ykpers-1.17.2. Is that supposed to work with these keys? It seems to work fine for my friends.

klali commented 8 years ago

The github u2f key is for u2f only while this project is for the OTP interface of YubiKeys.

/klas

patrys commented 8 years ago

It seems the keys we received are not really u2f keys despite being labelled as such. They claim to be "Yubico Yubikey 4 OTP+CCID", don't respond to serial number and capability requests but OTP works fine.

klali commented 8 years ago

Some of the github edition keys where shipped with wrong configuration (no u2f support). You should've had an email from Yubico describing how to rectify this situation, if not you can contact Yubico support for how to get the correct device.

patrys commented 8 years ago

Yes, we're good, I just wanted to follow-up with clarification if anyone hits a similar problem.

thuandt commented 5 years ago

After upgrade libykpers 1.19.1 in Yubico PPA: https://launchpad.net/~yubico/+archive/ubuntu/stable/+sourcepub/9924663/+listing-archive-extra

My 2 keys (5+4 Nano) can't response challenge code as follow docs https://support.yubico.com/support/solutions/articles/15000011355-ubuntu-linux-login-guide-challenge-response#4_Associating_the_YubiKey(s)_With_Your_Accounth5yjvi

ykpamcfg
debug: util.c:376 (get_user_challenge_file): Failed to read serial number (serial-api-visible disabled?).

UPDATE: