brush701 / keechallenge

A plugin for KeePass2 to add Yubikey challenge-response capability.
GNU General Public License v3.0
212 stars 26 forks source link

Error getting response from yubikey #37

Open mercury1986 opened 5 years ago

mercury1986 commented 5 years ago

HI I have the following issue: usb-stick with keepass2.41 portable + keechallenge plugin HMAC SHA1 on slot 1 (Fixed 64 byte input and require user input) yubikey 5 NFC keepass.kdbx with masterkey and keyfile: "Yubikey challenge-response"

PC1 win10 1809: insert usb stick --> open keepass.kdbx --> enter masterkey --> press yubikey --> keepass.kdbx opened

PC2 win10 1803: insert same usb-stick --> open keepass.kdbx --> enter masterkey --> Error "Error getting response from yubikey" --> can not open keepass.kdbx

On PC2: I try ykchalresp -1 -t and get an response I try yubico demo auth website --> everthing works

Can you help me to solve the issue?

synologic commented 3 years ago

Seems like a long time to go without an answer :) I have the same issue though ...

eduardable commented 3 months ago

This issue occurs when you have the challenge response on slot 1, but what happens in KeePass is, the slot resets. So if you selected slot 1 initially, when you restart, it gets reset to slot 2. You can change this simply by going to Tools -> KeeChallenge Settings -> Slot 1, then it should work again.

Obviously my response is a bit late for you two, but I hope it might help people in the future.