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

Matthieu Weber mweber at free.fr
Thu Mar 20 09:12:15 CET 2014

On Thu 20.03.2014 at 01:53:03AM -0600, Jason A. Donenfeld wrote:
> Pass requires gpg2. I think. If you can demonstrate to me that all
> code paths use no gpg2-specific features, I'll make it support both.
> But I *think* long ago I was relying on a gpg2-only argument
> somewhere.

It's the --batch option, but it's needed only if you have a gpg-agent
running. I sent a patch on August 12th, 2013 (which went unnoticed it
seems, but being new to the list at the time, I didn't dare insist on
it) that selects gpg by default, selects gpg2 if it is available, and
uses the --batch option only if a gpg-agent is present. This allows me
to use pass on my N900, which has no agent support (and no gpg2).

 (~._.~)            Matthieu Weber - mweber at free.fr              (~._.~)
  ( ? )                http://weber.fi.eu.org/                    ( ? ) 
 ()- -()          public key id : 0x85CB340EFCD5E0B3             ()- -()
 (_)-(_) "Humor ist, wenn man trotzdem lacht (Otto J. Bierbaum)" (_)-(_)

More information about the Password-Store mailing list