[gnus git] branch master updated: =1= mml2015: add an option to use sender address to sign

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  2873568d37e04fadb51637557ef6b1a0d132a71a (commit)
      from  f867ed4c70f8282c6f5af89ab986ae26e64ef955 (commit)


- Log -----------------------------------------------------------------
commit 2873568d37e04fadb51637557ef6b1a0d132a71a
Author: Julien Danjou <[email protected]>
Date:   Thu Jan 27 17:18:19 2011 +0100

    mml2015: add an option to use sender address to sign
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dd00120..1d33174 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-27  Julien Danjou  <[email protected]>
+
+	* mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
+
 2011-01-27  Katsumi Yamaoka  <[email protected]>
 
 	* shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
diff --git a/lisp/mml2015.el b/lisp/mml2015.el
index 0ac6208..00d69e9 100644
--- a/lisp/mml2015.el
+++ b/lisp/mml2015.el
@@ -120,6 +120,12 @@ Whether the passphrase is cached at all is controlled by
   :group 'mime-security
   :type '(repeat (string :tag "Key ID")))
 
+(defcustom mml2015-sign-with-sender nil
+  "If t, use message sender so find a key to sign with."
+  :group 'mime-security
+  :type 'boolean
+  :version "24.1")
+
 (defcustom mml2015-encrypt-to-self nil
   "If t, add your own key ID to recipient list when encryption."
   :group 'mime-security
@@ -959,7 +965,8 @@ Whether the passphrase is cached at all is controlled by
   (let* ((inhibit-redisplay t)
 	 (context (epg-make-context))
 	 (boundary (mml-compute-boundary cont))
-	 (sender (message-options-get 'message-sender))
+	 (sender (when mml2015-sign-with-sender
+                   message-options-get 'message-sender))
 	 signer-key
 	 (signers
 	  (or (message-options-get 'mml2015-epg-signers)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    4 ++++
 lisp/mml2015.el |    9 ++++++++-
 2 files changed, 12 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.