From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 3 18:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B81467C3 for ; Sat, 3 Aug 2013 18:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9621E2950 for ; Sat, 3 Aug 2013 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r73IA0vj008012 for ; Sat, 3 Aug 2013 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r73IA0oU008011; Sat, 3 Aug 2013 18:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 3 Aug 2013 18:10:00 GMT Resent-Message-Id: <201308031810.r73IA0oU008011@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Laabs Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 90BAD2E1 for ; Sat, 3 Aug 2013 18:00:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EECD28EE for ; Sat, 3 Aug 2013 18:00:16 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r73I0FEK021823 for ; Sat, 3 Aug 2013 18:00:15 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r73I0Fj3021814; Sat, 3 Aug 2013 18:00:15 GMT (envelope-from nobody) Message-Id: <201308031800.r73I0Fj3021814@oldred.freebsd.org> Date: Sat, 3 Aug 2013 18:00:15 GMT From: Martin Laabs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181005: mail/thunderbird - Enigmail failes to start pinentry X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2013 18:10:00 -0000 >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@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 [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: