[pass] Override GPG path

Kjetil Torgrim Homme kjetil.homme at redpill-linpro.com
Tue Aug 2 22:25:41 CEST 2016


On 08/02/2016 07:11 PM, Allen Li wrote:
> Would pass's maintainer/users be open to adding a feature to overriding
> the path to the GnuPG binary?  This does add some complexity, but I
> think it is worth adding, for example if a user needs to use a custom
> compiled binary sitting outside of the PATH.
>
> My own use case is to force pass to use gpg even though gpg2 is
> installed (for other reasons I won't go into), but I think generally
> being able to configure GPG's path is a useful feature to have.
>
> Any thoughts?

mkdir ~/bin
ln -s /opt/gpg/bin/gpg ~/bin/gpg2
export PATH=$HOME/bin:$PATH

:-)

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game


More information about the Password-Store mailing list