From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NkcRM-0005M2-88 for garchives@archives.gentoo.org; Thu, 25 Feb 2010 12:03:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92C8BE0C60 for ; Thu, 25 Feb 2010 12:03:35 +0000 (UTC) Received: from sentinel.math.Princeton.EDU (sentinel.math.Princeton.EDU [128.112.16.31]) by pigeon.gentoo.org (Postfix) with ESMTP id CDEC9E0E21 for ; Thu, 25 Feb 2010 11:18:55 +0000 (UTC) Received: from math.princeton.edu ([128.112.18.16]) by sentinel.math.Princeton.EDU with esmtp (Exim 4.69) (envelope-from ) id 1Nkbk6-000206-Vi for gentoo-user@lists.gentoo.org; Thu, 25 Feb 2010 06:18:55 -0500 Received: from math.Princeton.EDU (localhost.localdomain [127.0.0.1]) by math.Princeton.EDU (8.13.8/8.13.8) with ESMTP id o1PBIs9Q007121 for ; Thu, 25 Feb 2010 06:18:54 -0500 Received: (from wwong@localhost) by math.Princeton.EDU (8.13.8/8.13.8/Submit) id o1PBIsZs007118 for gentoo-user@lists.gentoo.org; Thu, 25 Feb 2010 06:18:54 -0500 Date: Thu, 25 Feb 2010 06:18:54 -0500 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gnupg fails to decrypt on kmail Message-ID: <20100225111854.GA6459@math.princeton.edu> References: <201002211450.13952.michaelkintzios@gmail.com> <201002242251.40554.michaelkintzios@gmail.com> <20100225000917.GA14660@math.princeton.edu> <201002250701.14226.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201002250701.14226.michaelkintzios@gmail.com> User-Agent: Mutt/1.4.2.2i X-Archives-Salt: d97f4ddf-b2f5-4de5-88f9-30e41359940e X-Archives-Hash: 102c9711de82f345bb0e4789e062e35a On Thu, Feb 25, 2010 at 07:01:12AM +0000, Mick wrote: > 2010-02-25 06:48:32 gpg-agent[6741] starting a new PIN Entry > gpg-agent[6741]: can't connect server: `ERR 67109133 can't exec > `/usr/bin/pinentry-qt': No such file or directory' > 2010-02-25 06:48:32 gpg-agent[6741] can't connect to the PIN entry module: IPC > connect call failed > Why is it trying to call /usr/bin/pinentry-qt?! > > `ERR 67109133 can't exec `/usr/bin/pinentry-qt' > > Is this a valid binary these days, or an older qt3 version? I think it should > be /usr/bin/pinentry: > > $ ls -la /usr/bin/pinentry > lrwxrwxrwx 1 root root 12 Feb 24 07:01 /usr/bin/pinentry -> pinentry-qt4 Looks like you found your problem. I am not absolutely sure why pinentry-qt is the default now. The man page says that running 'gpg-agent --version' will tell you what the default pinentry program it calls is, and that depends on installation. So maybe file a bug? I don't know whether this is a configuration/USE issue or something hardcoded in the distribution. In any case, two work-arounds are available: *) create a symlink of pinentry-qt to your actual pinentry binary. *) start gpg-agent with the '--pinentry-program' option. Cheers, W -- Willie W. Wong wwong@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton