ports/181005: mail/thunderbird - Enigmail failes to start pinentry

Martin Laabs spamtrap at martinlaabs.de
Sat Aug 3 18:10:00 UTC 2013


>Number:         181005
>Category:       ports
>Synopsis:       mail/thunderbird - Enigmail failes to start pinentry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 03 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Martin Laabs
>Release:        9.1-RELEASE-p3
>Organization:
-
>Environment:
FreeBSD pc 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Hi,

I use the enigmail plugin that is "compiled into" the thunderbird port by selecting the enigmail option in the make config menu.
Every time enigmail needs my passphrase the operation fails. When enabling the debugging option it gets clear what happens:

[...]
2013-08-03 19:45:52.822 [DEBUG] enigmailCommon.jsm: decryptMessageEnd: stderrStr=Warning: using insecure memory!
[GNUPG:] ENC_TO 48XXXXXXXXXXC 1 0
[GNUPG:] USERID_HINT 48XXXXXXXXXXXXC Martin Laabs <uni at martinlaabs.de>
[GNUPG:] NEED_PASSPHRASE 48XXXXXXXXXXXC E3XXXXXXXXXXXX63 1 0
No protocol specified

(pinentry:63844): Gtk-WARNING **: cannot open display: :0
gpg-agent[63843]: can't connect to the PIN entry module: Dateiende
gpg-agent[63843]: command get_passphrase failed: Kein Pinentry
gpg: Problem mit dem Agenten: Kein Pinentry
[GNUPG:] ERROR get_passphrase 85
[GNUPG:] MISSING_PASSPHRASE
[...]

Calling "xhost +" solves the problem but obvious this is not the solution for that problem.

Since I use PC-BSD I'm not sure if this problem is specific to the PBI packages (which reside not in /usr/local but in /usr/pbi/thunderbird...) but I think this bug is more general. Any ideas how to debug this problem more in detail are welcome. If you are sure this is PC-BSD specific I will post the  bug to the PC-BSD developers.
>How-To-Repeat:
Configure thunderbird 17.0.7 with the integrated enigmail support (enigmail 1.5.1) and configure enigmail. Enable the debugging output in the OpenPGP->Preferences Debugging Tab and run an operation that requires your passphrase (i.e. decrypting an e-mail)

>Fix:
Enable X11 access with xhost+ but this is a big security issue...

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list