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