[Bug 1257706] Re: gpg-agent environment variables not correctly exported
Mark Adams
mark at markadams.me
Sun Apr 26 12:57:11 UTC 2015
Please let me know if I didn't do this merge proposal correctly, this is
my first one.
https://code.launchpad.net/~kramsmada/ubuntu/vivid/gnupg2/1407513-gpg-
agent-set-ssh-env-vars/+merge/245538
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1257706
Title:
gpg-agent environment variables not correctly exported
Status in gnupg2 package in Ubuntu:
Confirmed
Bug description:
Since Ubuntu 13.10, there is an Upstart script /usr/share/upstart/sessions/gpg-agent.conf which launches the gpg-agent daemon and then export the GPG_AGENT_INFO environment variable:
initctl set-env --global GPG_AGENT_INFO=$GPG_AGENT_INFO
This is enough to prevent the /etc/X11/Xsession.d/90gpg-agent script from launching gpg-agent itself, but it's not enough to actually use gpg-agent, you also need to export SSH_AUTH_SOCK and SSH_AGENT_PID.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1257706/+subscriptions
More information about the Ubuntu-sponsors
mailing list