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

Re: gnus: How to automagically handle GPG



Paul Johnson <baloo@ursine.ca> writes:

> I'm wondering if it's possible to make gnus automatically try to
> do the Verify and decrypt command on every message viewed, and to sign
> all messages posted or sent.  Has anybody done this, and if so, what
> do I need to add to my ~/.emacsrc ?

First do this:

# cd /usr/local/share/emacs/site-lisp
# ln -s /usr/share/doc/gnus/contrib/*.el ./


And then add to your ~/.gnus:

(require 'gpg)
(setq mm-verify-option 'always)
(setq mm-decrypt-option 'always)
(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)

-- 
You win again, gravity!



Reply to: