emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus + GPG integration broken after revision 102412.


From: Daniel Dehennin
Subject: Re: Gnus + GPG integration broken after revision 102412.
Date: Tue, 21 Dec 2010 18:53:02 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

address@hidden (Ashish SHUKLA) writes:

> Daiki Ueno writes:
>> address@hidden (Ashish SHUKLA) writes:
>
>>> I'm having problem sending GPG signed mails in Emacs bzr revision 1024640.
>>> 
>>> Debugger entered--Lisp error: (error "Sign failed: ((exit))")
>>> signal(error ("Sign failed: ((exit))"))
>
>> Could you try again with (setq epg-debug t) and provide the contents of
>> buffer " *epg-debug*" (note that the first letter is a white space)?
> #v+
> /usr/local/bin/gpg2 --no-tty --status-fd 1 --yes --use-agent --command-fd 0 
> --armor --textmode --output /tmp/epg-output62957uOj --detach-sign -u 
> 1F2F8410762E5E74
> Warning: using insecure memory!
> gpg: skipped "1F2F8410762E5E74": Unusable secret key
> [GNUPG:] INV_SGNR 9 1F2F8410762E5E74
> gpg: signing failed: Unusable secret key
> #v-
> The above mentioned key id belongs to my GPG key which I revoked, but it's
> still present in my system to decrypt old content encrypted with it. Any ideas
> how I can switch to other GPG user ID (the one which is used to sign this
> email) ?
>
>>> I've tracked it down to change in lisp/gnus/mml2015.el in
>>> r102412[1]. To be able to send GPG signed emails, I've to defun the
>>> "mml2015-epg-sign" function From revision 102411 of
>>> lisp/gnus/mml2015.el.
>
>> Cc'ed Daniel, who is the author of that change.

Maybe you signed your email based on the default-key option in gpg.conf,
my change use the sender address in addition to mml2015-signers.

If you have more than one key for an e-mail address you may (setq
mm-sign-option 'guided) to choose which key to use.

Another option may be to remove that email address from the key, it will
not be picked up for signing but still usable to decrypt?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpJ65VlIO7jR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]