[pkg-gnupg-maint] Bug#861050: Bug#861050: gnupg-agent: GPG_AGENT_INFO is not set according to /etc/X11/Xsession.d/90gpg-agent

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Apr 25 20:21:21 UTC 2017


Control: tags 861050 + moreinfo

On Mon 2017-04-24 02:24:37 +0200, does not starts wrote:

> Upon xsession start I need to have variable GPG_AGENT_INFO for one older
> program as described in
> https://wiki.debian.org/Teams/GnuPG/UsingGnuPGv2#GPG_AGENT_INFO_variable

What older program do you need this for?  We should fix that program.

> It should be probably done through the script /etc/X11/Xsession.d/90gpg-agent.
> But is not. Manual execution of commands from this script:
>   agent_sock=$(gpgconf --list-dirs agent-socket)
>   export GPG_AGENT_INFO=${agent_sock}:0:1
> sets this variable properly.
>
> Why is script /etc/X11/Xsession.d/90gpg-agent not automatically parsed?

how does your start X11?  do you have a display manager? if so, which
one?  do you log in from the text-mode console?

      --dkg



More information about the pkg-gnupg-maint mailing list