trustcrypto / OnlyKey-Firmware

The OnlyKey Firmware runs on the OnlyKey itself and provides the core functionality of OnlyKey.
https://docs.crp.to/firmware.html
219 stars 41 forks source link

Onlykey not outputting correct Yubikey #46

Closed PyRoAcIdK closed 7 years ago

PyRoAcIdK commented 7 years ago

Hi Team,

My Yubikey has been setup twice, however I have the same problem. I can see the new public key, registered and checked with the original Yubikey, it validates successfully.

I have programmed the OnlyKey, the public part of the key is correct, however, when I generate code, it unsuccessfully validates.

Can you please provide any advice?

Thank you

onlykey commented 7 years ago

@PyRoAcIdK Do you have the same key loaded on both your Yubikey and OnlyKey? If so this is the issue Yubikey is counter based, if you have the same key on two devices one of them will have an out of sync counter.