Issue1402 - gpg-protect-tool doesn't pass DISPLAY to agent

Gaetan Bisson bisson at archlinux.org
Fri Oct 12 05:48:42 CEST 2012


Dear GnuPG developers,

I was wondering if you had made a decision regarding:

	https://bugs.g10code.com/gnupg/issue1402

The reporter suggested a simple patch, but apparently could not find the
time to explain it; however he has done so concisely there:

	https://bugzilla.redhat.com/show_bug.cgi?id=548528#c43

	"The problem was gpg-protect-tool (PKCS#12 helper called by
	gpgsm to decrypt the source bundle) was not initialising
	session_env properly and that prevented
	send_pinentry_environment() from doing its job (passing relevant
	environment vars like DISPLAY to agent and in turn, pinentry),
	so pinentry-qt had no clue which X session to use and either
	bailed out or possibly popped the curses fallback interface
	somewhere."

I believe Fedora has applied that patch to their recent packages, and we
(Arch Linux) are contemplating doing the same as our users have been
hitting the same issue lately. But I wanted to double check the status
of that patch with you before actually applying it.

Cheers.

-- 
Gaetan



More information about the Gnupg-devel mailing list