Skip to content
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

Keepass is blocked when downloading database using sftp (IOProtocolExt) #14

Closed
cyrillep opened this issue Oct 10, 2012 · 4 comments
Closed
Labels

Comments

@cyrillep
Copy link

I have installed keeagent and it works fine when i'm using a local database. However, when i try to open a database using sftp, keepass is blocked and does not respond.
When i remove the keeagent plugin, it works fine.

I have tried lauching keepass adding --debug and --saveplgxcr options but it did not gave me additional information about the issue.

Does someone already had this kind of issue?
Thanks,
Cyrille

@dlech
Copy link
Owner

dlech commented Oct 12, 2012

I have tried this out and see what you are talking about. I am surprised that no one else has reported this issue yet.

I think I know what the problem is. It will take me some time to fix it though.

In the meantime, I found a workaround. In your KeePass directory where you installed the IOProtocolExt.plgx, there is a folder called IOProtocoloExt_WinSCP. Open that directory and add the following to the end of the WinSCP.ini file.

[Sessions\Default%20Settings]
TryAgent=0

For anyone interested in the technical details, the IOProtocolExt is blocking the main thread while it is attempting to login to your sftp server using WinSCP. WinSCP tries to first authenticate using Pageant before trying the password. KeeAgent tries to respond to this but cannot because the main thread is blocked due to IOProtocolExt. KeePass is now locked up.

@dlech
Copy link
Owner

dlech commented Oct 14, 2012

Give v0.2.0 a try. http://lechnology.com/KeeAgent#Download

@cyrillep
Copy link
Author

Hi, thanks for the fix.
I have tried version 0.2.0 and it works perfectly.
Cyrille

@dlech
Copy link
Owner

dlech commented Oct 18, 2012

You are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants