-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
No prompt for passphrase for git key on windows. #317
Comments
Confiming this issue (Windows 7). I use git with a ssh-key (secured by a password).
It seems QtPass fails to ask for the password for the ssh-key. The FAQ (https://qtpass.org/docs/md__f_a_q.html) says:
I tried to use I also tried
Can @annejan elaborate what needs to be done in the FAQ-Entry "Git doesn't work on Windows"? The workaround from @Wieke works for me, too.
|
The workaround from @Wieke works also for me:
Since I don't edit my passwords on Windows, I only use git pull (in powershell for me). System and tools (installed with chocolatey ;)
|
Hello, A workaround that worked for me is to start a SSH agent in a shell and, then, the qtpass in the same shell. Like this:
Need to test some of the ask pass stuff to see if I get a more elegant solution. |
Why was this closed as completed? The issue remains. |
Since this is not a QtPass issue but a |
@annejan which git client issue? Do you have the link? |
Hi
So I'm using qtPass with git for windows. The key I'm using with git has a passphrase. But when qtPass tries to do something involving git it fails to ask me for my passphrase and shows the following error:
which is the error git shows if you don't enter anything when it asks for a key's passphrase. If I use a key that doesn't have a passphrase the error isn't shown and qtPass works as expected.
Now I'm not exactly sure where the problem lies, but after looking at the links shown below I suspect that SSH needs to be told that it has to use a graphical interface to ask for a password.
https://unix.stackexchange.com/questions/83986/tell-ssh-to-use-a-graphical-prompt-for-key-passphrase
https://stackoverflow.com/questions/10960269/git-ssh-askpass-on-windows
https://github.com/magit/magit/wiki/Pushing-with-Magit-from-Windows#git-gui--askpass
For the time being I'll just disable git in qtPass and sync my password store manually.
The text was updated successfully, but these errors were encountered: