-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
See also metomi/rose#2483
National Computational Infrastructure now offers an Open OnDemand service that uses GnuPG 2.2.20.
Currently mosrs/setup.py contains
agent = dedent("""
[ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
export GPG_AGENT_INFO
else
eval $( gpg-agent --daemon --allow-preset-passphrase --batch --max-cache-ttl 43200 --write-env-file ~/.gpg-agent-info )
fi
""")
This uses the file ~/.gpg-agent-info to set the environment variable GPG_AGENT_INFO. GnuPG since version 2.1 no longer supports this variable. In fact the way that gpg-agent is launched, as well as how sockets are used, has changed since 2.1. See [1], [2].
I have begun working on a fork of mosrs-setup that supports GnuPG both before and after version 2.1.
Metadata
Metadata
Assignees
Labels
No labels