From owner-freebsd-ports@FreeBSD.ORG Tue Aug 14 18:02:45 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFB716A41A for ; Tue, 14 Aug 2007 18:02:45 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id C951713C480 for ; Tue, 14 Aug 2007 18:02:44 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so769323nfb for ; Tue, 14 Aug 2007 11:02:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:subject:message-id:mime-version:content-type:from:sender; b=KPlgezoAyYAstdQ+D5r1XQ84x1tAJrUjzXQQbnei9Tknqpyjl/FQiPrPfYThcoMyw7eQWNrWv0ETRrm7N8cyRvt9JaosMFwRu4SETTxRCOXAJFnv08cAe07UHuZWChgfvn3JO/V192uWWMcPpOzmNmFKN8xZEZzRU5VLzuUPC+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:subject:message-id:mime-version:content-type:from:sender; b=ctL/7WWKdKV5TWwrqNdi6ITi8WHKZeh8RP19cjY2RESQA6j2e7215pwjzKteNgPibOqXOvl5/FyElTeonbiQ7MVyFBVG3fEFwdixjEpnNuhHfNLNwFrZh1QhdAfrIoeZGzCHxn/MBixA9IUjDp4w8StePjq8Mrzk9zEJ+kOjbVs= Received: by 10.78.170.6 with SMTP id s6mr2908576hue.1187114551449; Tue, 14 Aug 2007 11:02:31 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id p30sm2409745hub.2007.08.14.11.02.29 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Aug 2007 11:02:30 -0700 (PDT) Received: from asterix.home.rakhesh.com (asterix.home.rakhesh.com [192.168.17.23]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 7577E5080A for ; Tue, 14 Aug 2007 22:02:01 +0400 (GST) Date: Tue, 14 Aug 2007 21:58:29 +0400 (GST) X-X-Sender: rakhesh@asterix.home.rakhesh.com To: freebsd-ports@freebsd.org Message-ID: <20070814214727.P47947@asterix.home.rakhesh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Subject: Unable to get pine-pgp-filters and pinentry-curses to work together X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 18:02:45 -0000 Hi there! I installed mail/pine and security/gnupg from ports. While trying to use gnupg, whenever it needed to ask me for the passphrase, I ran into errors such as the below: gpg-agent[86284]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory' gpg-agent[86284]: can't connect to the PIN entry module: IPC connect call failed gpg-agent[86284]: command get_passphrase failed: No pinentry gpg: problem with the agent: No pinentry gpg: no default secret key: General error gpg: configure: clearsign failed: General error No problems. I installed security/pinentry-curses from ports. I don't have X so the -curses option was the only one I could go with. Once pinentry was installed, things worked fine. --8<-- Two questions here: 1) Why isn't security/pinentry pulled in as a dependency of security/gnupg? Shouldn't that have been the "obvious" thing to do? Or is it possible to bypass pinentry somehow? 2) If I do a "make install" in security/pinentry, it straight away moves onto compiling Qt etc (as dependencies for security/pinentry-qt I suppose). Shouldn't it rather ask me what I want and then accordingly install one of the pinentry-* ports? --8<-- Later, I installed pine-pgp-filters. Now, whenever I send a mail and want to sign/ encrypt it and gnupg has to ask me for the passphrase, it messes my screen up! I get error messages like these: --8<-- pinentry-curses: no LC_CTYPE known - assuming UTF-8 pinentry-curses: no LC_CTYPE known - assuming UTF-8 pinentry-curses: no LC_CTYPE known - assuming UTF-8 pinentry-curses: no LC_CTYPE known - assuming UTF-8 --8<-- And I can't do anything except kill pine. Ctrl-C quits gpg but pine gets hung for some reason and all I can do is kill it. Its obvious that somehow gpg invoking pinentry-curses is what's causing the problem. pinentry-curses and pine do not play well together and so the screen gets messed up and pine hangs. What can I do to work around this? Any suggestions/ ideas? For now the only workaround I've come up with is to install security/gnupg1. That does not require pinentry and so it works well with pine-pgp-filters. Thanks, Rakhesh -- | Rakhesh Sasidharan rakhesh -at- rakhesh.com | | FreeBSD hobbyist http://rakhesh.com/ | | DE91 04D6 82E5 6CF2 797A 1C05 4EC0 E1A0 F166 095A id: F166095A |