On 09/09/2016 05:55 AM, Stephan Beck wrote: > AFAIK, this means that the agent is not started when you "invoke gpg2 > normally" (directly from the command line?), so the environment may be > incorrectly set. Or is there more than one agent instance running?
When gpg2 is called, the agent appears to start normally. antony@050415:~$ sudo ps -aux | grep gpg-agent | grep -v grep antony 1717 0.0 0.0 174064 808 ? Ss 13:33 0:00 /usr/local/bin/gpg-agent > What does a > gpg-agent --daemon --write-env-file > output in terms of GPG-AGENT_INFO? > Is the correct socket being used? antony@050415:~$ gpg-agent --daemon --write-env-file gpg-agent[3176]: WARNING: "--write-env-file" is an obsolete option - it has no effect gpg-agent[3177]: gpg-agent (GnuPG) 2.1.15 started antony@050415:~$ echo $GPG_AGENT_INFO /run/user/1000/keyring-Hs60Gh/gpg:0:1 > And you symlinked /usr/bin/pinentry and the pinentry you might actually use? antony@050415:~$ ls -la /usr/bin/pinentry lrwxrwxrwx 1 root root 26 Sep 12 13:51 /usr/bin/pinentry -> /etc/alternatives/pinentry antony@050415:~$ ls -la /usr/local/bin/pinentry lrwxrwxrwx 1 root root 26 Sep 12 13:51 /usr/local/bin/pinentry -> /etc/alternatives/pinentry antony@050415:~$ /etc/alternatives/pinentry OK Your orders please -- Antony Prince Key ID: 0xAF3D4087301B1B19 Fingerprint: 591F F17F 7A4A A8D0 F659 C482 AF3D 4087 301B 1B19 URL: http://pool.sks-keyservers.net/pks/lookup?op=get&search=0xAF3D4087301B1B19
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
