[pass] I had to change GPG="gpg" to GPG="gpg2"

Matt Haggard haggardii at gmail.com
Thu Mar 6 05:03:57 CET 2014


After installing pass with `sudo apt-get install pass` I kept getting
this error:

gpg: can't query passphrase in batch mode
gpg: decryption failed: secret key not available

After searching around, I found someone suggesting that I change

GPG="gpg"

to

GPG="gpg2"

in /usr/bin/pass line 122 and installing gnupg2 with aptitude.  Is
there a way to make pass install gnupg2 or at least a version of gpg 1
that works.

$ gpg --version
gpg (GnuPG) 1.4.11

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

Thanks for a great utility!

Matt


More information about the Password-Store mailing list