Subject: bug#2412: spurious "Sign failed" errors

From: Daiki Ueno <[email-masked]>
Date: Sun, 22 Feb 2009 05:40:18 +0900

Chong Yidong <[email-masked]> writes:

> Hi Daiki,
>
> This may be a bug in epg, could you take a look?  This is Bug#2412 in
> the Emacs bug tracker.  Thanks.

Thanks for noticing this.

> Sven Joachim <[email-masked]> wrote:
>> | Debugger entered--Lisp error: (error "Sign failed")
>> |   signal(error ("Sign failed"))
>> |   byte-code("<snipped>" [mml2015-epg-secret-key-id-list error password-cache-remove signal] 4)
>> |   mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n")))

It looks like epg is signalling the error.

Sven, could you please try (setq epg-debug t) and show me the contents
of " *epg-debug*" buffer next time you see the error?

Regards,
-- 
Daiki Ueno