[pkg-gnupg-maint] Bug#796931: Related problem?

Benjamin Eltzner b.eltzner at gmx.de
Sun Nov 1 12:04:43 UTC 2015


Hi,

I think I have a similar problem: I run unstable and enigmail does not
work. The log contains:

2015-11-01 11:41:09.774 [DEBUG] enigmail.js: detectGpgAgent: no
GPG_AGENT_INFO variable set

and in a shell I can confirm that the variable is not set:

~$ echo $GPG_AGENT_INFO

~$

I have not change the file /etc/X11/Xsession.d/90gpg-agent so its
content is as written below. If I understand the discussion so far
correctly, this file is no longer run by default?

I am somewhat inexperienced with shell syntax, system startup and the
architecture of gnupg in debian, so I would be grateful for a simple
explanation how to fix my immediate problem. An awesome extra would be a
beginner-level explanation what went wrong and why, so I may be able to
do better trouble shooting next time.

If my problem is related to another bug or I should open a new bug
report, please tell me.

Cheers, Benjamin

--- APPENDIX: content of my /etc/X11/Xsession.d/90gpg-agent ---

: ${GNUPGHOME=$HOME/.gnupg}

GPGAGENT=/usr/bin/gpg-agent

if grep -qs '^[[:space:]]*use-agent' "$GNUPGHOME/gpg.conf"
"$GNUPGHOME/options"$
test -x $GPGAGENT; then

# Invoking gpg-agent with no arguments exits successfully if the agent
# is already running on the standard socket
if ! $GPGAGENT 2>/dev/null; then
"$GPGAGENT" --daemon
fi
GPG_AGENT_INFO="${GNUPGHOME}/S.gpg-agent:0:1"
export GPG_AGENT_INFO
if grep -qs '^[[:space:]]*enable-ssh-support'
"${GNUPGHOME}/gpg-agent.conf";$
SSH_AUTH_SOCK="${GNUPGHOME}/S.gpg-agent.ssh"
export SSH_AUTH_SOCK
fi
fi



More information about the pkg-gnupg-maint mailing list