[pkg-gnupg-maint] Bug#848966: enigmail needs "gnupg-agent --use-standard-socket"

Harald Dunkel harald.dunkel at aixigo.de
Wed Dec 21 10:34:23 UTC 2016


Package: gnupg2
Version: 2.0.26-6+deb8u1

To make pinentry work enigmail needs a gpg-agent started with
"--use-standard-socket", but /etc/X11/Xsession.d/90gpg-agent
ignores the appropriate setting in .gnupg/gpg-agent.conf . The
command gpg-agent command line (as shown by ps -ef) is

/usr/bin/gpg-agent --daemon --sh --write-env-file=/home/user/.gnupg/gpg-agent-info-hostname.example.com /usr/bin/dbus-launch --exit-with-session /home/user/.xsession

If I kill this gpg-agent and start a new one using

/usr/bin/gpg-agent --use-standard-socket --daemon --sh --write-env-file=/home/user/.gnupg/gpg-agent-info-hostname.example.com /usr/bin/dbus-launch --exit-with-session /home/user/.xsession

then enigmail is happy.


gpg-agent.conf:

	###+++--- GPGConf ---+++###
	default-cache-ttl 300
	max-cache-ttl 3000
	###+++--- GPGConf ---+++### Wed Aug 13 09:01:21 2014 CEST
	# GPGConf edited this configuration file.
	# It will disable options before this marked block, but it will
	# never change anything below these lines.

	default-cache-ttl 36000
	default-cache-ttl-ssh 36000
	max-cache-ttl 36000
	max-cache-ttl-ssh 36000

	use-standard-socket


Regards
Harri



More information about the pkg-gnupg-maint mailing list