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

Yubikey core error: no yubikey present #122

Open lattice0 opened 5 years ago

lattice0 commented 5 years ago

I'm getting

Yubikey core error: no yubikey present

the probem is that the yubikey appears in lsusb

I'm using the latest raspbian desktop in raspberry pi

klali commented 5 years ago

This might be a permissions issue. Do you have the udev fies installed?

elyscape commented 5 years ago

I get this if I try to retrieve the serial number from a Yubikey that has had slot 1 either deleted or made dormant.

PTPPedro commented 4 years ago

I have the same issue, I've done quite a bit of debugging including building yubikey-personalization from the repo yesterday - no change. I have some details here which I can copy into the bug report if desirable?

Paradoxis commented 3 years ago

As mentioned by the stackoverflow question pinned by @PTPPedro:

The security key only has FIDO / U2F support so ykpersonalize/ykinfo does not work with it.

So as far as I've noticed, it's just the case of a very misleading error message, the device is present but it might not be compatible with ykpersonalize. To verify that your device actually recognizes the device you can try using ykman:

$ ykman list --serials