On 26.02.2020 10:57, Andreas Kusalananda Kähäri wrote:
On Wed, Feb 26, 2020 at 09:37:53AM +0000, Shadrock Uhuru wrote:
> > ---------------------------------------------------------------------------
> >
> > shadrock

yes i have gpg2 installed

gpg-agent.conf has cat .gnupg/gpg-agent.conf

default-cache-ttl 300
max-cache-ttl 999999

and i've added export GPG_TTY=$(tty) ~/.profile

but still no joy.



Do you *also* have gpg installed?  If I remember correctly, pass tries
to use gpg rather than gpg2 if gpg is installed when installing pass.

Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden


Hi yes i also have gpg installed,
i see this at the beginning of the pass script :-

"--compress-algo=none" "--no-encrypt-to" )
export GPG_TTY="${GPG_TTY:-$(tty 2>/dev/null)}"
which gpg2 &>/dev/null && GPG="gpg2"
[[ -n $GPG_AGENT_INFO || $GPG == "gpg2" ]] && GPG_OPTS+=( "--batch"
"--use-agent" )

which looks like gpg2 is used if it is installed.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to