1 2006-11-12 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-error): New error.
4 (epg--check-error-for-decrypt): New function.
5 (epg-decrypt-file): Use it.
6 (epg-decrypt-string): Use it.
7 (epg--start): Added a very basic test to check whether to specify
10 * epa.el (epa-decrypt-file): Expand file name.
11 (epa-verify-file): Ditto.
12 (epa-import-keys): Ditto.
14 2006-11-12 Daiki Ueno <ueno@unixuser.org>
16 * epg.el (epg-delete-keys): Decode delete-problem.
18 * epa.el (epa-popup-info-window): Turn on by default.
19 (epa-display-info): Split selected window instead of pop-to-buffer.
21 2006-11-12 Daiki Ueno <ueno@unixuser.org>
23 * epa.el (epa-display-info): Generalized; renamed from
24 epa-display-verify-result.
25 (epa-decrypt-file): Use it.
26 (epa-verify-file): Use it.
27 (epa-decrypt-region): Use it.
28 (epa-verify-region): Use it.
29 (epa-import-keys): Show import result.
30 (epa-display-verify-result): Make it obsolete.
32 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
34 (epg-sign-keys): Make it obsolete.
35 (epg-make-import-status): New object epg-import-status.
36 (epg-make-import-result): New object epg-import-result.
37 (epg--status-IMPORT_RES): New function.
38 (epg-import-result-to-string): New function.
40 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
41 (epa-sign-keys): Make it obsolete.
43 2006-11-11 Daiki Ueno <ueno@unixuser.org>
45 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
46 mode is set for a cleartext signature.
47 (epg-make-context): New slot "sig-notations".
48 (epg--args-from-sig-notations): New function.
49 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
51 (epg-start-encrypt): Ditto.
52 (epg-make-signature): New slot "notations".
53 (epg--status-NOTATION_NAME): New function.
54 (epg--status-NOTATION_DATA): New function.
55 (epg--status-POLICY_URL): New function.
57 2006-10-29 Daiki Ueno <ueno@unixuser.org>
59 * EasyPG: Version 0.0.7 released.
60 * epg-config.el (epg-version-number): Bump up.
61 * configure.ac: Bump up version.
63 2006-10-29 Daiki Ueno <ueno@unixuser.org>
66 (epa-file-cache-passphrase-for-symmetric-encryption): New user
69 2006-10-12 Daiki Ueno <ueno@unixuser.org>
71 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
72 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
74 2006-09-29 Daiki Ueno <ueno@unixuser.org>
76 * EasyPG: Version 0.0.6 released.
77 * epg.el (epg-version-number): Bump up.
78 * configure.ac: Bump up version.
80 2006-09-29 Daiki Ueno <ueno@unixuser.org>
82 * epa.el (epa-verify-cleartext-in-region): Renamed from
83 epa-verify-armor-in-region.
85 * epg.el (epg-passphrase-callback-function): Suggest to use
86 epa-passphrase-callback-function instead.
87 (epg-start-verify): Don't specify --verify if SIGNATURE is a
88 normal or a clear text signature.
89 (epg-verify-file): Mention that the plaintext will be stored into
90 the file PLAIN after successful verification.
91 (epg-verify-string): Mention that the plaintext will be returned
92 after successful verification.
94 2006-09-27 Daiki Ueno <ueno@unixuser.org>
96 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
97 (epa-file-write-region): Ditto.
99 * epa.el (epa-decrypt-file): Set callbacks.
100 (epa-sign-file): Ditto.
101 (epa-encrypt-file): Ditto.
102 (epa-decrypt-region): Ditto.
103 (epa-sign-region): Ditto.
104 (epa-encrypt-region): Ditto.
105 (epa-sign-keys): Ditto.
107 * epg.el (epg-progress-callback-function): Removed.
109 2006-09-24 Daiki Ueno <ueno@unixuser.org>
111 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
112 (epa-progress-callback-function): Ditto.
113 * epg.el (epg-passphrase-callback-function): Made it obsolete.
114 (epg-progress-callback-function): Ditto.
116 2006-09-23 Daiki Ueno <ueno@unixuser.org>
118 * epg.el (epg-start-decrypt): Append "--" to the end of options.
119 (epg-start-verify): Ditto.
120 (epg-start-sign): Ditto.
121 (epg-start-encrypt): Ditto.
122 (epg-start-import-keys): Ditto.
123 (epg-start-generate-key): Ditto.
125 2006-09-23 Daiki Ueno <ueno@unixuser.org>
127 * epg.el (epg-make-context): Don't set progress-callback by
129 (epg--start): Don't specify --enable-progress-filter if
130 progress-callback is not set.
131 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
134 2006-09-15 Daiki Ueno <ueno@unixuser.org>
136 * epg.el (epg-progress-callback-function): Show the percentage.
138 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
140 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
142 2006-09-13 Daiki Ueno <ueno@unixuser.org>
144 * epg-config.el (epg-passphrase-coding-system): Renamed from
145 epg-locale-coding-system.
147 2006-09-11 Daiki Ueno <ueno@unixuser.org>
149 * epa-file.el (epa-file-decode-and-insert): New function which
150 utilizes decode-coding-inserted-region if available.
151 (epa-file-insert-file-contents): Use it.
153 * epg.el (epg--start): Specify --enable-progress-filter in
155 (epg-progress-callback-function): Remove a couple of %%'s.
157 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
159 * epg-config.el (epg-configuration): Fixed the last change;
160 collect configuration other than group and algorithm.
162 2006-09-05 Daiki Ueno <ueno@unixuser.org>
164 * epg-config.el (epg-debug): Moved from epg.el.
165 (epg-configuration): Parse group configuration.
166 (epg-expand-group): New function.
168 2006-09-04 Daiki Ueno <ueno@unixuser.org>
170 * EasyPG: Version 0.0.5 released.
171 * epg.el (epg-version-number): Bump up.
172 * configure.ac: Bump up version.
174 2006-09-04 Daiki Ueno <ueno@unixuser.org>
176 * epg-config.el (epg-locale-coding-system): New user option.
178 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
179 (epg--clear-string): New function.
180 (epg--status-GET_HIDDEN): Encode passphrase with
181 terminal-coding-system.
183 * epg-config.el (epg-gpg-minimum-version): New constant.
184 (epg-config--parse-version): New function.
185 (epg-config--compare-version): New function.
186 (epg-configuration): Respect epg-gpg-home-directory.
188 2006-09-03 Daiki Ueno <ueno@unixuser.org>
190 * epg-config.el: New file; moved GnuPG configuration check from
193 2006-09-02 Daiki Ueno <ueno@unixuser.org>
195 * epg.el (epg-check-configuration): New function.
196 (epg-gpg-home-directory): New user option.
198 * pgg-epg.el (pgg-epg-lookup-key): New function.
200 2006-07-29 Daiki Ueno <ueno@unixuser.org>
202 * EasyPG: Version 0.0.4 released.
203 * epg.el (epg-version-number): Bump up.
204 * configure.ac: Bump up version.
206 2006-07-29 Daiki Ueno <ueno@unixuser.org>
208 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
210 2006-07-28 Daiki Ueno <ueno@unixuser.org>
212 * epg.el (epg-start-encrypt): Extract primary key ID from
214 Thanks to Steve Youngs <steve@sxemacs.org>
216 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
217 give CONTEXT to epg-list-keys.
218 Thanks to Steve Youngs <steve@sxemacs.org>
220 2006-07-18 Daiki Ueno <ueno@unixuser.org>
222 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
223 epg-process-filter-running instead of epg-pgp50i-status; Don't
224 save-excursion during handler execution.
225 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
226 don't allow process input.
227 (epg-pgp50i--parse-time): New function.
228 (epg-pgp50i--status-BAD_SIGNATURE): New function.
230 * epg.el (epg--process-filter): Don't save-excursion during
233 2006-07-18 Daiki Ueno <ueno@unixuser.org>
235 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
237 * epg.el (epg-process-filter-running): New variable.
238 (epg--start): Setup epg-process-filter-running.
239 (epg--process-filter): Allow only one status handler to run at a
240 time; update epg-read-point everytime the point changes.
242 2006-07-14 Daiki Ueno <ueno@unixuser.org>
244 * epg-pgp50i.el: New file.
246 2006-07-13 Daiki Ueno <ueno@unixuser.org>
248 * acinclude.m4 (AC_PATH_GPG): New macro.
249 * configure.ac: Check gpg version.
250 Suggested by Max Froumentin <max@lapin-bleu.net>
252 2006-07-10 Daiki Ueno <ueno@unixuser.org>
254 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
255 (epg-signature-to-string): Remove a trailing whitespace.
257 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
258 (epa-toggle-mark): New command.
260 2006-07-04 Daiki Ueno <ueno@unixuser.org>
262 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
263 with pgg-default-user-id.
264 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
266 2006-07-01 Daiki Ueno <ueno@unixuser.org>
268 * epa.el (epa-select-keys): If SECRET is specified, select a
269 primary secret key by default.
271 2006-06-29 Daiki Ueno <ueno@unixuser.org>
273 * EasyPG: Version 0.0.3 released.
274 * epg.el (epg-version-number): Bump up.
275 * configure.ac: Bump up version.
277 2006-06-12 Daiki Ueno <ueno@unixuser.org>
279 * epa-file.el (epa-file-insert-file-contents): Don't move the
280 point to the end of the inserted region.
281 Reported by doug <douglas.bagley@gmail.com>
283 2006-06-01 Daiki Ueno <ueno@unixuser.org>
285 * epa-file.el (epa-file-insert-file-contents): Support partial read.
287 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
289 * epa-file.el (epa-file-write-region): Encode the plain text with
290 coding-system-for-write.
292 2006-05-30 Daiki Ueno <ueno@unixuser.org>
294 * epa-file.el (epa-file-insert-file-contents):
295 Decode the decrypted text with coding-system-for-read.
297 2006-05-29 Daiki Ueno <ueno@unixuser.org>
299 * EasyPG: Version 0.0.2 released.
300 * epg.el (epg-version-number): Bump up.
301 * configure.ac: Bump up version.
303 2006-05-29 Daiki Ueno <ueno@unixuser.org>
305 * epg.el (epg--time-from-seconds): New function.
306 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
307 (epg--status-VALIDSIG): Ditto.
308 (epg--status-KEYEXPIRED): Ditto.
310 2006-05-28 Daiki Ueno <ueno@unixuser.org>
312 * epg.el (epg-start-import-keys): Don't specify filename if keys
315 2006-05-27 Daiki Ueno <ueno@unixuser.org>
317 * epg.el (epg--process-filter): Pass epg-context instead of
318 process to status handlers.
319 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
320 matches with the given key-id.
322 2006-05-26 Daiki Ueno <ueno@unixuser.org>
324 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
325 status from 'error to 'no-pubkey.
326 (epg--status-ERRSIG): Just add 'error signature to the verify result.
328 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
329 disable inhibit-quit here; make text-properties nonsticky.
330 (epa-popup-info-window): New user option.
331 (epa-info-window-height): New user option.
332 (epa-display-verify-result): New function.
333 (epa-decrypt-file): Use it.
334 (epa-verify-file): Use it.
335 (epa-decrypt-region): Use it.
336 (epa-verify-region): Use it.
338 * epg.el (epg-make-context): New slot "operation".
339 (epg-passphrase-callback-function): Confirm passphrase when
340 performing symmetric encryption.
342 2006-05-25 Daiki Ueno <ueno@unixuser.org>
344 * epa.el (epa-decrypt-file): Display verify result if the message
346 (epa-decrypt-region): New command.
347 (epa-verify-region): New command.
348 (epa-decrypt-armor-in-region): New command.
349 (epa-verify-armor-in-region): New command.
350 (epa-sign-region): New command.
351 (epa-encrypt-region): New command.
353 2006-05-11 Daiki Ueno <ueno@unixuser.org>
355 * epa.el (epa-armor): New user option.
356 (epa-textmode): New user option.
358 2006-05-02 Daiki Ueno <ueno@unixuser.org>
360 * epg.el (epg-make-key-signature): New object epg-key-signature.
361 (epg-list-keys): Collect key signatures.
362 (epg-make-sub-key): Renamed secret -> secret-p.
363 (epg-list-keys-postprocess-one-key): Abolished.
364 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
365 signatures by itself.
366 (epg-no-data-reason-alist): New constant.
367 (epg-unexpected-reason-alist): New constant.
369 2006-05-01 Daiki Ueno <ueno@unixuser.org>
371 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
372 (epg-delete-problem-reason-alist): Renamed.
373 (epg-import-ok-reason-alist): New constant.
374 (epg-import-problem-reason-alist): New constant.
375 (epg-status-IMPORTED): New function.
376 (epg-status-IMPORT_OK): New function.
377 (epg-status-IMPORT_PROBLEM): New function.
378 (epg-start-import-keys): Don't use a temporary output file.
379 (epg-start-receive-keys): New function.
380 (epg-import-keys-from-server): New function.
381 (epg-receive-keys): Alias to epg-import-keys-from-server.
383 2006-05-01 Daiki Ueno <ueno@unixuser.org>
385 * epg.el (epg-start): Signal an error if the process of CONTEXT is
386 already running for other operations.
387 (epg-flush): Abolished.
388 (epg-start-generate-key): New function.
389 (epg-generate-key-from-file): New function.
390 (epg-generate-key-from-string): New function.
391 (epg-status-KEY_CREATED): New function.
392 (epg-status-KEY_NOT_CREATED): New function.
393 (epg-new-signature-type-alist): New variable.
394 (epg-make-new-signature): New object epg-new-signature.
395 (epg-status-SIG_CREATED): Set epg-new-signature object.
396 (epg-new-signature-to-string): New function.
397 (epg-make-signature): Added slots for signature class and version.
398 (epg-start-sign): Fixed rule of the MODE argument.
400 2006-04-30 Daiki Ueno <ueno@unixuser.org>
402 * epa.el (epa-delete-keys): Support deletion of secret keys.
404 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
407 * epg.el (epg-read-output): Don't convert line endings of the
409 (epg-cancel): Set 'error result.
411 2006-04-29 Daiki Ueno <ueno@unixuser.org>
413 * epg.el (epg-make-signature): Removed user-id; added
414 creation-time, expiration-time, pubkey-algorithm,
416 (epg-process-sentinel): Abolished.
417 (epg-signature-to-string): Decode DN.
418 (epg-list-keys): Cache user-id in epg-user-id-alist.
419 (epg-make-user-id): Renamed name -> string.
421 2006-04-29 Daiki Ueno <ueno@unixuser.org>
423 * epg.el (epg-status-ERRSIG): New function.
424 (epg-verify-file): Signal an error if we encounter ERRSIG status.
425 (epg-verify-string): Ditto.
427 2006-04-28 Daiki Ueno <ueno@unixuser.org>
429 * epg.el: Added typecheck to accessors to objects.
431 2006-04-26 Daiki Ueno <ueno@unixuser.org>
433 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
434 argument of passphrase-callback.
435 (epg-status-PROGRESS): Ditto.
437 2006-04-26 Daiki Ueno <ueno@unixuser.org>
439 * epa.el (epa-select-keys): Don't set inhibit-quit when
440 recursive-edit is called.
441 (epg-cancel): New function.
443 2006-04-25 Daiki Ueno <ueno@unixuser.org>
445 * epg.el (epg-process-sentinel): New function; set 'error if gpg
446 process exited abnormally, but we have not received an error
448 (epg-sign-file): Signal an error only when a signature is not
450 (epg-sign-string): Ditto.
451 (epg-encrypt-file): Signal an error if SIGN is specified and
452 signature is not created.
453 (epg-encrypt-string): Ditto.
455 2006-04-22 Daiki Ueno <ueno@unixuser.org>
457 * epa.el (epa-key-widget-value-create): Decode DN.
458 (epa-list-keys): Add the PROTOCOL argument.
459 (epa-select-keys): Require CONTEXT as the first argument.
461 * epg.el (epg-gpgsm-program): New user option.
462 (epg-dn-type-alist): New variable.
463 (epg-start): Don't specify --command-fd if protocol is CMS.
464 (epg-list-keys): Require CONTEXT as the first argument.
465 (epg-dn-from-string): New function.
466 (epg-decode-dn): New function.
468 2006-04-21 Daiki Ueno <ueno@unixuser.org>
470 * epa.el (epa-sign-keys): New command.
472 * epg.el (epg-start-sign-keys): New function.
473 (epg-sign-keys): New function.
474 (epg-status-GET_HIDDEN): Enable local quit.
475 (epg-status-GET_BOOL): Ditto.
476 (epg-status-GET_LINE): Ditto.
478 2006-04-20 Daiki Ueno <ueno@unixuser.org>
480 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
483 2006-04-20 Daiki Ueno <ueno@unixuser.org>
485 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
486 (pgg-epg-passphrase-callback): New function.
488 * epa.el (epa-select-keys): Added "Cancel" button.
490 2006-04-20 Daiki Ueno <ueno@unixuser.org>
492 * epg.el (epg-signature-to-string): New function.
494 2006-04-20 Daiki Ueno <ueno@unixuser.org>
496 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
498 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
501 * epa.el (epa-select-keys): Added MODE argument.
502 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
504 * epg.el (epg-status-SIG_CREATED): New function.
505 (epg-start-sign): epg-context-signers is now a list of key objects.
506 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
508 2006-04-19 Daiki Ueno <ueno@unixuser.org>
510 * epa.el (epa-verify-file): Show results in minibuffer.
511 * epg.el (epg-debug-buffer): New variable.
512 (epg-flush): New function.
514 2006-04-18 Daiki Ueno <ueno@unixuser.org>
516 * epa.el (epa-export-keys): New command.
517 * epg.el (epg-start-export-keys): Accept a list of epg-key object
520 2006-04-18 Daiki Ueno <ueno@unixuser.org>
522 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
523 (epa-import-key): New command.
525 * epg.el (epg-delete-problem-alist): New constant.
526 (epg-status-DELETE_PROBLEM): New function.
527 (epg-start-delete-key): New function.
528 (epg-delete-key): New function.
529 (epg-wait-for-completion): Add the NO-EOF argument.
531 2006-04-18 Daiki Ueno <ueno@unixuser.org>
533 * epg.el (epg-start): Insert the command-line arguments to the
535 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
536 (epg-start-delete-key): New function.
537 (epg-delete-key): New function.
539 * epa.el (epa-key): New widget.
540 (epa-key-widget-action): New function.
541 (epa-key-widget-value-create): New function.
542 (epa-key-widget-button-face-get): New function.
543 (epa-key-widget-help-echo): New function.
545 2006-04-17 Daiki Ueno <ueno@unixuser.org>
547 * epa-file.el (epa-file-write-region): Check if START is a string.
549 2006-04-17 Daiki Ueno <ueno@unixuser.org>
551 * epa-file.el: Rewritten with file-name-handler.
552 (epa-file-handler): New variable.
553 (epa-file-enable): New command.
554 (epa-file-disable): New command.
556 * epa-setup.el: Call epa-file-enable.
558 2006-04-17 Daiki Ueno <ueno@unixuser.org>
560 * epa-file.el (epa-passphrase): New variable.
561 (epa-file-passphrase-callback-function): New function.
562 (epa-find-file): Reset buffer-undo-list; set
563 buffer-file-coding-system to last-coding-system-used after
566 2006-04-17 Daiki Ueno <ueno@unixuser.org>
568 * epa-file.el (epa-write-file): Try to write region to "/" to get
569 last-coding-system-used to be set.
571 2006-04-17 Daiki Ueno <ueno@unixuser.org>
573 * epa-file.el: New implementation of epf.el.
577 2006-04-17 Daiki Ueno <ueno@unixuser.org>
579 * epa.el (epa-verify-file): Display verify result.
581 * epg.el (epg-invalid-recipients-alist): New variable.
582 (epg-status-INV_RECP): New function.
583 (epg-status-NO_RECP): New function.
585 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
586 epa-verify-file, epa-sign-file, and epa-encrypt-file.
587 (epa-decrypt-file): New function imported from epa-dired.el.
588 (epa-verify-file): New function imported from epa-dired.el.
589 (epa-sign-file): New function imported from epa-dired.el.
590 (epa-encrypt-file): New function imported from epa-dired.el.
592 2006-04-16 Daiki Ueno <ueno@unixuser.org>
594 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
596 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
598 2006-04-16 Daiki Ueno <ueno@unixuser.org>
600 * epa-setup.el: New file.
601 * epa-dired.el: New file.
603 * epg.el (epg-colons-pub-spec): Abolished.
604 (epg-colons-sec-spec): Abolished.
605 (epg-colons-uid-spec): Abolished.
606 (epg-colons-fpr-spec): Abolished.
607 (epg-key-validity-alist): New variable.
608 (epg-key-capablity-alist): New variable.
609 (epg-make-key): New object epg-key.
610 (epg-make-sub-key): New object epg-sub-key.
611 (epg-make-user-id): New object epg-user-id.
612 (epg-list-keys-1): Renamed from epg-list-keys.
613 (epg-list-keys): Rewritten.
615 2006-04-15 Daiki Ueno <ueno@unixuser.org>
617 * epg.el (epg-list-keys): Make the NAME argument optional.
619 2006-04-13 Daiki Ueno <ueno@unixuser.org>
621 * epa.el: Added header.
623 * epg.el (epg-list-keys): Specify --with-fingerprint.
624 (epg-colons-fpr-spec): New variable.
625 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
627 (epg-colons-sec-spec): Ditto.
628 (epg-colons-uid-spec): Renamed trust -> validity.
630 2006-04-13 Daiki Ueno <ueno@unixuser.org>
634 * epg.el (epg-cipher-algorithm-alist): New constant.
635 (epg-pubkey-algorithm-alist): New constant.
636 (epg-digest-algorithm-alist): New constant.
637 (epg-compress-algorithm-alist): New constant.
638 (epg-configuration): New function.
639 (epg-start): Don't specify --yes.
641 2006-04-13 Daiki Ueno <ueno@unixuser.org>
643 * epg.el (epg-make-data-from-file): New function.
644 (epg-make-data-from-string): New function.
645 (epg-data-file): New function.
646 (epg-data-string): New function.
647 (epg-start-decrypt): Get a cipher text from a data object.
648 (epg-delete-output-file): New function.
649 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
651 (epg-start-verify): Get a signature and signed-text from a data
653 (epg-verify-file): Added the 3rd argument PLAIN to specify where
654 the output goes; return the plain text if PLAIN is nil.
655 (epg-verify-string): Return the plain text.
656 (epg-start-sign): Get a plain text from a data object.
657 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
659 (epg-start-encrypt): Get a plain text from a data object.
660 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
662 (epg-start-import-keys): Get keys from a data object.
663 (epg-import-keys-1): New function.
664 (epg-import-keys-from-file): Use it.
665 (epg-import-keys-from-string): Use it.
667 2006-04-12 Daiki Ueno <ueno@unixuser.org>
669 * epf.el: Renamed from epg-file.el.
671 2006-04-12 Daiki Ueno <ueno@unixuser.org>
673 * epg.el (epg-status-GET_BOOL): New function.
674 (epg-status-GET_LINE): New function.
675 (epg-prompt-alist): New variable, to be filled.
677 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
678 * epg.el (epg-signature-fingerprint): New function.
679 (epg-signature-set-fingerprint): New function.
680 (epg-status-VALIDSIG): New function.
682 * epg.el (epg-reset): Don't reset result.
683 (epg-start-decrypt): Reset result before epg-start.
684 (epg-start-verify): Ditto.
685 (epg-start-sign): Ditto.
686 (epg-start-encrypt): Ditto.
687 (epg-start-export-keys): Ditto.
688 (epg-start-import-keys): Ditto.
690 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
691 * pgg-epg.el: New file.
693 * epg.el (epg-start-export-keys): New function.
694 (epg-export-keys): New function.
695 (epg-start-import-keys): New function.
696 (epg-import-keys): New function.
697 (epg-verify-file): New function.
699 * epg-file.el (epg-file-write-region): Support public key encryption.
701 * epg.el (epg-passphrase-callback-function): Always display key-id.