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