brush701/keechallenge

Error connecting to yubikey

zabszk opened this issue · 2 comments

Plugin can't connect to my yubikey 4 ("Error connecting to yubikey!" box appears). I have HMAC SHA1 on slot 2 (Fixed 64 byte input and require user input).
Yubikey firmware version: 4.3.4.
Keepass version: 2.36
OS: Windows 10 Creator's update

Thank you very much in advance for your help.

I have noticed the same problem On any KeePass > 2.34 .If I update to 2.35 the box reports Error connecting to yubikey!" however if I downgrade back to 2.34 it works again. I have tried with multiple free installs as well as portable and full install versions.

I have done some more debugging and determined that yk_challenge_response is not returning a 1 anymore so its failing. Digging further down the function yk_read_response_from_key is failing inside of yk_challenge_response but I can't seem to make a copy of the yuibkey dlls that I can test why

Hopefully someone else can figure out why yk_read_response_from_key fails on 2.35+ but not 2.34