summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-04-26 14:37:32 +0200
committerSebastian Spaeth <Sebastian@SSpaeth.de>2010-04-26 14:37:32 +0200
commit244a7309a56e7bacfc2add1c684d89e54f4eb8da (patch)
tree67c95109e922f376f552053efa7919f415bf440b
parent32a8eff02cd74c0f31c6459f55b755ad56c88226 (diff)
Add a 'how to sign mails with gpg' tip
-rw-r--r--emacstips.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/emacstips.mdwn b/emacstips.mdwn
index 1f3fdd1..816988a 100644
--- a/emacstips.mdwn
+++ b/emacstips.mdwn
@@ -244,3 +244,20 @@ As its name implies, notmuch isn't really doing that much (which is part of its
system-configuration ")")))
(setq message-newsreader notmuch-user-agent))
))
+
+
+* <span id="sign_messages_gpg">**how to sign/encrypt my messages with
+ gpg**</span>
+
+ You can manually sign your messages with gpg by
+ invoking `M-x mml-secure-sign-pgpmime` (or
+ `M-x mml-secure-encrypt-pgpmime`). To do so by default, I use this hook in
+ my .emacs file:
+
+ ;;sign messages by default
+ (add-hook 'message-setup-hook 'mml-secure-sign-pgpmime)
+
+ This inserts the blurb `<#part sign=pgpmime>` into the beginning of
+ my mail text body and will be converted into a pgp signature when
+ sending (so I can just manually delete that line if I do not want a
+ mail to be signed). \ No newline at end of file