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