1 1999-07-02 Katsumi Yamaoka <yamaoka@jpl.org>
3 * mime-pgp.el (mime-view-application/pgp): Specify preview buffer
4 explicitly; set the value of `mime-raw-buffer' and
5 `mime-mother-buffer' in preview buffer.
7 1999-05-21 Katsumi Yamaoka <yamaoka@jpl.org>
9 * mime-pgp.el (mime-pgp-fetch-key): Returns nil if the key fecthing
10 is failed or the fetched key is discarded.
12 1999-05-17 KOSEKI Yoshinori <kose@yk.NetLaputa.ne.jp>
14 * mime-pgp.el (mime-verify-application/pgp-signature): Specify the
15 name of `sig-file' explicitly for `mime-pgp-check-signature'.
16 (mime-pgp-check-signature): Accept new arg `sig-file' and feed its
17 value to the verify command.
19 1999-05-13 Katsumi Yamaoka <yamaoka@jpl.org>
21 * mime-edit.el (mime-edit-decode-message-in-buffer): Call
22 `mime-edit-decode-single-part-in-buffer' with return value of
23 `mime-read-Content-Disposition'; don't modify the header if the
24 buffer is narrowed to a part.
25 (mime-edit-decode-single-part-in-buffer): Accept the optional arg
26 `content-disposition' and inherit it into the editing buffer.
28 1999-05-13 OKUNISHI Fujikazu <fuji0924@mbox.kyoto-inet.or.jp>
30 * mime-mc.el (mime-mc-pgp50-process-region,
31 mime-mc-gpg-process-region): Bind `shell-command-switch' to the
32 value of `mime-mc-shell-command-switch'.
33 (mime-mc-shell-command-switch): New user option.
35 1999-05-12 Katsumi Yamaoka <yamaoka@jpl.org>
37 * mime-edit.el (mime-edit-decode-multipart-in-buffer): Use
38 `pgp-encrypted' or `pgp-signed' for the value of `subtype' if the
39 protocol "application/pgp-encrypted" or "application/pgp-signature"
40 is declared; attempt to decrypt the encrypted part with the new
41 function `mime-edit-decrypt-application/pgp-encrypted' and strip
42 sender, recipients and useless tags from the decrypted part.
43 (TopLevel): Autoload "mime-pgp" for the function
44 `mime-edit-decrypt-application/pgp-encrypted'.
46 * mime-pgp.el (mime-edit-decrypt-application/pgp-encrypted): New
48 (mime-pgp-detect-version): Allow some leading garbage lines.
50 1999-04-16 Katsumi Yamaoka <yamaoka@jpl.org>
52 * mime-play.el (mime-show-echo-buffer): Make it returns the list of
53 window, start and end positions of inserted text; adjust a window
54 height to the value of `mime-echo-window-height' whenever this
55 function is called; bind `window-min-height' to 1 during splitting
58 * mime-pgp.el (mime-pgp-fetch-key): Enclose a tcp process with
60 (mime-pgp-show-fetched-key-for-pgp50): Always use
61 `mime-show-echo-buffer' for displaying a fetched key; optimize its
63 (mime-pgp-show-fetched-key): Likewise.
64 (mime-pgp-keyserver-port): Replace "HTTP" with "HKP" in doc string.
65 (mime-verify-application/pgp-signature): Optimize a height of window
66 where some informations are displayed.
67 (mime-pgp-parse-verify-error): Likewise.
68 (mime-pgp-show-echo-buffer): New macro.
69 (mime-pgp-parse-verify-error-for-pgp): Make it to accept an arg
70 `output-buffer' and to return the list of expected key-ID, start
71 position and lines to be shown a result.
72 (mime-pgp-parse-verify-error-for-pgp50): Likewise.
73 (mime-pgp-parse-verify-error-for-gpg): Likewise.
74 (mime-pgp-parse-verify-error): Likewise.
75 (mime-pgp-check-signature): Returns a start position and lines
76 to be used for how a result should be displayed in echo window.
77 (mime-pgp-detect-version): Bug fix -- save restriction before
80 1999-04-15 Katsumi Yamaoka <yamaoka@jpl.org>
82 * mime-pgp.el (mime-add-application/pgp-keys): Use
83 `mime-insert-entity-content' and `mime-pgp-detect-version' to get
85 (mime-decrypt-application/pgp-encrypted): Use
86 `mime-entity-detect-pgp-version' instead of
87 `mime-pgp-detect-version'.
88 (mime-verify-application/pgp-signature): Likewise.
89 (mime-entity-detect-pgp-version): Function to detect PGP version
90 from entity content; renamed from `mime-pgp-detect-version'.
91 (mime-pgp-detect-version): New function to detect PGP version in
94 1999-04-13 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
96 * mime-pgp.el (mime-add-application/pgp-keys): Call
97 `buffer-substring' in entity's buffer.
99 1999-04-15 Katsumi Yamaoka <yamaoka@jpl.org>
101 * mime-mc.el (mime-mc-insert-public-key, mime-mc-encrypt-region,
102 mime-mc-traditional-sign-region, mime-mc-sign-region,
103 mime-mc-snarf-keys, mime-mc-fetch-key, mime-mc-decrypt,
104 mime-mc-verify, mime-mc-comment): Use `mime-mc-symbol'.
105 (mime-mc-symbol): New macro.
106 (mime-mc-symbol-format-alist): New variable.
108 1999-04-14 Katsumi Yamaoka <yamaoka@jpl.org>
110 * mime-edit.el (mime-edit-insert-key): Prompt for user id if prefix
113 * mime-mc.el (mime-mc-insert-public-key): Fix bug - referring to
116 1999-04-14 Katsumi Yamaoka <yamaoka@jpl.org>
118 * mime-ui-en.texi, mime-ui-ja.texi: Sync up with .sgml files.
119 * mime-ui-en.sgml, mime-ui-ja.sgml: Modify a description for
120 simplified `pgp-function-alist'.
122 * semi-def.el (pgp-function-alist): Simplify. Use
123 `mime-mc-encrypt-region', `mime-mc-traditional-sign-region',
124 `mime-mc-sign-region' and `mime-mc-fetch-key' for it.
126 * mime-mc.el (mime-mc-insert-public-key, mime-mc-snarf-keys,
127 mime-mc-decrypt, mime-mc-verify): Add doc strings.
128 (mime-mc-encrypt-region, mime-mc-traditional-sign-region,
129 mime-mc-sign-region, mime-mc-fetch-key): New functions.
130 (TopLevel): Add autoloads "mc-gpg", "mc-pgp5" and "mc-pgp" for the
131 functions `mc-gpg-fetch-key', `mc-gpg-sign-region',
132 `mc-pgp50-fetch-key', `mc-pgp50-sign-region', `mc-pgp-fetch-key'
133 and `mc-pgp-sign-region'.
135 * mime-pgp.el (mime-pgp-fetch-key): Kill useless buffers after
137 (mime-pgp-show-fetched-key-for-pgp50, mime-pgp-show-fetched-key):
138 Show fetched key in the window of `mime-echo-buffer-name' if it is
139 alive, otherwise use `display-buffer'; minimize the window height;
140 return buffer object to be killed.
142 1999-04-14 Katsumi Yamaoka <yamaoka@jpl.org>
144 * mime-pgp.el (mime-pgp-fetch-key,
145 mime-pgp-show-fetched-key-for-pgp,
146 mime-pgp-show-fetched-key-for-pgp50,
147 mime-pgp-show-fetched-key-for-gpg): New functions.
148 (mime-pgp-show-fetched-key): New macro.
149 (mime-pgp-fetch-timeout, mime-pgp-http-proxy-server-port,
150 mime-pgp-http-proxy-server-address,
151 mime-pgp-http-proxy-url-template, mime-pgp-keyserver-port,
152 mime-pgp-keyserver-address, mime-pgp-keyserver-url-template): New
154 (mime-pgp-key-expected-regexp-alist,
155 mime-pgp-bad-signature-regexp-alist,
156 mime-pgp-good-signature-regexp-alist,
157 mime-pgp-default-language-alist, mime-pgp-command-alist): Change
158 the customization group to `mime-pgp'.
159 (mime-pgp): New group for customization.
161 * mime-mc.el (mime-mc-pgp50-process-region,
162 mime-mc-gpg-process-region): Deactivate passwd if detecting the
163 value of `micalg' is failed and `mc-passwd-timeout' is nil; remove
165 (mime-mc-comment-alist, mime-mc-omit-micalg,
166 mime-mc-shell-file-name): Change the customization group to
168 (mime-mc): New group for customization.
170 1999-04-14 Katsumi Yamaoka <yamaoka@jpl.org>
172 * mime-mc.el (mime-mc-pgp50-sign-region, mime-mc-gpg-sign-region):
173 Return nil if an erorr has occurred during detecting the value of
175 (mime-mc-pgp50-process-region, mime-mc-gpg-process-region): Don't
176 signal an error. Return non-nil if success, otherwise nil with
179 * mime-edit.el (mime-edit-translate-buffer): Do `undo-boundary'
182 1999-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
184 * mime-mc.el (mime-mc-pgp50-sign-region, mime-mc-gpg-sign-region):
185 Don't deactivate passwd during detecting the value of `micalg' even
186 if `mc-passwd-timeout' is set to nil.
187 (mime-mc-gpg-process-region): Print this function name for
190 1999-04-12 Katsumi Yamaoka <yamaoka@jpl.org>
192 * mime-pgp.el (mime-pgp-check-signature): Return nil if neither bad
195 1999-04-09 Katsumi Yamaoka <yamaoka@jpl.org>
197 * mime-mc.el (mime-mc-pgp-encrypt-region, mime-mc-pgp-sign-region,
198 mime-mc-process-region, mime-mc-pgp50-encrypt-region,
199 mime-mc-pgp50-sign-region, mime-mc-pgp50-process-region,
200 mime-mc-gpg-encrypt-region, mime-mc-gpg-sign-region,
201 mime-mc-gpg-process-region, mime-mc-insert-public-key): Identify
202 the version of SEMI as a comment field of ASCII armor.
203 (mime-mc-replace-comment-field): New function.
204 (mime-mc-comment): New macro.
205 (mime-mc-comment-alist): New user option.
206 (TopLevel): Require `mime-def'.
208 1999-04-08 Katsumi Yamaoka <yamaoka@jpl.org>
210 * mime-mc.el (mime-mc-pgp-sign-region): Omit the micalg parameter
211 if the value of `mime-mc-omit-micalg' is non-nil.
212 (mime-mc-pgp50-sign-region, mime-mc-gpg-sign-region): Detect and
213 cache the value of message integrity check algorithm before signing
214 and use it for the micalg parameter if the value of
215 `mime-mc-omit-micalg' is nil.
216 (mime-mc-gpg-process-region): Show boundary in
217 `mc-gpg-debug-buffer'.
218 (mime-mc-pgp-process-region, mime-mc-pgp50-process-region,
219 mime-mc-gpg-process-region): Add doc string.
220 (mime-mc-micalg-alist): New variable.
221 (mime-mc-omit-micalg): New user option.
222 (TopLevel): Require `alist' and `std11'.
224 * mime-pgp.el (TopLevel): Add comment that this module is based on
225 draft-yamamoto-openpgp-mime-00.txt (OpenPGP/MIME) as well.
227 1999-04-06 Katsumi Yamaoka <yamaoka@jpl.org>
229 * mime-pgp.el (mime-pgp-bad-signature-post-function-pgp50-us): New
231 (mime-verify-application/pgp-signature): Say "Checking signature..."
232 before verifying; say "Can't check signature" if public key is not
234 (mime-pgp-parse-verify-error): Goto beginning of buffer, eval forms
235 and set window start.
236 (mime-pgp-parse-verify-error-for-pgp): Use it
237 (mime-pgp-parse-verify-error-for-pgp50): Use it.
238 (mime-pgp-parse-verify-error-for-gpg): Use it.
239 (mime-pgp-check-signature): Rewrite for detecting "BAD signature".
240 (mime-pgp-bad-signature-post-function): New macro.
241 (mime-pgp-bad-signature-regexp): New macro.
242 (mime-pgp-bad-signature-regexp-alist): New user option.
244 * mime-ui-en.texi, mime-ui-ja.texi: Sync up with .sgml files.
245 * mime-ui-en.sgml, mime-ui-ja.sgml (mime-mc-setversion): Use <var>,
246 </var> token in doc string.
248 1999-04-06 Keiichi Suzuki <keiichi@nanap.org>
250 * mime-pgp.el (mime-view-application/pgp): Support PGP5.X and
253 1999-04-05 Katsumi Yamaoka <yamaoka@jpl.org>
255 * mime-pgp.el (mime-pgp-parse-verify-error): Use
256 `with-current-buffer' instead of `save-current-buffer'.
257 (mime-pgp-check-signature): Use `with-current-buffer' instead of
258 `save-current-buffer'; add comment about PGP 5.0i.