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