[Bug 1257706] Re: gpg-agent environment variables not correctly exported
neagix
neagix at gmail.com
Sat Jan 24 18:46:32 UTC 2015
I have recently updated my blog post/rant about this whole class of
issues.
For users/developers that want a recap and a working approach:
http://neagix.blogspot.co.uk/2014/09/setup-gpg-smartcard-reader-in-ubuntu-14.html
Feel free to merge the proposed xsession script, if you evaluate it to
be of enough quality.
** Attachment added: "91-custom-gpg-agent"
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1257706/+attachment/4305003/+files/91-custom-gpg-agent
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
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 foundations-bugs
mailing list