diff options
| author | Miles Bader | 2005-08-07 23:56:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-08-07 23:56:33 +0000 |
| commit | bcc7dd61345b60c5a16ef3caaa96a878d1edbd45 (patch) | |
| tree | 0b555d00ad849f787648d31dcbbfa61a379d19a4 | |
| parent | 8b6a95513d11162055cf1cdf7eb9a4a2ade5f1c3 (diff) | |
| download | emacs-bcc7dd61345b60c5a16ef3caaa96a878d1edbd45.tar.gz emacs-bcc7dd61345b60c5a16ef3caaa96a878d1edbd45.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-515
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 104)
- Update from CVS
2005-08-05 Daiki Ueno <ueno@unixuser.org>
* lisp/gnus/mml2015.el (mml2015-pgg-sign): Make sure micalg is correct.
* lisp/gnus/pgg-parse.el (pgg-parse-hash-algorithm-alist): Add SHA-2.
2005-08-06 Romain Francoise <romain@orebokech.com>
* lisp/gnus/message.el: Fix typo in docstring.
2005-07-16 Romain Francoise <romain@orebokech.com>
* lisp/gnus/gnus-uu.el (gnus-uu-save-article): Use `message-make-date'
instead of `current-time-string' as the latter creates a time
string that is not RFC 2822 compliant (it lacks the zone).
| -rw-r--r-- | lisp/gnus/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/gnus/gnus-uu.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/mml2015.el | 17 | ||||
| -rw-r--r-- | lisp/gnus/pgg-parse.el | 3 |
5 files changed, 33 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9f5ee5e1e33..a7b215718b0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2005-08-05 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * mml2015.el (mml2015-pgg-sign): Make sure micalg is correct. | ||
| 4 | |||
| 5 | * pgg-parse.el (pgg-parse-hash-algorithm-alist): Add SHA-2. | ||
| 6 | |||
| 7 | 2005-08-06 Romain Francoise <romain@orebokech.com> | ||
| 8 | |||
| 9 | * message.el: Fix typo in docstring. | ||
| 10 | |||
| 1 | 2005-08-05 Katsumi Yamaoka <yamaoka@jpl.org> | 11 | 2005-08-05 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 12 | ||
| 3 | * mm-bodies.el (mm-encode-body): Use coding system rather than | 13 | * mm-bodies.el (mm-encode-body): Use coding system rather than |
| @@ -104,6 +114,12 @@ | |||
| 104 | 114 | ||
| 105 | * mm-uu.el (mm-uu-copy-to-buffer): Use with-current-buffer. | 115 | * mm-uu.el (mm-uu-copy-to-buffer): Use with-current-buffer. |
| 106 | 116 | ||
| 117 | 2005-07-16 Romain Francoise <romain@orebokech.com> | ||
| 118 | |||
| 119 | * gnus-uu.el (gnus-uu-save-article): Use `message-make-date' | ||
| 120 | instead of `current-time-string' as the latter creates a time | ||
| 121 | string that is not RFC 2822 compliant (it lacks the zone). | ||
| 122 | |||
| 107 | 2005-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | 123 | 2005-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 108 | 124 | ||
| 109 | * gnus-msg.el (gnus-button-mailto): Remove | 125 | * gnus-msg.el (gnus-button-mailto): Remove |
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el index 90a2433a3c6..a2f3f353a05 100644 --- a/lisp/gnus/gnus-uu.el +++ b/lisp/gnus/gnus-uu.el | |||
| @@ -837,7 +837,7 @@ When called interactively, prompt for REGEXP." | |||
| 837 | (erase-buffer) | 837 | (erase-buffer) |
| 838 | (insert (format | 838 | (insert (format |
| 839 | "Date: %s\nFrom: %s\nSubject: %s Digest\n\n" | 839 | "Date: %s\nFrom: %s\nSubject: %s Digest\n\n" |
| 840 | (current-time-string) name name)) | 840 | (message-make-date) name name)) |
| 841 | (when (and message-forward-as-mime gnus-uu-digest-buffer) | 841 | (when (and message-forward-as-mime gnus-uu-digest-buffer) |
| 842 | (insert "<#part type=message/rfc822>\nSubject: Topics\n\n")) | 842 | (insert "<#part type=message/rfc822>\nSubject: Topics\n\n")) |
| 843 | (insert "Topics:\n"))) | 843 | (insert "Topics:\n"))) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 0266fe95124..7c55b7cc72f 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1443,7 +1443,7 @@ no, only reply back to the author." | |||
| 1443 | :type 'boolean) | 1443 | :type 'boolean) |
| 1444 | 1444 | ||
| 1445 | (defcustom message-user-fqdn nil | 1445 | (defcustom message-user-fqdn nil |
| 1446 | "*Domain part of Messsage-Ids." | 1446 | "*Domain part of Message-Ids." |
| 1447 | :version "22.1" | 1447 | :version "22.1" |
| 1448 | :group 'message-headers | 1448 | :group 'message-headers |
| 1449 | :link '(custom-manual "(message)News Headers") | 1449 | :link '(custom-manual "(message)News Headers") |
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index b90dfa96338..590e9276a0f 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el | |||
| @@ -642,7 +642,8 @@ | |||
| 642 | (autoload 'pgg-decrypt-region "pgg") | 642 | (autoload 'pgg-decrypt-region "pgg") |
| 643 | (autoload 'pgg-verify-region "pgg") | 643 | (autoload 'pgg-verify-region "pgg") |
| 644 | (autoload 'pgg-sign-region "pgg") | 644 | (autoload 'pgg-sign-region "pgg") |
| 645 | (autoload 'pgg-encrypt-region "pgg")) | 645 | (autoload 'pgg-encrypt-region "pgg") |
| 646 | (autoload 'pgg-parse-armor "pgg-parse")) | ||
| 646 | 647 | ||
| 647 | (defun mml2015-pgg-decrypt (handle ctl) | 648 | (defun mml2015-pgg-decrypt (handle ctl) |
| 648 | (catch 'error | 649 | (catch 'error |
| @@ -810,15 +811,23 @@ | |||
| 810 | (let ((pgg-errors-buffer mml2015-result-buffer) | 811 | (let ((pgg-errors-buffer mml2015-result-buffer) |
| 811 | (boundary (mml-compute-boundary cont)) | 812 | (boundary (mml-compute-boundary cont)) |
| 812 | (pgg-default-user-id (or (message-options-get 'mml-sender) | 813 | (pgg-default-user-id (or (message-options-get 'mml-sender) |
| 813 | pgg-default-user-id))) | 814 | pgg-default-user-id)) |
| 815 | entry) | ||
| 814 | (unless (pgg-sign-region (point-min) (point-max)) | 816 | (unless (pgg-sign-region (point-min) (point-max)) |
| 815 | (pop-to-buffer mml2015-result-buffer) | 817 | (pop-to-buffer mml2015-result-buffer) |
| 816 | (error "Sign error")) | 818 | (error "Sign error")) |
| 817 | (goto-char (point-min)) | 819 | (goto-char (point-min)) |
| 818 | (insert (format "Content-Type: multipart/signed; boundary=\"%s\";\n" | 820 | (insert (format "Content-Type: multipart/signed; boundary=\"%s\";\n" |
| 819 | boundary)) | 821 | boundary)) |
| 820 | ;;; FIXME: what is the micalg? | 822 | (if (setq entry (assq 2 (pgg-parse-armor |
| 821 | (insert "\tmicalg=pgp-sha1; protocol=\"application/pgp-signature\"\n") | 823 | (with-current-buffer pgg-output-buffer |
| 824 | (buffer-string))))) | ||
| 825 | (setq entry (assq 'hash-algorithm (cdr entry)))) | ||
| 826 | (insert (format "\tmicalg=%s; " | ||
| 827 | (if (cdr entry) | ||
| 828 | (downcase (format "pgp-%s" (cdr entry))) | ||
| 829 | "pgp-sha1"))) | ||
| 830 | (insert "protocol=\"application/pgp-signature\"\n") | ||
| 822 | (insert (format "\n--%s\n" boundary)) | 831 | (insert (format "\n--%s\n" boundary)) |
| 823 | (goto-char (point-max)) | 832 | (goto-char (point-max)) |
| 824 | (insert (format "\n--%s\n" boundary)) | 833 | (insert (format "\n--%s\n" boundary)) |
diff --git a/lisp/gnus/pgg-parse.el b/lisp/gnus/pgg-parse.el index d0987659b96..26b48e2f141 100644 --- a/lisp/gnus/pgg-parse.el +++ b/lisp/gnus/pgg-parse.el | |||
| @@ -58,7 +58,8 @@ | |||
| 58 | (cons (sexp :tag "Number") (sexp :tag "Type")))) | 58 | (cons (sexp :tag "Number") (sexp :tag "Type")))) |
| 59 | 59 | ||
| 60 | (defcustom pgg-parse-hash-algorithm-alist | 60 | (defcustom pgg-parse-hash-algorithm-alist |
| 61 | '((1 . MD5) (2 . SHA1) (3 . RIPEMD160) (5 . MD2)) | 61 | '((1 . MD5) (2 . SHA1) (3 . RIPEMD160) (5 . MD2) (8 . SHA256) (9 . SHA384) |
| 62 | (10 . SHA512)) | ||
| 62 | "Alist of the assigned number to the cryptographic hash algorithm." | 63 | "Alist of the assigned number to the cryptographic hash algorithm." |
| 63 | :group 'pgg-parse | 64 | :group 'pgg-parse |
| 64 | :type '(repeat | 65 | :type '(repeat |