Closed dpmatthews closed 3 months ago
Actually this may be sufficient to allow the existing code to work with 2.1+:
GPG_AGENT_INFO=$(gpgconf --list-dirs | sed -n 's/agent-socket:\(.*\)/\1/p')
Given that we already rely on custom scripts to set this up, this seems a reasonable solution.
Needs further testing and updated instructions.
Tested with gpg-agent 2.2 & 2.3. Updated mosrs-setup-gpg-agent
attachment on SRS. No changes required to Rose.
rosie currently uses the environment variable
GPG_AGENT_INFO
to determine the gpg-agent socket. This works with 2.0 but not 2.1+: https://dev.gnupg.org/source/gnupg/browse/master/NEWS