wrong gpg-agent version running?

Matthias Herrmann hoermi at gmail.com
Thu Jul 11 01:33:43 CEST 2019


Hello

I've recently upgraded to Debian buster, and then upgraded gpg by
downloading and installing the new version 2.2.17.
Now, I get this warning:

> gpg: WARNING: server 'gpg-agent' is older than us (2.2.12 < 2.2.17)

$ gpg --version
gpg (GnuPG) 2.2.17
libgcrypt 1.8.4

$ which gpg-agent
/usr/local/bin/gpg-agent

$ /usr/local/bin/gpg-agent --version
gpg-agent (GnuPG) 2.2.17
libgcrypt 1.8.4

$ gpgconf --list-dirs
sysconfdir:/usr/local/etc/gnupg
bindir:/usr/local/bin
libexecdir:/usr/local/libexec
libdir:/usr/local/lib/gnupg
datadir:/usr/local/share/gnupg
localedir:/usr/local/share/locale
socketdir:/run/user/1000/gnupg

$ whereis gpg-agent
gpg-agent: /usr/bin/gpg-agent /usr/local/bin/gpg-agent
/usr/share/man/man1/gpg-agent.1.gz

and:
$ /usr/bin/gpg-agent --version
gpg-agent (GnuPG) 2.2.12
libgcrypt 1.8.4

$ echo $PATH
/usr/local/bin /usr/bin /bin /usr/local/games /usr/games

I've even tried to add agent-program /usr/local/bin/gpg-agent to gpg.conf

I don't know why the "wrong" agent gets started, can you please help me?

-Hermi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190711/0d96adde/attachment.sig>


More information about the Gnupg-users mailing list