dlech / KeeAgent

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

Crash while loading key #420

Open altheeagle opened 2 months ago

altheeagle commented 2 months ago

I'm in the Manage KeeAgent Window and want to load a Key from KeyPass via the + Symbol I get an Exception:

grafik

Its in German but it translates to: Unhandled exception in the application. Click 'Continue' to ignore the error and continue the application. If you click 'Exit', the application will exit immediately.

Here is what you get when you click on details: KeeAgent_exception.txt

dlech commented 2 months ago

It sounds like you have invalid XML in your KeePass setting file. You should be able to open that file with a text editor and fix it.

In KeeAgent, the best we could do is catch that exception so that it doesn't crash the whole program and fall back to default settings.

altheeagle commented 2 months ago

Thank you for the response. Are you referring to the %appdata%\KeePass\KeePass.config.xml? I've renamed my existing file and used a new one and still get this error. Is there another config File that may cause the Problem? Or maybe an entry inside KeePass?

altheeagle commented 2 months ago

I've got courious and investigted more. It seems that the attached file KeeAgent.settings caused the problem. I attach a modified version of that file to this Post. KeeAgent.settings.txt I have no clue where it came from, but after I deleted it everthing works as expectet. Thanks again for your help and the great work you do here! :)

dlech commented 1 month ago

It looks like you might have accidentally saved a SSH key over the KeeAgent.settings file. Glad to hear you got it working.