-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not catching AgentFailureException in client mode #28
Comments
Same error here (using KeeAgent Beta 0.3.3 inside KeePass 2.20.1, pageant v0.62) Exception only occurs if an already existing key is added to pageant.. Looks as if pageant answers with SSH_AGENT_FAILURE in case the key is already loaded. lines 1089-1096 from WINDOWS\WINPGNT.C in putty v0.62 sources: |
@markschuh You are exactly correct. All I can do is get a better error message and point this out in the documentation. |
Fair enough, a valid solution for this isue. It is probably only a corner case. On the other side: As an enhancement request it might work, if first GetAllKeys is executed, I assume it could than be checked, if the new key is already in this list. If yes, AddKey could be skipped. Might introduce new problems, though. |
Should be fixed now. |
The text was updated successfully, but these errors were encountered: