-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
SSH, Error: Failed to decrypt #208
Comments
See my comment on #209 I think your GPG install is unlinked (Homebrew issues) |
Hm, this is on Linux and installed through "go get". Could still be related, though? And:
|
In my case $ which gpg2
/usr/local/bin/gpg2 but the terminal based pinentry window does not show up |
Same issue, no prompt and "failed to decrypt". Everything is fine with the decrypt command showed in debug mode and I've got the prompt. No issue on my linux installation (fedora 26), I only have the issue with mac os x. |
I had the opposite problem. Using Fedora 26 KDE, gopass would only decrypt when the private key was unlocked but it was fine with macOS. I would just receive, "Failed to decrypt" and no pinentry (curses) prompt would display. Installing and switching to pinentry-qt worked for me. I correctly receive the prompt and the key is unlocked. That leads me to believe (along with the OP) that gopass has issues with pinentry-curses. |
@nathandorsey good call ! pinentry-qt is my default pinentry on my fedora. I switched to pinentry-mac on the Mac and it's now ok.
Forcing pinentry-curse in the gpg conf does not help. (pass is working with pinentry-curse) |
I did some debugging using
|
Can confirm that @simonpersson's workaround works well. |
When using the |
An easier solution is to install gpgtools with |
Hello!
I seem to be having issues decrypting my passwords over ssh:
However, after doing this:
It works with gopass again until timeout, I believe:
I'm guessing it fails at starting the terminal based pinentry window? Any known reason for this?
Version info: gopass HEAD (n/a ) go1.8.3
Linux
The text was updated successfully, but these errors were encountered: