OSDN Git Service

18129c7e8827efff6784cfd51c20e12757e391a8
[epg/epg.git] / ChangeLog
1 2007-03-19  Daiki Ueno  <ueno@unixuser.org>
2
3         * epg.el (epg--decode-percent-escape): New function.
4
5 2007-03-08  Daiki Ueno  <ueno@unixuser.org>
6
7         * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
8
9 2007-03-08  Daiki Ueno  <ueno@unixuser.org>
10
11         * epa-mail.el (epa-mail-mode-hook): New variable.
12         (epa-mail-mode-on-hook): New variable.
13         (epa-mail-mode-off-hook): New variable.
14
15         * epg.el (epg--start): Make the process-buffer unibyte.
16         (epg--status-USERID_HINT): Decode user-id.
17         (epg--status-IMPORTED): Decode user-id.
18
19 2007-03-07  Daiki Ueno  <ueno@unixuser.org>
20
21         * epg.el (epg--start): Don't specify --use-agent if the protocol
22         is CMS; set coding-system-for-read to binary.
23         (epg--status-*SIG): Decode user-id.
24
25 2007-02-02  Daiki Ueno  <ueno@unixuser.org>
26
27         * epa-file.el (epa-file-write-region): Set a dummy filename
28         for buffer-file-name when calling select-safe-coding-system.
29
30 2007-01-30  Daiki Ueno  <ueno@unixuser.org>
31
32         * epg.el (epg-last-status): New variable.
33         (epg--process-filter): Set epg-last-status after calling a status
34         handler.
35         (epg--prompt-GET_BOOL): New function.
36         (epg--prompt-GET_BOOL-untrusted_key.override): New function.
37         (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
38         y-or-n-p.
39
40 2007-01-29  Daiki Ueno  <ueno@unixuser.org>
41
42         * EasyPG: Version 0.0.10 released.
43         * configure.ac: Bump up version.
44
45 2007-01-29  Daiki Ueno  <ueno@unixuser.org>
46
47         * epg-config.el: Require epg-package-info.
48         * configure.ac: Generate epg-package-info.el.
49         * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
50         * COMPILE (epg-modules): Added epg-package-info.
51         * epg-package-info.el.in: New file.
52
53 2007-01-29  Daiki Ueno  <ueno@unixuser.org>
54
55         * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
56         * epa.el: Removed epa-*-mail stuff.
57         * Makefile.am (EXTRA_DIST): Added epa-mail.el.
58         * COMPILE (epg-modules): Added epa-mail.
59         * epa-mail.el: New file.
60
61 2007-01-05  Daiki Ueno  <ueno@unixuser.org>
62
63         * epg-pgp50i.el: Removed.
64
65         * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
66         (epa-key-list-mode): Renamed from epa-keys-mode.  All callers
67         changed.
68
69         * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
70         is "0".
71         (epg--make-sub-key-1): Ditto.
72         (epg--decode-hexstring): "\\x" -> "\\\\x".
73         (epg--decode-quotedstring): Ditto.
74
75         * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
76         recipient whose public key is not available.
77         * epa.el (epa-encrypt-mail): Ask a user whether to skip a
78         recipient whose public key is not available.
79
80 2007-01-04  Daiki Ueno  <ueno@unixuser.org>
81
82         * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
83         (epa-verify-mail): Renamed from epa-verify.
84         (epa-sign-mail): Renamed from epa-sign.
85         (epa-encrypt-mail): Renamed from epa-encrypt.
86         (epa-import-mail): Renamed from epa-import.
87
88         * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
89
90         * epg.el (epg-signature-to-string): Print creation-time and used
91         pubkey-algorithm.
92         (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
93         fallback to use a temp file as an input.
94         (epg-encrypt-string): Ditto.
95
96 2006-12-31  Daiki Ueno  <ueno@unixuser.org>
97
98         * epa.el (epa-mail-modes): New user option.
99         (epa--mail-mode-p): New function.
100         (epa-sign): Use it.
101         (epa-encrypt): Use it.
102         (epa--find-coding-system-for-mime-charset): New function.
103         (epa-decrypt-armor-in-region): Use it.
104         (epa-progress-callback-function): Use handback as the prompt.
105         (epa-encrypt-region): Take 4th argument SIGN.
106         (epa-encrypt): Ditto.
107
108 2006-12-31  Daiki Ueno  <ueno@unixuser.org>
109
110         * epa.el (epa--derived-mode-p): New alias.
111         (epa-sign): Use it.
112         (epa-encrypt): Use it.
113
114 2006-12-31  Daiki Ueno  <ueno@unixuser.org>
115
116         * epa.el (epa--read-signature-type): New function.
117         (epa-decrypt): New command.
118         (epa-verify): New command.
119         (epa-sign): New command.
120         (epa-encrypt): New command.
121         (epa-import-armor-in-region): New command.
122         (epa-import): New command.
123         (epa-decrypt-region): Confirm user to replace the region.
124         (epa-display-info): Delete "*Info*" window.
125
126 2006-12-29  Daiki Ueno  <ueno@unixuser.org>
127
128         * EasyPG: Version 0.0.9 released.
129         * epg-config.el (epg-version-number): Bump up.
130         * configure.ac: Bump up version.
131
132 2006-12-28  Daiki Ueno  <ueno@unixuser.org>
133
134         * epa.el (epa-sign-file): Ask signing key only when a prefix arg
135         is given; ask signature type only when a prefix arg is given.
136         (epa-sign-region): Ditto.
137
138 2006-12-26  Daiki Ueno  <ueno@unixuser.org>
139
140         * epg-config.el (epg-passphrase-coding-system): Default to nil.
141
142 2006-12-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
143
144         * epa.el (epa--format-fingerprint-1): New function.
145         (epa--format-fingerprint): Ditto.
146         (epa--show-key): Use it.
147
148 2006-12-20  Daiki Ueno  <ueno@unixuser.org>
149
150         * epa-file.el (epa-file-write-region): Don't attempt to write the
151         region to "/" to determine safe coding-system.
152
153         * epa.el (epa-list-keys): Abolished PROTOCOL arg.
154         (epa-sign-file): Save the output to *.p7s or *.p7m file if
155         epa-protocol is CMS.
156         (epa-encrypt-file): Ditto.
157         (epa-last-coding-system-specified): New variable.
158         (epa-decrypt-region): Try to decode with the
159         epa-coding-system-used text property.
160         (epa--select-safe-coding-system): New function.
161         (epa-verify-region): Try to decode with the epa-coding-system-used
162         text property.
163         (epa-sign-region): Query user to select coding-system to encode;
164         set the epa-coding-system-used text property on the result.
165         (epa-encrypt-region): Ditto.
166
167 2006-12-19  Daiki Ueno  <ueno@unixuser.org>
168
169         * epg.el (epg-export-keys-to-file): Fixed a typo.
170
171         * epa.el (epa-protocol): New user option.
172         (epa-sign-region): --armor & --textmode.
173         (epa-encrypt-region): Ditto.
174         (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
175         default protocol.
176         (epa-import-keys-region): New command.
177         (epa-insert-keys): New command.
178         (epa--insert-keys): Renamed from epa-insert-keys.
179
180 2006-12-11  Daiki Ueno  <ueno@unixuser.org>
181
182         * pgg-epg.el (pgg-epg-decrypt-region): Don't call
183         decode-coding-string if it is not bound.
184
185         * epa-file.el (epa-file--encode-coding-string): New alias.
186         (epa-file--decode-coding-string): New alias.
187         (epa-file-write-region): Use epa-file--encode-coding-string.
188         (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
189
190         * epa.el (epa--encode-coding-string): New alias.
191         (epa--decode-coding-string): New alias.
192         (epa-verify-region): Use epa--encode-coding-string.
193         (epa-sign-region): Ditto; use epa--decode-coding-string.
194         (epa-encrypt-region): Use epa--encode-coding-string.
195
196         * epg.el (epg--encode-coding-string): New alias.
197         (epg--status-GET_HIDDEN): Use it.
198
199 2006-11-29  Daiki Ueno  <ueno@unixuser.org>
200
201         * EasyPG: Version 0.0.8 released.
202         * epg-config.el (epg-version-number): Bump up.
203         * configure.ac: Bump up version.
204
205 2006-11-20  Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
206
207         * epa-file.el (epa-file-encrypt-to): New file local variable.
208         (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
209
210 2006-11-26  Daiki Ueno  <ueno@unixuser.org>
211
212         * epa.el (epa-sign-file): Query signature type at a time.
213         (epa-decrypt-file): Display output file name on completion.
214         (epa-sign-file): Ditto.
215         (epa-encrypt-file): Ditto.
216
217 2006-11-25  Daiki Ueno  <ueno@unixuser.org>
218
219         * epa.el (epa-keys-mode): Don't call widget-setup.
220         (epa-list-keys): Call widget-setup here.
221         (epa-select-keys): Ditto.
222
223 2006-11-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * epg.el (epg-delete-keys): Remove redundant argument for `error'
226         and fix a close parenthesis.
227
228 2006-11-24  Daiki Ueno  <ueno@unixuser.org>
229
230         * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
231         Reported by Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>.
232         cf. <emacs-mime-ja:02090>
233
234 2006-11-23  Daiki Ueno  <ueno@unixuser.org>
235
236         * epa.el (epa-sign-region): Query signature type at a time.
237
238 2006-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * epg.el (epg-context-set-passphrase-callback): Add optional
241         argument `handback'.
242         (epg-context-set-progress-callback): Ditto.
243
244 2006-11-14  Daiki Ueno  <ueno@unixuser.org>
245
246         * epa.el (epa--key-widget-value-create): Allow empty user IDs.
247         (epa--show-key): Ditto.
248         Reported by Werner Koch <wk@gnupg.org>.
249
250         * epg.el (epg--start): Don't specify --enable-progress-filter for
251         gpgsm.
252         (epg--status-PROGRESS): Check if progress-callback is set.
253
254 2006-11-12  Daiki Ueno  <ueno@unixuser.org>
255
256         * epg.el (epg-error): New error.
257         (epg--check-error-for-decrypt): New function.
258         (epg-decrypt-file): Use it.
259         (epg-decrypt-string): Use it.
260         (epg--start): Added a very basic test to check whether to specify
261         --use-agent.
262
263         * epa.el (epa-decrypt-file): Expand file name.
264         (epa-verify-file): Ditto.
265         (epa-import-keys): Ditto.
266
267 2006-11-12  Daiki Ueno  <ueno@unixuser.org>
268
269         * epg.el (epg-delete-keys): Decode delete-problem.
270
271         * epa.el (epa-popup-info-window): Turn on by default.
272         (epa-display-info): Split selected window instead of pop-to-buffer.
273
274 2006-11-12  Daiki Ueno  <ueno@unixuser.org>
275
276         * epa.el (epa-display-info): Generalized; renamed from
277         epa-display-verify-result.
278         (epa-decrypt-file): Use it.
279         (epa-verify-file): Use it.
280         (epa-decrypt-region): Use it.
281         (epa-verify-region): Use it.
282         (epa-import-keys): Show import result.
283         (epa-display-verify-result): Make it obsolete.
284
285         * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
286         out of scope.
287         (epg-sign-keys): Make it obsolete.
288         (epg-make-import-status): New object epg-import-status.
289         (epg-make-import-result): New object epg-import-result.
290         (epg--status-IMPORT_RES): New function.
291         (epg-import-result-to-string): New function.
292
293         * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
294         (epa-sign-keys): Make it obsolete.
295
296 2006-11-11  Daiki Ueno  <ueno@unixuser.org>
297
298         * epg.el (epg-start-sign): Don't set --armor nor --textmode if
299         mode is set for a cleartext signature.
300         (epg-make-context): New slot "sig-notations".
301         (epg--args-from-sig-notations): New function.
302         (epg-start-sign): Specify --sig-notation or --sig-policy-url if
303         desired.
304         (epg-start-encrypt): Ditto.
305         (epg-make-signature): New slot "notations".
306         (epg--status-NOTATION_NAME): New function.
307         (epg--status-NOTATION_DATA): New function.
308         (epg--status-POLICY_URL): New function.
309
310 2006-10-29  Daiki Ueno  <ueno@unixuser.org>
311
312         * EasyPG: Version 0.0.7 released.
313         * epg-config.el (epg-version-number): Bump up.
314         * configure.ac: Bump up version.
315
316 2006-10-29  Daiki Ueno  <ueno@unixuser.org>
317
318         * epa-file.el
319         (epa-file-cache-passphrase-for-symmetric-encryption): New user
320         option.
321
322 2006-10-12  Daiki Ueno  <ueno@unixuser.org>
323
324         * epg.el (epg-start-verify): Fixed a clearsign verification bug.
325         Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
326
327 2006-09-29  Daiki Ueno  <ueno@unixuser.org>
328
329         * EasyPG: Version 0.0.6 released.
330         * epg.el (epg-version-number): Bump up.
331         * configure.ac: Bump up version.
332
333 2006-09-29  Daiki Ueno  <ueno@unixuser.org>
334
335         * epa.el (epa-verify-cleartext-in-region): Renamed from
336         epa-verify-armor-in-region.
337
338         * epg.el (epg-passphrase-callback-function): Suggest to use
339         epa-passphrase-callback-function instead.
340         (epg-start-verify): Don't specify --verify if SIGNATURE is a
341         normal or a clear text signature.
342         (epg-verify-file): Mention that the plaintext will be stored into
343         the file PLAIN after successful verification.
344         (epg-verify-string): Mention that the plaintext will be returned
345         after successful verification.
346
347 2006-09-27  Daiki Ueno  <ueno@unixuser.org>
348
349         * epa-file.el (epa-file-insert-file-contents): Set progress callback.
350         (epa-file-write-region): Ditto.
351
352         * epa.el (epa-decrypt-file): Set callbacks.
353         (epa-sign-file): Ditto.
354         (epa-encrypt-file): Ditto.
355         (epa-decrypt-region): Ditto.
356         (epa-sign-region): Ditto.
357         (epa-encrypt-region): Ditto.
358         (epa-sign-keys): Ditto.
359
360         * epg.el (epg-progress-callback-function): Removed.
361
362 2006-09-24  Daiki Ueno  <ueno@unixuser.org>
363
364         * epa.el (epa-passphrase-callback-function): Moved from epg.el.
365         (epa-progress-callback-function): Ditto.
366         * epg.el (epg-passphrase-callback-function): Made it obsolete.
367         (epg-progress-callback-function): Ditto.
368
369 2006-09-23  Daiki Ueno  <ueno@unixuser.org>
370
371         * epg.el (epg-start-decrypt): Append "--" to the end of options.
372         (epg-start-verify): Ditto.
373         (epg-start-sign): Ditto.
374         (epg-start-encrypt): Ditto.
375         (epg-start-import-keys): Ditto.
376         (epg-start-generate-key): Ditto.
377
378 2006-09-23  Daiki Ueno  <ueno@unixuser.org>
379
380         * epg.el (epg-make-context): Don't set progress-callback by
381         default.
382         (epg--start): Don't specify --enable-progress-filter if
383         progress-callback is not set.
384         (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
385         is not set.
386
387 2006-09-15  Daiki Ueno  <ueno@unixuser.org>
388
389         * epg.el (epg-progress-callback-function): Show the percentage.
390
391 2006-09-15  Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
392
393         * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
394
395 2006-09-13  Daiki Ueno  <ueno@unixuser.org>
396
397         * epg-config.el (epg-passphrase-coding-system): Renamed from
398         epg-locale-coding-system.
399
400 2006-09-11  Daiki Ueno  <ueno@unixuser.org>
401
402         * epa-file.el (epa-file-decode-and-insert): New function which
403         utilizes decode-coding-inserted-region if available.
404         (epa-file-insert-file-contents): Use it.
405
406         * epg.el (epg--start): Specify --enable-progress-filter in
407         imitation of GPGME.
408         (epg-progress-callback-function): Remove a couple of %%'s.
409
410 2006-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
411
412         * epg-config.el (epg-configuration): Fixed the last change;
413         collect configuration other than group and algorithm.
414
415 2006-09-05  Daiki Ueno  <ueno@unixuser.org>
416
417         * epg-config.el (epg-debug): Moved from epg.el.
418         (epg-configuration): Parse group configuration.
419         (epg-expand-group): New function.
420
421 2006-09-04  Daiki Ueno  <ueno@unixuser.org>
422
423         * EasyPG: Version 0.0.5 released.
424         * epg.el (epg-version-number): Bump up.
425         * configure.ac: Bump up version.
426
427 2006-09-04  Daiki Ueno  <ueno@unixuser.org>
428
429         * epg-config.el (epg-locale-coding-system): New user option.
430
431         * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
432         (epg--clear-string): New function.
433         (epg--status-GET_HIDDEN): Encode passphrase with
434         terminal-coding-system.
435
436         * epg-config.el (epg-gpg-minimum-version): New constant.
437         (epg-config--parse-version): New function.
438         (epg-config--compare-version): New function.
439         (epg-configuration): Respect epg-gpg-home-directory.
440
441 2006-09-03  Daiki Ueno  <ueno@unixuser.org>
442
443         * epg-config.el: New file; moved GnuPG configuration check from
444         epg.el.
445
446 2006-09-02  Daiki Ueno  <ueno@unixuser.org>
447
448         * epg.el (epg-check-configuration): New function.
449         (epg-gpg-home-directory): New user option.
450
451         * pgg-epg.el (pgg-epg-lookup-key): New function.
452
453 2006-07-29  Daiki Ueno  <ueno@unixuser.org>
454
455         * EasyPG: Version 0.0.4 released.
456         * epg.el (epg-version-number): Bump up.
457         * configure.ac: Bump up version.
458
459 2006-07-29  Daiki Ueno  <ueno@unixuser.org>
460
461         * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
462
463 2006-07-28  Daiki Ueno  <ueno@unixuser.org>
464
465         * epg.el (epg-start-encrypt): Extract primary key ID from
466         epg-context-signers.
467         Thanks to Steve Youngs <steve@sxemacs.org>
468
469         * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
470         give CONTEXT to epg-list-keys.
471         Thanks to Steve Youngs <steve@sxemacs.org>
472
473 2006-07-18  Daiki Ueno  <ueno@unixuser.org>
474
475         * epg-pgp50i.el (epg-pgp50i--process-filter): Use
476         epg-process-filter-running instead of epg-pgp50i-status; Don't
477         save-excursion during handler execution.
478         (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
479         don't allow process input.
480         (epg-pgp50i--parse-time): New function.
481         (epg-pgp50i--status-BAD_SIGNATURE): New function.
482
483         * epg.el (epg--process-filter): Don't save-excursion during
484         handler execution.
485
486 2006-07-18  Daiki Ueno  <ueno@unixuser.org>
487
488         * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
489
490         * epg.el (epg-process-filter-running): New variable.
491         (epg--start): Setup epg-process-filter-running.
492         (epg--process-filter): Allow only one status handler to run at a
493         time; update epg-read-point everytime the point changes.
494
495 2006-07-14  Daiki Ueno  <ueno@unixuser.org>
496
497         * epg-pgp50i.el: New file.
498
499 2006-07-13  Daiki Ueno  <ueno@unixuser.org>
500
501         * acinclude.m4 (AC_PATH_GPG): New macro.
502         * configure.ac: Check gpg version.
503         Suggested by Max Froumentin <max@lapin-bleu.net>
504
505 2006-07-10  Daiki Ueno  <ueno@unixuser.org>
506
507         * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
508         (epg-signature-to-string): Remove a trailing whitespace.
509
510         * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
511         (epa-toggle-mark): New command.
512
513 2006-07-04  Daiki Ueno  <ueno@unixuser.org>
514
515         * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
516         with pgg-default-user-id.
517         Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
518
519 2006-07-01  Daiki Ueno  <ueno@unixuser.org>
520
521         * epa.el (epa-select-keys): If SECRET is specified, select a
522         primary secret key by default.
523
524 2006-06-29  Daiki Ueno  <ueno@unixuser.org>
525
526         * EasyPG: Version 0.0.3 released.
527         * epg.el (epg-version-number): Bump up.
528         * configure.ac: Bump up version.
529
530 2006-06-12  Daiki Ueno  <ueno@unixuser.org>
531
532         * epa-file.el (epa-file-insert-file-contents): Don't move the
533         point to the end of the inserted region.
534         Reported by doug <douglas.bagley@gmail.com>
535
536 2006-06-01  Daiki Ueno  <ueno@unixuser.org>
537
538         * epa-file.el (epa-file-insert-file-contents): Support partial read.
539
540 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
541
542         * epa-file.el (epa-file-write-region): Encode the plain text with
543         coding-system-for-write.
544
545 2006-05-30  Daiki Ueno  <ueno@unixuser.org>
546
547         * epa-file.el (epa-file-insert-file-contents):
548         Decode the decrypted text with coding-system-for-read.
549
550 2006-05-29  Daiki Ueno  <ueno@unixuser.org>
551
552         * EasyPG: Version 0.0.2 released.
553         * epg.el (epg-version-number): Bump up.
554         * configure.ac: Bump up version.
555
556 2006-05-29  Daiki Ueno  <ueno@unixuser.org>
557
558         * epg.el (epg--time-from-seconds): New function.
559         (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
560         (epg--status-VALIDSIG): Ditto.
561         (epg--status-KEYEXPIRED): Ditto.
562
563 2006-05-28  Daiki Ueno  <ueno@unixuser.org>
564
565         * epg.el (epg-start-import-keys): Don't specify filename if keys
566         is a string data.
567
568 2006-05-27  Daiki Ueno  <ueno@unixuser.org>
569
570         * epg.el (epg--process-filter): Pass epg-context instead of
571         process to status handlers.
572         (epg--status-NO_PUBKEY): Check if the previous signature's key-id
573         matches with the given key-id.
574
575 2006-05-26  Daiki Ueno  <ueno@unixuser.org>
576
577         * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
578         status from 'error to 'no-pubkey.
579         (epg--status-ERRSIG): Just add 'error signature to the verify result.
580
581         * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
582         disable inhibit-quit here; make text-properties nonsticky.
583         (epa-popup-info-window): New user option.
584         (epa-info-window-height): New user option.
585         (epa-display-verify-result): New function.
586         (epa-decrypt-file): Use it.
587         (epa-verify-file): Use it.
588         (epa-decrypt-region): Use it.
589         (epa-verify-region): Use it.
590
591         * epg.el (epg-make-context): New slot "operation".
592         (epg-passphrase-callback-function): Confirm passphrase when
593         performing symmetric encryption.
594
595 2006-05-25  Daiki Ueno  <ueno@unixuser.org>
596
597         * epa.el (epa-decrypt-file): Display verify result if the message
598         is signed.
599         (epa-decrypt-region): New command.
600         (epa-verify-region): New command.
601         (epa-decrypt-armor-in-region): New command.
602         (epa-verify-armor-in-region): New command.
603         (epa-sign-region): New command.
604         (epa-encrypt-region): New command.
605
606 2006-05-11  Daiki Ueno  <ueno@unixuser.org>
607
608         * epa.el (epa-armor): New user option.
609         (epa-textmode): New user option.
610
611 2006-05-02  Daiki Ueno  <ueno@unixuser.org>
612
613         * epg.el (epg-make-key-signature): New object epg-key-signature.
614         (epg-list-keys): Collect key signatures.
615         (epg-make-sub-key): Renamed secret -> secret-p.
616         (epg-list-keys-postprocess-one-key): Abolished.
617         (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
618         signatures by itself.
619         (epg-no-data-reason-alist): New constant.
620         (epg-unexpected-reason-alist): New constant.
621
622 2006-05-01  Daiki Ueno  <ueno@unixuser.org>
623
624         * epg.el (epg-invalid-recipients-reason-alist): Renamed.
625         (epg-delete-problem-reason-alist): Renamed.
626         (epg-import-ok-reason-alist): New constant.
627         (epg-import-problem-reason-alist): New constant.
628         (epg-status-IMPORTED): New function.
629         (epg-status-IMPORT_OK): New function.
630         (epg-status-IMPORT_PROBLEM): New function.
631         (epg-start-import-keys): Don't use a temporary output file.
632         (epg-start-receive-keys): New function.
633         (epg-import-keys-from-server): New function.
634         (epg-receive-keys): Alias to epg-import-keys-from-server.
635
636 2006-05-01  Daiki Ueno  <ueno@unixuser.org>
637
638         * epg.el (epg-start): Signal an error if the process of CONTEXT is
639         already running for other operations.
640         (epg-flush): Abolished.
641         (epg-start-generate-key): New function.
642         (epg-generate-key-from-file): New function.
643         (epg-generate-key-from-string): New function.
644         (epg-status-KEY_CREATED): New function.
645         (epg-status-KEY_NOT_CREATED): New function.
646         (epg-new-signature-type-alist): New variable.
647         (epg-make-new-signature): New object epg-new-signature.
648         (epg-status-SIG_CREATED): Set epg-new-signature object.
649         (epg-new-signature-to-string): New function.
650         (epg-make-signature): Added slots for signature class and version.
651         (epg-start-sign): Fixed rule of the MODE argument.
652
653 2006-04-30  Daiki Ueno  <ueno@unixuser.org>
654
655         * epa.el (epa-delete-keys): Support deletion of secret keys.
656
657         * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
658         decrypted text.
659
660         * epg.el (epg-read-output): Don't convert line endings of the
661         output file.
662         (epg-cancel): Set 'error result.
663
664 2006-04-29  Daiki Ueno  <ueno@unixuser.org>
665
666         * epg.el (epg-make-signature): Removed user-id; added
667         creation-time, expiration-time, pubkey-algorithm,
668         digest-algorithm.
669         (epg-process-sentinel): Abolished.
670         (epg-signature-to-string): Decode DN.
671         (epg-list-keys): Cache user-id in epg-user-id-alist.
672         (epg-make-user-id): Renamed name -> string.
673
674 2006-04-29  Daiki Ueno  <ueno@unixuser.org>
675
676         * epg.el (epg-status-ERRSIG): New function.
677         (epg-verify-file): Signal an error if we encounter ERRSIG status.
678         (epg-verify-string): Ditto.
679
680 2006-04-28  Daiki Ueno  <ueno@unixuser.org>
681
682         * epg.el: Added typecheck to accessors to objects.
683
684 2006-04-26  Daiki Ueno  <ueno@unixuser.org>
685
686         * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
687         argument of passphrase-callback.
688         (epg-status-PROGRESS): Ditto.
689
690 2006-04-26  Daiki Ueno  <ueno@unixuser.org>
691
692         * epa.el (epa-select-keys): Don't set inhibit-quit when
693         recursive-edit is called.
694         (epg-cancel): New function.
695
696 2006-04-25  Daiki Ueno  <ueno@unixuser.org>
697
698         * epg.el (epg-process-sentinel): New function; set 'error if gpg
699         process exited abnormally, but we have not received an error
700         response from it.
701         (epg-sign-file): Signal an error only when a signature is not
702         created.
703         (epg-sign-string): Ditto.
704         (epg-encrypt-file): Signal an error if SIGN is specified and
705         signature is not created.
706         (epg-encrypt-string): Ditto.
707
708 2006-04-22  Daiki Ueno  <ueno@unixuser.org>
709
710         * epa.el (epa-key-widget-value-create): Decode DN.
711         (epa-list-keys): Add the PROTOCOL argument.
712         (epa-select-keys): Require CONTEXT as the first argument.
713
714         * epg.el (epg-gpgsm-program): New user option.
715         (epg-dn-type-alist): New variable.
716         (epg-start): Don't specify --command-fd if protocol is CMS.
717         (epg-list-keys): Require CONTEXT as the first argument.
718         (epg-dn-from-string): New function.
719         (epg-decode-dn): New function.
720
721 2006-04-21  Daiki Ueno  <ueno@unixuser.org>
722
723         * epa.el (epa-sign-keys): New command.
724
725         * epg.el (epg-start-sign-keys): New function.
726         (epg-sign-keys): New function.
727         (epg-status-GET_HIDDEN): Enable local quit.
728         (epg-status-GET_BOOL): Ditto.
729         (epg-status-GET_LINE): Ditto.
730
731 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
732
733         * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
734         region.
735
736 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
737
738         * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
739         (pgg-epg-passphrase-callback): New function.
740
741         * epa.el (epa-select-keys): Added "Cancel" button.
742
743 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
744
745         * epg.el (epg-signature-to-string): New function.
746
747 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
748
749         * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
750         key objects.
751         * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
752         key objects.
753
754         * epa.el (epa-select-keys): Added MODE argument.
755         (epa-encrypt-file): RECIPIENTS is now a list of key objects.
756
757         * epg.el (epg-status-SIG_CREATED): New function.
758         (epg-start-sign): epg-context-signers is now a list of key objects.
759         (epg-start-encrypt): RECIPIENTS is now a list of key objects.
760
761 2006-04-19  Daiki Ueno  <ueno@unixuser.org>
762
763         * epa.el (epa-verify-file): Show results in minibuffer.
764         * epg.el (epg-debug-buffer): New variable.
765         (epg-flush): New function.
766
767 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
768
769         * epa.el (epa-export-keys): New command.
770         * epg.el (epg-start-export-keys): Accept a list of epg-key object
771         instead of a regexp.
772
773 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
774
775         * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
776         (epa-import-key): New command.
777
778         * epg.el (epg-delete-problem-alist): New constant.
779         (epg-status-DELETE_PROBLEM): New function.
780         (epg-start-delete-key): New function.
781         (epg-delete-key): New function.
782         (epg-wait-for-completion): Add the NO-EOF argument.
783
784 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
785
786         * epg.el (epg-start): Insert the command-line arguments to the
787         debug buffer.
788         (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
789         (epg-start-delete-key): New function.
790         (epg-delete-key): New function.
791
792         * epa.el (epa-key): New widget.
793         (epa-key-widget-action): New function.
794         (epa-key-widget-value-create): New function.
795         (epa-key-widget-button-face-get): New function.
796         (epa-key-widget-help-echo): New function.
797
798 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
799
800         * epa-file.el (epa-file-write-region): Check if START is a string.
801
802 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
803
804         * epa-file.el: Rewritten with file-name-handler.
805         (epa-file-handler): New variable.
806         (epa-file-enable): New command.
807         (epa-file-disable): New command.
808
809         * epa-setup.el: Call epa-file-enable.
810
811 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
812
813         * epa-file.el (epa-passphrase): New variable.
814         (epa-file-passphrase-callback-function): New function.
815         (epa-find-file): Reset buffer-undo-list; set
816         buffer-file-coding-system to last-coding-system-used after
817         decoding.
818
819 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
820
821         * epa-file.el (epa-write-file): Try to write region to "/" to get
822         last-coding-system-used to be set.
823
824 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
825
826         * epa-file.el: New implementation of epf.el.
827
828         * epf.el: Abolished.
829
830 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
831
832         * epa.el (epa-verify-file): Display verify result.
833
834         * epg.el (epg-invalid-recipients-alist): New variable.
835         (epg-status-INV_RECP): New function.
836         (epg-status-NO_RECP): New function.
837
838         * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
839         epa-verify-file, epa-sign-file, and epa-encrypt-file.
840         (epa-decrypt-file): New function imported from epa-dired.el.
841         (epa-verify-file): New function imported from epa-dired.el.
842         (epa-sign-file): New function imported from epa-dired.el.
843         (epa-encrypt-file): New function imported from epa-dired.el.
844
845 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
846
847         * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
848         recursive-edit.
849         * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
850
851 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
852
853         * epa-setup.el: New file.
854         * epa-dired.el: New file.
855
856         * epg.el (epg-colons-pub-spec): Abolished.
857         (epg-colons-sec-spec): Abolished.
858         (epg-colons-uid-spec): Abolished.
859         (epg-colons-fpr-spec): Abolished.
860         (epg-key-validity-alist): New variable.
861         (epg-key-capablity-alist): New variable.
862         (epg-make-key): New object epg-key.
863         (epg-make-sub-key): New object epg-sub-key.
864         (epg-make-user-id): New object epg-user-id.
865         (epg-list-keys-1): Renamed from epg-list-keys.
866         (epg-list-keys): Rewritten.
867
868 2006-04-15  Daiki Ueno  <ueno@unixuser.org>
869
870         * epg.el (epg-list-keys): Make the NAME argument optional.
871
872 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
873
874         * epa.el: Added header.
875
876         * epg.el (epg-list-keys): Specify --with-fingerprint.
877         (epg-colons-fpr-spec): New variable.
878         (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
879         owner-trust.
880         (epg-colons-sec-spec): Ditto.
881         (epg-colons-uid-spec): Renamed trust -> validity.
882
883 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
884
885         * epa.el: New file.
886
887         * epg.el (epg-cipher-algorithm-alist): New constant.
888         (epg-pubkey-algorithm-alist): New constant.
889         (epg-digest-algorithm-alist): New constant.
890         (epg-compress-algorithm-alist): New constant.
891         (epg-configuration): New function.
892         (epg-start): Don't specify --yes.
893
894 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
895
896         * epg.el (epg-make-data-from-file): New function.
897         (epg-make-data-from-string): New function.
898         (epg-data-file): New function.
899         (epg-data-string): New function.
900         (epg-start-decrypt): Get a cipher text from a data object.
901         (epg-delete-output-file): New function.
902         (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
903         the output goes.
904         (epg-start-verify): Get a signature and signed-text from a data
905         object.
906         (epg-verify-file): Added the 3rd argument PLAIN to specify where
907         the output goes; return the plain text if PLAIN is nil.
908         (epg-verify-string): Return the plain text.
909         (epg-start-sign): Get a plain text from a data object.
910         (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
911         the output goes.
912         (epg-start-encrypt): Get a plain text from a data object.
913         (epg-encrypt-file): Added the 4th argument CIPHER to specify where
914         the output goes.
915         (epg-start-import-keys): Get keys from a data object.
916         (epg-import-keys-1): New function.
917         (epg-import-keys-from-file): Use it.
918         (epg-import-keys-from-string): Use it.
919
920 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
921
922         * epf.el: Renamed from epg-file.el.
923
924 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
925
926         * epg.el (epg-status-GET_BOOL): New function.
927         (epg-status-GET_LINE): New function.
928         (epg-prompt-alist): New variable, to be filled.
929
930         * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
931         * epg.el (epg-signature-fingerprint): New function.
932         (epg-signature-set-fingerprint): New function.
933         (epg-status-VALIDSIG): New function.
934
935         * epg.el (epg-reset): Don't reset result.
936         (epg-start-decrypt): Reset result before epg-start.
937         (epg-start-verify): Ditto.
938         (epg-start-sign): Ditto.
939         (epg-start-encrypt): Ditto.
940         (epg-start-export-keys): Ditto.
941         (epg-start-import-keys): Ditto.
942
943         * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
944         * pgg-epg.el: New file.
945
946         * epg.el (epg-start-export-keys): New function.
947         (epg-export-keys): New function.
948         (epg-start-import-keys): New function.
949         (epg-import-keys): New function.
950         (epg-verify-file): New function.
951
952         * epg-file.el (epg-file-write-region): Support public key encryption.
953
954         * epg.el (epg-passphrase-callback-function): Always display key-id.
955