wrong gpg-agent version running?

Teemu Likonen tlikonen at iki.fi
Thu Jul 11 15:41:04 CEST 2019


Matthias Herrmann [2019-07-11T01:33:43+02] wrote:

> 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)

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

I believe it's because there is gpg-agent.socket unit which activates
gpg-agent.service which has the path /usr/bin/gpg-agent. To override
that create a unit "drop-in" file:

    # Filename:
    #   ~/.config/systemd/user/gpg-agent.service.d/my.conf
    # or
    #   /etc/systemd/user/gpg-agent.service.d/my.conf

    [Service]
    ExecStart=/usr/local/bin/gpg-agent --supervised
    ExecReload=/usr/local/bin/gpgconf --reload gpg-agent

Test if it's found with "systemctl --user cat gpg-agent.service". Maybe
also "killall gpg-agent" if you have something left from your previous
settings.

-- 
///  OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450
//  https://keys.openpgp.org/search?q=tlikonen@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190711/c1038584/attachment.sig>


More information about the Gnupg-users mailing list