Subject: Re: spurious "Sign failed" errors

From: Sven Joachim <[email-masked]>
Date: Thu, 16 Apr 2009 20:56:50 +0200

On 2009-04-16 06:27 +0200, Chong Yidong wrote:

> Hi Sven,
>
> Are you still experiencing these problems?

Sorry for not replying sooner.  Yes, they still persist. :-(

>  If so, please do as Daiki requested:
>
>> could you please try (setq epg-debug t) and show me the contents of
>> " *epg-debug*" buffer next time you see the error?

Looks innocent enough to me:

,----
| gpg --no-tty --status-fd 1 --yes --use-agent --command-fd 0 --armor --textmode --output /tmp/epg-output2077H-b --detach-sign
| [GNUPG:] USERID_HINT ECB679C787E9AABE Sven Joachim (Debian User) <[email-masked]>
| [GNUPG:] NEED_PASSPHRASE ECB679C787E9AABE ECB679C787E9AABE 17 0
| [GNUPG:] GOOD_PASSPHRASE
| [GNUPG:] BEGIN_SIGNING
| [GNUPG:] SIG_CREATED D 17 2 01 1239906974 9AACBC0C69283380715D3788ECB679C787E9AABE
| gpg --no-tty --status-fd 1 --yes --use-agent --command-fd 0 --armor --textmode --output /tmp/epg-output2077UIi --detach-sign
| [GNUPG:] USERID_HINT ECB679C787E9AABE Sven Joachim (Debian User) <[email-masked]>
| [GNUPG:] NEED_PASSPHRASE ECB679C787E9AABE ECB679C787E9AABE 17 0
| [GNUPG:] GOOD_PASSPHRASE
| [GNUPG:] BEGIN_SIGNING
| [GNUPG:] SIG_CREATED D 17 2 01 1239906984 9AACBC0C69283380715D3788ECB679C787E9AABE
`----

IIRC, the first try did show the preview of the test mail, the second
one gave the "Sign failed" error.

Sven