[mutt+gpg-agent+pinentry] command get_passphrase failed:
Unknown system error
Ed Schouten
ed at fxq.nl
Tue Mar 21 17:18:56 CET 2006
* Ed Schouten <ed at fxq.nl> wrote:
> Because sending email would also come in handy, I installed pinentry.
> After finally getting gpg-agent and pinentry up and running, I still
> can't send any email with Mutt.
>
> When I compose a new message, which is signed by Mutt and press the 'y'
> button (send), I get a fancy pinentry dialog. For some reason, gpg-agent
> cannot figure out the passphrase. Mutt shows the following error:
>
> | error signing data: Bad passphrase?
>
> gpg-agent logs the following message:
>
> | 2006-03-20 22:57:18 gpg-agent[62511] command get_passphrase failed: Unknown system error
>
> I looked through the gpg-agent sourcecode and added some log_error()'s
> to it. A faulty return value is raised in the following piece of code in
> query.c, line 516:
>
> | assuan_begin_confidential (entry_ctx);
> | rc = assuan_transact (entry_ctx, "GETPIN", getpin_cb, &parm, NULL, NULL, NULL, NULL);
> | if (rc)
> | {
> | xfree (parm.buffer);
> | return unlock_pinentry (map_assuan_err (rc));
> | }
>
> assuan_transact() returns a non-zero value. I tried using the pinentry
> utility from the console, but GETPIN works okay. Is this a known issue?
It looks like I found the bug. I built the GTK2 version of the pinentry
application instead of the curses one and that one works fine. The bug
is probably in the pinentry curses code.
Yours,
--
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060321/50ed63f3/attachment.pgp
More information about the Gnupg-devel
mailing list