Daiki Ueno writes: > wahjava.ml@gmail.com (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. Thanks -- Ashish SHUKLA “We've so many people in India, that we're able to route each network packet manually.” (nobotz)