-
-
Notifications
You must be signed in to change notification settings - Fork 168
Description
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:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
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.