public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Willie Wong <wwong@Math.Princeton.EDU>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gnupg fails to decrypt on kmail
Date: Thu, 25 Feb 2010 06:18:54 -0500	[thread overview]
Message-ID: <20100225111854.GA6459@math.princeton.edu> (raw)
In-Reply-To: <201002250701.14226.michaelkintzios@gmail.com>

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

<snip>

> 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



  reply	other threads:[~2010-02-25 12:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-21 14:50 [gentoo-user] gnupg fails to decrypt on kmail Mick
2010-02-21 15:08 ` Willie Wong
2010-02-21 15:32   ` Mick
2010-02-21 17:01     ` Willie Wong
2010-02-22  6:49       ` Mick
2010-02-24 11:31         ` Mick
2010-02-24 14:48           ` Willie Wong
2010-02-24 15:03           ` Willie Wong
2010-02-24 22:51             ` Mick
2010-02-25  0:09               ` Willie Wong
2010-02-25  7:01                 ` Mick
2010-02-25 11:18                   ` Willie Wong [this message]
2010-02-25 20:45                     ` Mick
2010-02-26  1:08                       ` Willie Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100225111854.GA6459@math.princeton.edu \
    --to=wwong@math.princeton.edu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox