From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gnupg fails to decrypt on kmail
Date: Thu, 25 Feb 2010 07:01:12 +0000 [thread overview]
Message-ID: <201002250701.14226.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20100225000917.GA14660@math.princeton.edu>
On Thursday 25 February 2010 00:09:17 Willie Wong wrote:
> On Wed, Feb 24, 2010 at 10:51:38PM +0000, Mick wrote:
> > Why is this? Invoking gpg to decrypt different (encrypted) files always
> > brings up that socket '/tmp/gpg-pNLb9Y/S.gpg-agent'. Shouldn't it be a
> > different socket each time?
I noticed that this morning (after a reboot) it was looking for a different
socket ...
> Ack, let's do this one step at a time then. First let's try to figure
> out the problem with the gpg-agent.
[snip...]
> In a new prompt, first paste the variable, then type gpg -vv *file*
============================================
$ gpg-agent --daemon --no-detach --debug-level guru --log-file gpg-agent.log
gpg-agent[6740]: enabled debug flags: command mpi crypto memory cache memstat
hashing assuan
GPG_AGENT_INFO=/tmp/gpg-5Tgf3a/S.gpg-agent:6741:1; export GPG_AGENT_INFO;
============================================
This is now what the log shows:
============================================
2010-02-25 06:45:53 gpg-agent[6740] listening on socket
`/tmp/gpg-5Tgf3a/S.gpg-agent'
2010-02-25 06:45:53 gpg-agent[6741] gpg-agent (GnuPG) 2.0.14 started
2010-02-25 06:48:32 gpg-agent[6741] handler 0x98caa38 for fd 7 started
gpg-agent[6741.7] DBG: -> OK Pleased to meet you
gpg-agent[6741.7] DBG: <- RESET
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION ttyname=/dev/pts/3
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION ttytype=rxvt
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION display=:0.0
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION lc-ctype=C
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION lc-messages=C
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- OPTION allow-pinentry-notify
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[6741.7] DBG: -> OK
gpg-agent[6741.7] DBG: <- GET_PASSPHRASE --data --repeat=0 --
A7029FW0V2G567G225FST52689GV822Rf230gkw8F X X
Please+enter+the+passphrase+to+unlock+the+secret+key+
for+the+OpenPGP+certificate:%0A%22me+<me@gmail.com>%22%0A2048-bit+ELG+key,
+ID+XXXXXXXX,%0Acreated+2010-01-25+(main+key+ID+YYYYYYY).%0A
2010-02-25 06:48:32 gpg-agent[6741] DBG: agent_get_cache
`A7029FW0V2G567G225FST52689GV822Rf230gkw8F'...
2010-02-25 06:48:32 gpg-agent[6741] DBG: ... miss
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
2010-02-25 06:48:32 gpg-agent[6741] command get_passphrase failed: No pinentry
gpg-agent[6741.7] DBG: -> ERR 67108949 No pinentry <GPG Agent>
gpg-agent[6741.7] DBG: <- [EOF]
2010-02-25 06:48:32 gpg-agent[6741] handler 0x98caa38 for fd 7 terminated
============================================
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
Please note that the: "Please+enter+the+passphrase+to+unlock+the+secret+key"
does not show up on the screen even when I use the gpg -vv option.
--
Regards,
Mick
next prev parent reply other threads:[~2010-02-25 7:12 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 [this message]
2010-02-25 11:18 ` Willie Wong
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=201002250701.14226.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--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