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