You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use it on my mac and I get the following error while trying to show a password
$ GOPASS_DEBUG=true gopass show ale
[DEBUG] Loaded config from /Users/aarnodo/.config/gopass/config.yml: &{AlwaysTrust:true AskForMore:false AutoImport:true AutoPull:true AutoPush:true ClipTimeout:45 Debug:false FsckFunc:<nil> ImportFunc:<nil> LoadKeys:true Mounts:map[] NoColor:false NoConfirm:false Path:/Users/aarnodo/.password-store PersistKeys:true SafeContent:false Version:}
[DEBUG] gpg.listKeys: /usr/local/bin/gpg2 [/usr/local/bin/gpg2 --with-colons --with-fingerprint --fixed-list-mode --list-public-keys noname (This is a key I only use to encrypt my passwords. Not to be shared) <noname@example.com>]
[DEBUG] gpg.Decrypt: /usr/local/bin/gpg2 [/usr/local/bin/gpg2 --quiet --yes --compress-algo=none --no-encrypt-to --no-auto-check-trustdb --decrypt /Users/aarnodo/.password-store/ale.gpg]
Error: Failed to decrypt
if I try to show the password using pass, after I've insert the master password in the prompt, I am able to see it.
If I now try tu use gopass, I am also to see the password as well. I guess because the gpg master password is cached, and gopass does not try anymore to display the prompt
FYI, I think this is due to the Homebrew formula updating GPG. The tell-tale sign for me was
$ which gpg2
gpg2 not found
Run brew doctor and see if gnupg is listed as unlinked. This was true for me.
brew link --overwrite --dry-run gnupg
Would remove:
/usr/local/bin/dirmngr -> /usr/local/Cellar/dirmngr/1.1.1_2/bin/dirmngr
/usr/local/bin/dirmngr-client -> /usr/local/Cellar/dirmngr/1.1.1_2/bin/dirmngr-client
/usr/local/share/man/man1/dirmngr-client.1 -> /usr/local/Cellar/dirmngr/1.1.1_2/share/man/man1/dirmngr-client.1
$ brew link --overwrite gnupg
Linking /usr/local/Cellar/gnupg/2.1.22... 71 symlinks created
## Now gpg2 is properly symlinked
gpg2
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: Go ahead and type your message ...
^C
gpg: signal Interrupt caught ... exiting
Now that gpg2 is properly symlink, gopass should be able to reach it. My errors stopped.
Activity
vesparny commentedon Jul 24, 2017
I guess it's a duplicate of #208
jamesboswell commentedon Jul 29, 2017
FYI, I think this is due to the Homebrew formula updating GPG. The tell-tale sign for me was
Run
brew doctorand see if gnupg is listed as unlinked. This was true for me.Now that gpg2 is properly symlink, gopass should be able to reach it. My errors stopped.
Document Error: Failed to decrypt
Document Error: Failed to decrypt