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=tliko...@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to