Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 ya No GPG secret key for xxx

open
nobody
None
5
2004-10-15
2004-10-15
Randy Bush
No

freebsd 6-current on i386
gnupg-1.2.4_1
gnupg-idea-1.0.6
mailcrypt-3.5.8_2
VM 7.19 under 21.3.1

i can verify signed messages. but if i try to sign, i
get the dreaded "No GPG secret key for xxx"

i can crypt/sign with gpg from the command line of same
user invironment that invoked emacs. i had no luck
forcing the key-id, e.g.

in ~/.emacs
(require 'mailcrypt)
(autoload 'mc-install-write-mode "mailcrypt" nil t)
(autoload 'mc-install-read-mode "mailcrypt" nil t)
(add-hook 'mail-mode-hook 'mc-install-write-mode)
(add-hook 'mail-mode-hook 'mc-install-write-mode)
(mc-setversion "gpg")

in ~/.vm
(add-hook 'vm-mode-hook 'mc-install-read-mode)
(add-hook 'vm-summary-mode-hook 'mc-install-read-mode)
(add-hook 'vm-virtual-mode-hook 'mc-install-read-mode)
(add-hook 'vm-mail-mode-hook 'mc-install-write-mode)
(setq mc-encrypt-for-me t)
(setq mc-pgp-always-sign t)
(setq mc-pgp-user-id "0xB1331439")

i have googled around, but similar reports are said to
be fixed in much earlier releases. so i am confused.

Discussion