Mailing List Archive

gpg-agent not working properly
Hi,

I am trying to use a model called JULES which makes use of GPG Agent to cache Subversion passwords. My colleague Toby at UKCEH uses this system and it works fine using GPGvn2.0.22, but apparently, this version of GPG reached its end of life in 2017 according to https://www.gnupg.org/download/ and is no longer supported (the current version is 2.3.7). I have installed v2.2.4 of GPG but I find that I cannot cache my password through Subversion (see screenshot).

Looking online, there seems to be a problem with versions after v2.1.11 (according to https://askubuntu.com/questions/819184/gpg-agent-not-working-since-16-04-upgrade ) because (as far as I understand it) GPG no longer sets the environment variable $GPG_AGENT_INFO and therefore this system of caching passwords no longer works.

MY QUESTION: is there any way of changing the settings on GPGv2.2.4 to allow this environment variable to be set and therefore allow passwords to be cached as in earlier versions?

Thank you
Re: gpg-agent not working properly [ In reply to ]
Hi

On Friday, 23 September 2022 12:01:18 BST Tsilimigkras Athanasios wrote:
> MY QUESTION: is there any way of changing the settings on GPGv2.2.4 to allow
> this environment variable to be set and therefore allow passwords to be
> cached as in earlier versions?

No. But if you are using other programs that depend on that variable being
present (such as SVN), you can easily set that variable yourself:

export GPG_AGENT_INFO=$(gpgconf --list-dirs agent-socket)::

Which version of SVN are you using, though? Because recent versions seem to
have been updated to look for GnuPG Agent’s socket at the correct places in
the absence of the GPG_AGENT_INFO variable.

- Damien