dlech / KeeAgent

ssh agent plugin for KeePass 2.x
http://lechnology.com/software/keeagent
Other
522 stars 35 forks source link

Since upgrading to 0.13.6 the agent seems to intermittently stop functioning. #402

Open zoredache opened 3 months ago

zoredache commented 3 months ago

Occasionally the ssh agent will just stop working. I am no longer able to authenticate to things. But I can also easily see this by simply looking at the ssh-add -L command. When I get behavior, if I close and re-open KeePass I can see my keys, and authenticate as expected.

PS > ssh-add -L
Error connecting to agent: No such file or directory

I have seen this behavior on both my home computer, and work computer. One is running Windows 10 Pro, the other Windows 11 Pro with all the latest Windows updates.

Latest version of KeePass 2.56 (64-bit)

Reverting back to 0.13.5 seems to 'fix' the behavior.

Sorry, I don't have much in the way of useful error messages or logs for you. If there is any debugging or logging I could enable to provide more useful details I would love to do that. As it is right now, agent based authentication seems to break for me a couple times a day, and it is pretty irritating.

dlech commented 2 months ago

I just added a debugging section to the docs: https://keeagent.readthedocs.io/en/latest/troubleshooting.html#debugging

Not sure how much info we can get with a release build, but it is worth a try to see if we can see what is happening here. I'm guessing something is causing a background thread to crash.