1 2007-01-04 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-signature-to-string): Print creation-time and used
6 2006-12-31 Daiki Ueno <ueno@unixuser.org>
8 * epa.el (epa-mail-modes): New user option.
9 (epa--mail-mode-p): New function.
11 (epa-encrypt): Use it.
12 (epa--find-coding-system-for-mime-charset): New function.
13 (epa-decrypt-armor-in-region): Use it.
14 (epa-progress-callback-function): Use handback as the prompt.
15 (epa-encrypt-region): Take 4th argument SIGN.
18 2006-12-31 Daiki Ueno <ueno@unixuser.org>
20 * epa.el (epa--derived-mode-p): New alias.
22 (epa-encrypt): Use it.
24 2006-12-31 Daiki Ueno <ueno@unixuser.org>
26 * epa.el (epa--read-signature-type): New function.
27 (epa-decrypt): New command.
28 (epa-verify): New command.
29 (epa-sign): New command.
30 (epa-encrypt): New command.
31 (epa-import-armor-in-region): New command.
32 (epa-import): New command.
33 (epa-decrypt-region): Confirm user to replace the region.
34 (epa-display-info): Delete "*Info*" window.
36 2006-12-29 Daiki Ueno <ueno@unixuser.org>
38 * EasyPG: Version 0.0.9 released.
39 * epg-config.el (epg-version-number): Bump up.
40 * configure.ac: Bump up version.
42 2006-12-28 Daiki Ueno <ueno@unixuser.org>
44 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
45 is given; ask signature type only when a prefix arg is given.
46 (epa-sign-region): Ditto.
48 2006-12-26 Daiki Ueno <ueno@unixuser.org>
50 * epg-config.el (epg-passphrase-coding-system): Default to nil.
52 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
54 * epa.el (epa--format-fingerprint-1): New function.
55 (epa--format-fingerprint): Ditto.
56 (epa--show-key): Use it.
58 2006-12-20 Daiki Ueno <ueno@unixuser.org>
60 * epa-file.el (epa-file-write-region): Don't attempt to write the
61 region to "/" to determine safe coding-system.
63 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
64 (epa-sign-file): Save the output to *.p7s or *.p7m file if
66 (epa-encrypt-file): Ditto.
67 (epa-last-coding-system-specified): New variable.
68 (epa-decrypt-region): Try to decode with the
69 epa-coding-system-used text property.
70 (epa--select-safe-coding-system): New function.
71 (epa-verify-region): Try to decode with the epa-coding-system-used
73 (epa-sign-region): Query user to select coding-system to encode;
74 set the epa-coding-system-used text property on the result.
75 (epa-encrypt-region): Ditto.
77 2006-12-19 Daiki Ueno <ueno@unixuser.org>
79 * epg.el (epg-export-keys-to-file): Fixed a typo.
81 * epa.el (epa-protocol): New user option.
82 (epa-sign-region): --armor & --textmode.
83 (epa-encrypt-region): Ditto.
84 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
86 (epa-import-keys-region): New command.
87 (epa-insert-keys): New command.
88 (epa--insert-keys): Renamed from epa-insert-keys.
90 2006-12-11 Daiki Ueno <ueno@unixuser.org>
92 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
93 decode-coding-string if it is not bound.
95 * epa-file.el (epa-file--encode-coding-string): New alias.
96 (epa-file--decode-coding-string): New alias.
97 (epa-file-write-region): Use epa-file--encode-coding-string.
98 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
100 * epa.el (epa--encode-coding-string): New alias.
101 (epa--decode-coding-string): New alias.
102 (epa-verify-region): Use epa--encode-coding-string.
103 (epa-sign-region): Ditto; use epa--decode-coding-string.
104 (epa-encrypt-region): Use epa--encode-coding-string.
106 * epg.el (epg--encode-coding-string): New alias.
107 (epg--status-GET_HIDDEN): Use it.
109 2006-11-29 Daiki Ueno <ueno@unixuser.org>
111 * EasyPG: Version 0.0.8 released.
112 * epg-config.el (epg-version-number): Bump up.
113 * configure.ac: Bump up version.
115 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
117 * epa-file.el (epa-file-encrypt-to): New file local variable.
118 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
120 2006-11-26 Daiki Ueno <ueno@unixuser.org>
122 * epa.el (epa-sign-file): Query signature type at a time.
123 (epa-decrypt-file): Display output file name on completion.
124 (epa-sign-file): Ditto.
125 (epa-encrypt-file): Ditto.
127 2006-11-25 Daiki Ueno <ueno@unixuser.org>
129 * epa.el (epa-keys-mode): Don't call widget-setup.
130 (epa-list-keys): Call widget-setup here.
131 (epa-select-keys): Ditto.
133 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
135 * epg.el (epg-delete-keys): Remove redundant argument for `error'
136 and fix a close parenthesis.
138 2006-11-24 Daiki Ueno <ueno@unixuser.org>
140 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
141 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
142 cf. <emacs-mime-ja:02090>
144 2006-11-23 Daiki Ueno <ueno@unixuser.org>
146 * epa.el (epa-sign-region): Query signature type at a time.
148 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
150 * epg.el (epg-context-set-passphrase-callback): Add optional
152 (epg-context-set-progress-callback): Ditto.
154 2006-11-14 Daiki Ueno <ueno@unixuser.org>
156 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
157 (epa--show-key): Ditto.
158 Reported by Werner Koch <wk@gnupg.org>.
160 * epg.el (epg--start): Don't specify --enable-progress-filter for
162 (epg--status-PROGRESS): Check if progress-callback is set.
164 2006-11-12 Daiki Ueno <ueno@unixuser.org>
166 * epg.el (epg-error): New error.
167 (epg--check-error-for-decrypt): New function.
168 (epg-decrypt-file): Use it.
169 (epg-decrypt-string): Use it.
170 (epg--start): Added a very basic test to check whether to specify
173 * epa.el (epa-decrypt-file): Expand file name.
174 (epa-verify-file): Ditto.
175 (epa-import-keys): Ditto.
177 2006-11-12 Daiki Ueno <ueno@unixuser.org>
179 * epg.el (epg-delete-keys): Decode delete-problem.
181 * epa.el (epa-popup-info-window): Turn on by default.
182 (epa-display-info): Split selected window instead of pop-to-buffer.
184 2006-11-12 Daiki Ueno <ueno@unixuser.org>
186 * epa.el (epa-display-info): Generalized; renamed from
187 epa-display-verify-result.
188 (epa-decrypt-file): Use it.
189 (epa-verify-file): Use it.
190 (epa-decrypt-region): Use it.
191 (epa-verify-region): Use it.
192 (epa-import-keys): Show import result.
193 (epa-display-verify-result): Make it obsolete.
195 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
197 (epg-sign-keys): Make it obsolete.
198 (epg-make-import-status): New object epg-import-status.
199 (epg-make-import-result): New object epg-import-result.
200 (epg--status-IMPORT_RES): New function.
201 (epg-import-result-to-string): New function.
203 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
204 (epa-sign-keys): Make it obsolete.
206 2006-11-11 Daiki Ueno <ueno@unixuser.org>
208 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
209 mode is set for a cleartext signature.
210 (epg-make-context): New slot "sig-notations".
211 (epg--args-from-sig-notations): New function.
212 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
214 (epg-start-encrypt): Ditto.
215 (epg-make-signature): New slot "notations".
216 (epg--status-NOTATION_NAME): New function.
217 (epg--status-NOTATION_DATA): New function.
218 (epg--status-POLICY_URL): New function.
220 2006-10-29 Daiki Ueno <ueno@unixuser.org>
222 * EasyPG: Version 0.0.7 released.
223 * epg-config.el (epg-version-number): Bump up.
224 * configure.ac: Bump up version.
226 2006-10-29 Daiki Ueno <ueno@unixuser.org>
229 (epa-file-cache-passphrase-for-symmetric-encryption): New user
232 2006-10-12 Daiki Ueno <ueno@unixuser.org>
234 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
235 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
237 2006-09-29 Daiki Ueno <ueno@unixuser.org>
239 * EasyPG: Version 0.0.6 released.
240 * epg.el (epg-version-number): Bump up.
241 * configure.ac: Bump up version.
243 2006-09-29 Daiki Ueno <ueno@unixuser.org>
245 * epa.el (epa-verify-cleartext-in-region): Renamed from
246 epa-verify-armor-in-region.
248 * epg.el (epg-passphrase-callback-function): Suggest to use
249 epa-passphrase-callback-function instead.
250 (epg-start-verify): Don't specify --verify if SIGNATURE is a
251 normal or a clear text signature.
252 (epg-verify-file): Mention that the plaintext will be stored into
253 the file PLAIN after successful verification.
254 (epg-verify-string): Mention that the plaintext will be returned
255 after successful verification.
257 2006-09-27 Daiki Ueno <ueno@unixuser.org>
259 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
260 (epa-file-write-region): Ditto.
262 * epa.el (epa-decrypt-file): Set callbacks.
263 (epa-sign-file): Ditto.
264 (epa-encrypt-file): Ditto.
265 (epa-decrypt-region): Ditto.
266 (epa-sign-region): Ditto.
267 (epa-encrypt-region): Ditto.
268 (epa-sign-keys): Ditto.
270 * epg.el (epg-progress-callback-function): Removed.
272 2006-09-24 Daiki Ueno <ueno@unixuser.org>
274 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
275 (epa-progress-callback-function): Ditto.
276 * epg.el (epg-passphrase-callback-function): Made it obsolete.
277 (epg-progress-callback-function): Ditto.
279 2006-09-23 Daiki Ueno <ueno@unixuser.org>
281 * epg.el (epg-start-decrypt): Append "--" to the end of options.
282 (epg-start-verify): Ditto.
283 (epg-start-sign): Ditto.
284 (epg-start-encrypt): Ditto.
285 (epg-start-import-keys): Ditto.
286 (epg-start-generate-key): Ditto.
288 2006-09-23 Daiki Ueno <ueno@unixuser.org>
290 * epg.el (epg-make-context): Don't set progress-callback by
292 (epg--start): Don't specify --enable-progress-filter if
293 progress-callback is not set.
294 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
297 2006-09-15 Daiki Ueno <ueno@unixuser.org>
299 * epg.el (epg-progress-callback-function): Show the percentage.
301 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
303 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
305 2006-09-13 Daiki Ueno <ueno@unixuser.org>
307 * epg-config.el (epg-passphrase-coding-system): Renamed from
308 epg-locale-coding-system.
310 2006-09-11 Daiki Ueno <ueno@unixuser.org>
312 * epa-file.el (epa-file-decode-and-insert): New function which
313 utilizes decode-coding-inserted-region if available.
314 (epa-file-insert-file-contents): Use it.
316 * epg.el (epg--start): Specify --enable-progress-filter in
318 (epg-progress-callback-function): Remove a couple of %%'s.
320 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
322 * epg-config.el (epg-configuration): Fixed the last change;
323 collect configuration other than group and algorithm.
325 2006-09-05 Daiki Ueno <ueno@unixuser.org>
327 * epg-config.el (epg-debug): Moved from epg.el.
328 (epg-configuration): Parse group configuration.
329 (epg-expand-group): New function.
331 2006-09-04 Daiki Ueno <ueno@unixuser.org>
333 * EasyPG: Version 0.0.5 released.
334 * epg.el (epg-version-number): Bump up.
335 * configure.ac: Bump up version.
337 2006-09-04 Daiki Ueno <ueno@unixuser.org>
339 * epg-config.el (epg-locale-coding-system): New user option.
341 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
342 (epg--clear-string): New function.
343 (epg--status-GET_HIDDEN): Encode passphrase with
344 terminal-coding-system.
346 * epg-config.el (epg-gpg-minimum-version): New constant.
347 (epg-config--parse-version): New function.
348 (epg-config--compare-version): New function.
349 (epg-configuration): Respect epg-gpg-home-directory.
351 2006-09-03 Daiki Ueno <ueno@unixuser.org>
353 * epg-config.el: New file; moved GnuPG configuration check from
356 2006-09-02 Daiki Ueno <ueno@unixuser.org>
358 * epg.el (epg-check-configuration): New function.
359 (epg-gpg-home-directory): New user option.
361 * pgg-epg.el (pgg-epg-lookup-key): New function.
363 2006-07-29 Daiki Ueno <ueno@unixuser.org>
365 * EasyPG: Version 0.0.4 released.
366 * epg.el (epg-version-number): Bump up.
367 * configure.ac: Bump up version.
369 2006-07-29 Daiki Ueno <ueno@unixuser.org>
371 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
373 2006-07-28 Daiki Ueno <ueno@unixuser.org>
375 * epg.el (epg-start-encrypt): Extract primary key ID from
377 Thanks to Steve Youngs <steve@sxemacs.org>
379 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
380 give CONTEXT to epg-list-keys.
381 Thanks to Steve Youngs <steve@sxemacs.org>
383 2006-07-18 Daiki Ueno <ueno@unixuser.org>
385 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
386 epg-process-filter-running instead of epg-pgp50i-status; Don't
387 save-excursion during handler execution.
388 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
389 don't allow process input.
390 (epg-pgp50i--parse-time): New function.
391 (epg-pgp50i--status-BAD_SIGNATURE): New function.
393 * epg.el (epg--process-filter): Don't save-excursion during
396 2006-07-18 Daiki Ueno <ueno@unixuser.org>
398 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
400 * epg.el (epg-process-filter-running): New variable.
401 (epg--start): Setup epg-process-filter-running.
402 (epg--process-filter): Allow only one status handler to run at a
403 time; update epg-read-point everytime the point changes.
405 2006-07-14 Daiki Ueno <ueno@unixuser.org>
407 * epg-pgp50i.el: New file.
409 2006-07-13 Daiki Ueno <ueno@unixuser.org>
411 * acinclude.m4 (AC_PATH_GPG): New macro.
412 * configure.ac: Check gpg version.
413 Suggested by Max Froumentin <max@lapin-bleu.net>
415 2006-07-10 Daiki Ueno <ueno@unixuser.org>
417 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
418 (epg-signature-to-string): Remove a trailing whitespace.
420 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
421 (epa-toggle-mark): New command.
423 2006-07-04 Daiki Ueno <ueno@unixuser.org>
425 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
426 with pgg-default-user-id.
427 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
429 2006-07-01 Daiki Ueno <ueno@unixuser.org>
431 * epa.el (epa-select-keys): If SECRET is specified, select a
432 primary secret key by default.
434 2006-06-29 Daiki Ueno <ueno@unixuser.org>
436 * EasyPG: Version 0.0.3 released.
437 * epg.el (epg-version-number): Bump up.
438 * configure.ac: Bump up version.
440 2006-06-12 Daiki Ueno <ueno@unixuser.org>
442 * epa-file.el (epa-file-insert-file-contents): Don't move the
443 point to the end of the inserted region.
444 Reported by doug <douglas.bagley@gmail.com>
446 2006-06-01 Daiki Ueno <ueno@unixuser.org>
448 * epa-file.el (epa-file-insert-file-contents): Support partial read.
450 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
452 * epa-file.el (epa-file-write-region): Encode the plain text with
453 coding-system-for-write.
455 2006-05-30 Daiki Ueno <ueno@unixuser.org>
457 * epa-file.el (epa-file-insert-file-contents):
458 Decode the decrypted text with coding-system-for-read.
460 2006-05-29 Daiki Ueno <ueno@unixuser.org>
462 * EasyPG: Version 0.0.2 released.
463 * epg.el (epg-version-number): Bump up.
464 * configure.ac: Bump up version.
466 2006-05-29 Daiki Ueno <ueno@unixuser.org>
468 * epg.el (epg--time-from-seconds): New function.
469 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
470 (epg--status-VALIDSIG): Ditto.
471 (epg--status-KEYEXPIRED): Ditto.
473 2006-05-28 Daiki Ueno <ueno@unixuser.org>
475 * epg.el (epg-start-import-keys): Don't specify filename if keys
478 2006-05-27 Daiki Ueno <ueno@unixuser.org>
480 * epg.el (epg--process-filter): Pass epg-context instead of
481 process to status handlers.
482 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
483 matches with the given key-id.
485 2006-05-26 Daiki Ueno <ueno@unixuser.org>
487 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
488 status from 'error to 'no-pubkey.
489 (epg--status-ERRSIG): Just add 'error signature to the verify result.
491 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
492 disable inhibit-quit here; make text-properties nonsticky.
493 (epa-popup-info-window): New user option.
494 (epa-info-window-height): New user option.
495 (epa-display-verify-result): New function.
496 (epa-decrypt-file): Use it.
497 (epa-verify-file): Use it.
498 (epa-decrypt-region): Use it.
499 (epa-verify-region): Use it.
501 * epg.el (epg-make-context): New slot "operation".
502 (epg-passphrase-callback-function): Confirm passphrase when
503 performing symmetric encryption.
505 2006-05-25 Daiki Ueno <ueno@unixuser.org>
507 * epa.el (epa-decrypt-file): Display verify result if the message
509 (epa-decrypt-region): New command.
510 (epa-verify-region): New command.
511 (epa-decrypt-armor-in-region): New command.
512 (epa-verify-armor-in-region): New command.
513 (epa-sign-region): New command.
514 (epa-encrypt-region): New command.
516 2006-05-11 Daiki Ueno <ueno@unixuser.org>
518 * epa.el (epa-armor): New user option.
519 (epa-textmode): New user option.
521 2006-05-02 Daiki Ueno <ueno@unixuser.org>
523 * epg.el (epg-make-key-signature): New object epg-key-signature.
524 (epg-list-keys): Collect key signatures.
525 (epg-make-sub-key): Renamed secret -> secret-p.
526 (epg-list-keys-postprocess-one-key): Abolished.
527 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
528 signatures by itself.
529 (epg-no-data-reason-alist): New constant.
530 (epg-unexpected-reason-alist): New constant.
532 2006-05-01 Daiki Ueno <ueno@unixuser.org>
534 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
535 (epg-delete-problem-reason-alist): Renamed.
536 (epg-import-ok-reason-alist): New constant.
537 (epg-import-problem-reason-alist): New constant.
538 (epg-status-IMPORTED): New function.
539 (epg-status-IMPORT_OK): New function.
540 (epg-status-IMPORT_PROBLEM): New function.
541 (epg-start-import-keys): Don't use a temporary output file.
542 (epg-start-receive-keys): New function.
543 (epg-import-keys-from-server): New function.
544 (epg-receive-keys): Alias to epg-import-keys-from-server.
546 2006-05-01 Daiki Ueno <ueno@unixuser.org>
548 * epg.el (epg-start): Signal an error if the process of CONTEXT is
549 already running for other operations.
550 (epg-flush): Abolished.
551 (epg-start-generate-key): New function.
552 (epg-generate-key-from-file): New function.
553 (epg-generate-key-from-string): New function.
554 (epg-status-KEY_CREATED): New function.
555 (epg-status-KEY_NOT_CREATED): New function.
556 (epg-new-signature-type-alist): New variable.
557 (epg-make-new-signature): New object epg-new-signature.
558 (epg-status-SIG_CREATED): Set epg-new-signature object.
559 (epg-new-signature-to-string): New function.
560 (epg-make-signature): Added slots for signature class and version.
561 (epg-start-sign): Fixed rule of the MODE argument.
563 2006-04-30 Daiki Ueno <ueno@unixuser.org>
565 * epa.el (epa-delete-keys): Support deletion of secret keys.
567 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
570 * epg.el (epg-read-output): Don't convert line endings of the
572 (epg-cancel): Set 'error result.
574 2006-04-29 Daiki Ueno <ueno@unixuser.org>
576 * epg.el (epg-make-signature): Removed user-id; added
577 creation-time, expiration-time, pubkey-algorithm,
579 (epg-process-sentinel): Abolished.
580 (epg-signature-to-string): Decode DN.
581 (epg-list-keys): Cache user-id in epg-user-id-alist.
582 (epg-make-user-id): Renamed name -> string.
584 2006-04-29 Daiki Ueno <ueno@unixuser.org>
586 * epg.el (epg-status-ERRSIG): New function.
587 (epg-verify-file): Signal an error if we encounter ERRSIG status.
588 (epg-verify-string): Ditto.
590 2006-04-28 Daiki Ueno <ueno@unixuser.org>
592 * epg.el: Added typecheck to accessors to objects.
594 2006-04-26 Daiki Ueno <ueno@unixuser.org>
596 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
597 argument of passphrase-callback.
598 (epg-status-PROGRESS): Ditto.
600 2006-04-26 Daiki Ueno <ueno@unixuser.org>
602 * epa.el (epa-select-keys): Don't set inhibit-quit when
603 recursive-edit is called.
604 (epg-cancel): New function.
606 2006-04-25 Daiki Ueno <ueno@unixuser.org>
608 * epg.el (epg-process-sentinel): New function; set 'error if gpg
609 process exited abnormally, but we have not received an error
611 (epg-sign-file): Signal an error only when a signature is not
613 (epg-sign-string): Ditto.
614 (epg-encrypt-file): Signal an error if SIGN is specified and
615 signature is not created.
616 (epg-encrypt-string): Ditto.
618 2006-04-22 Daiki Ueno <ueno@unixuser.org>
620 * epa.el (epa-key-widget-value-create): Decode DN.
621 (epa-list-keys): Add the PROTOCOL argument.
622 (epa-select-keys): Require CONTEXT as the first argument.
624 * epg.el (epg-gpgsm-program): New user option.
625 (epg-dn-type-alist): New variable.
626 (epg-start): Don't specify --command-fd if protocol is CMS.
627 (epg-list-keys): Require CONTEXT as the first argument.
628 (epg-dn-from-string): New function.
629 (epg-decode-dn): New function.
631 2006-04-21 Daiki Ueno <ueno@unixuser.org>
633 * epa.el (epa-sign-keys): New command.
635 * epg.el (epg-start-sign-keys): New function.
636 (epg-sign-keys): New function.
637 (epg-status-GET_HIDDEN): Enable local quit.
638 (epg-status-GET_BOOL): Ditto.
639 (epg-status-GET_LINE): Ditto.
641 2006-04-20 Daiki Ueno <ueno@unixuser.org>
643 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
646 2006-04-20 Daiki Ueno <ueno@unixuser.org>
648 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
649 (pgg-epg-passphrase-callback): New function.
651 * epa.el (epa-select-keys): Added "Cancel" button.
653 2006-04-20 Daiki Ueno <ueno@unixuser.org>
655 * epg.el (epg-signature-to-string): New function.
657 2006-04-20 Daiki Ueno <ueno@unixuser.org>
659 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
661 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
664 * epa.el (epa-select-keys): Added MODE argument.
665 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
667 * epg.el (epg-status-SIG_CREATED): New function.
668 (epg-start-sign): epg-context-signers is now a list of key objects.
669 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
671 2006-04-19 Daiki Ueno <ueno@unixuser.org>
673 * epa.el (epa-verify-file): Show results in minibuffer.
674 * epg.el (epg-debug-buffer): New variable.
675 (epg-flush): New function.
677 2006-04-18 Daiki Ueno <ueno@unixuser.org>
679 * epa.el (epa-export-keys): New command.
680 * epg.el (epg-start-export-keys): Accept a list of epg-key object
683 2006-04-18 Daiki Ueno <ueno@unixuser.org>
685 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
686 (epa-import-key): New command.
688 * epg.el (epg-delete-problem-alist): New constant.
689 (epg-status-DELETE_PROBLEM): New function.
690 (epg-start-delete-key): New function.
691 (epg-delete-key): New function.
692 (epg-wait-for-completion): Add the NO-EOF argument.
694 2006-04-18 Daiki Ueno <ueno@unixuser.org>
696 * epg.el (epg-start): Insert the command-line arguments to the
698 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
699 (epg-start-delete-key): New function.
700 (epg-delete-key): New function.
702 * epa.el (epa-key): New widget.
703 (epa-key-widget-action): New function.
704 (epa-key-widget-value-create): New function.
705 (epa-key-widget-button-face-get): New function.
706 (epa-key-widget-help-echo): New function.
708 2006-04-17 Daiki Ueno <ueno@unixuser.org>
710 * epa-file.el (epa-file-write-region): Check if START is a string.
712 2006-04-17 Daiki Ueno <ueno@unixuser.org>
714 * epa-file.el: Rewritten with file-name-handler.
715 (epa-file-handler): New variable.
716 (epa-file-enable): New command.
717 (epa-file-disable): New command.
719 * epa-setup.el: Call epa-file-enable.
721 2006-04-17 Daiki Ueno <ueno@unixuser.org>
723 * epa-file.el (epa-passphrase): New variable.
724 (epa-file-passphrase-callback-function): New function.
725 (epa-find-file): Reset buffer-undo-list; set
726 buffer-file-coding-system to last-coding-system-used after
729 2006-04-17 Daiki Ueno <ueno@unixuser.org>
731 * epa-file.el (epa-write-file): Try to write region to "/" to get
732 last-coding-system-used to be set.
734 2006-04-17 Daiki Ueno <ueno@unixuser.org>
736 * epa-file.el: New implementation of epf.el.
740 2006-04-17 Daiki Ueno <ueno@unixuser.org>
742 * epa.el (epa-verify-file): Display verify result.
744 * epg.el (epg-invalid-recipients-alist): New variable.
745 (epg-status-INV_RECP): New function.
746 (epg-status-NO_RECP): New function.
748 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
749 epa-verify-file, epa-sign-file, and epa-encrypt-file.
750 (epa-decrypt-file): New function imported from epa-dired.el.
751 (epa-verify-file): New function imported from epa-dired.el.
752 (epa-sign-file): New function imported from epa-dired.el.
753 (epa-encrypt-file): New function imported from epa-dired.el.
755 2006-04-16 Daiki Ueno <ueno@unixuser.org>
757 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
759 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
761 2006-04-16 Daiki Ueno <ueno@unixuser.org>
763 * epa-setup.el: New file.
764 * epa-dired.el: New file.
766 * epg.el (epg-colons-pub-spec): Abolished.
767 (epg-colons-sec-spec): Abolished.
768 (epg-colons-uid-spec): Abolished.
769 (epg-colons-fpr-spec): Abolished.
770 (epg-key-validity-alist): New variable.
771 (epg-key-capablity-alist): New variable.
772 (epg-make-key): New object epg-key.
773 (epg-make-sub-key): New object epg-sub-key.
774 (epg-make-user-id): New object epg-user-id.
775 (epg-list-keys-1): Renamed from epg-list-keys.
776 (epg-list-keys): Rewritten.
778 2006-04-15 Daiki Ueno <ueno@unixuser.org>
780 * epg.el (epg-list-keys): Make the NAME argument optional.
782 2006-04-13 Daiki Ueno <ueno@unixuser.org>
784 * epa.el: Added header.
786 * epg.el (epg-list-keys): Specify --with-fingerprint.
787 (epg-colons-fpr-spec): New variable.
788 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
790 (epg-colons-sec-spec): Ditto.
791 (epg-colons-uid-spec): Renamed trust -> validity.
793 2006-04-13 Daiki Ueno <ueno@unixuser.org>
797 * epg.el (epg-cipher-algorithm-alist): New constant.
798 (epg-pubkey-algorithm-alist): New constant.
799 (epg-digest-algorithm-alist): New constant.
800 (epg-compress-algorithm-alist): New constant.
801 (epg-configuration): New function.
802 (epg-start): Don't specify --yes.
804 2006-04-13 Daiki Ueno <ueno@unixuser.org>
806 * epg.el (epg-make-data-from-file): New function.
807 (epg-make-data-from-string): New function.
808 (epg-data-file): New function.
809 (epg-data-string): New function.
810 (epg-start-decrypt): Get a cipher text from a data object.
811 (epg-delete-output-file): New function.
812 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
814 (epg-start-verify): Get a signature and signed-text from a data
816 (epg-verify-file): Added the 3rd argument PLAIN to specify where
817 the output goes; return the plain text if PLAIN is nil.
818 (epg-verify-string): Return the plain text.
819 (epg-start-sign): Get a plain text from a data object.
820 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
822 (epg-start-encrypt): Get a plain text from a data object.
823 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
825 (epg-start-import-keys): Get keys from a data object.
826 (epg-import-keys-1): New function.
827 (epg-import-keys-from-file): Use it.
828 (epg-import-keys-from-string): Use it.
830 2006-04-12 Daiki Ueno <ueno@unixuser.org>
832 * epf.el: Renamed from epg-file.el.
834 2006-04-12 Daiki Ueno <ueno@unixuser.org>
836 * epg.el (epg-status-GET_BOOL): New function.
837 (epg-status-GET_LINE): New function.
838 (epg-prompt-alist): New variable, to be filled.
840 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
841 * epg.el (epg-signature-fingerprint): New function.
842 (epg-signature-set-fingerprint): New function.
843 (epg-status-VALIDSIG): New function.
845 * epg.el (epg-reset): Don't reset result.
846 (epg-start-decrypt): Reset result before epg-start.
847 (epg-start-verify): Ditto.
848 (epg-start-sign): Ditto.
849 (epg-start-encrypt): Ditto.
850 (epg-start-export-keys): Ditto.
851 (epg-start-import-keys): Ditto.
853 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
854 * pgg-epg.el: New file.
856 * epg.el (epg-start-export-keys): New function.
857 (epg-export-keys): New function.
858 (epg-start-import-keys): New function.
859 (epg-import-keys): New function.
860 (epg-verify-file): New function.
862 * epg-file.el (epg-file-write-region): Support public key encryption.
864 * epg.el (epg-passphrase-callback-function): Always display key-id.