1 2007-03-29 Daiki Ueno <ueno@unixuser.org>
3 * EasyPG: Version 0.0.11 released.
4 * configure.ac: Bump up version.
6 2007-03-26 Daiki Ueno <ueno@unixuser.org>
8 * epa.el (epa--insert-keys): Changed arglist. All callers
10 (epa--select-keys): New function.
11 (epa-select-keys): Use it; don't popup menu if keys have elements
14 2007-03-25 Daiki Ueno <ueno@unixuser.org>
16 * epa.el (epa-protocol): defcustom -> defvar.
18 (epa-textmode): Ditto.
20 2007-03-24 Daiki Ueno <ueno@unixuser.org>
22 * epa.el (epa-select-keys): Simplified; don't select the first
24 (epa-key-list-mode-map): Bind revert-buffer instead of
26 (epa-key-list-mode): Set revert-buffer-function to epa--revert-buffer.
27 (epa--revert-buffer): New function.
29 * epg.el (epg--list-keys-1): Accept a list of strings as NAME
31 (epg-list-keys): Ditto.
33 2007-03-21 Daiki Ueno <ueno@unixuser.org>
35 * epa-file.el (epa-file-inhibit-auto-save): New user option.
36 (epa-file-insert-file-contents): Turn off auto-save-mode if
37 epa-file-inhibit-auto-save is non-nil.
38 Reported by "[ #9937] epa-file auto-saves in plain text"
40 * epa.el (epa--list-keys): New function.
41 (epa-list-keys): Use it.
42 (epa-list-secret-keys): New command.
44 2007-03-20 Daiki Ueno <ueno@unixuser.org>
46 * epa.el (epa-display-info): Generate new *Info* buffer if buffer
48 (epa-verify-cleartext-in-region): s/armor/cleartext/g.
50 * Makefile.am (info_TEXINFOS): Added epa.texi.
53 2007-03-19 Daiki Ueno <ueno@unixuser.org>
55 * epg.el (epg--decode-percent-escape): New function.
57 2007-03-08 Daiki Ueno <ueno@unixuser.org>
59 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
61 2007-03-08 Daiki Ueno <ueno@unixuser.org>
63 * epa-mail.el (epa-mail-mode-hook): New variable.
64 (epa-mail-mode-on-hook): New variable.
65 (epa-mail-mode-off-hook): New variable.
67 * epg.el (epg--start): Make the process-buffer unibyte.
68 (epg--status-USERID_HINT): Decode user-id.
69 (epg--status-IMPORTED): Decode user-id.
71 2007-03-07 Daiki Ueno <ueno@unixuser.org>
73 * epg.el (epg--start): Don't specify --use-agent if the protocol
74 is CMS; set coding-system-for-read to binary.
75 (epg--status-*SIG): Decode user-id.
77 2007-02-02 Daiki Ueno <ueno@unixuser.org>
79 * epa-file.el (epa-file-write-region): Set a dummy filename
80 for buffer-file-name when calling select-safe-coding-system.
82 2007-01-30 Daiki Ueno <ueno@unixuser.org>
84 * epg.el (epg-last-status): New variable.
85 (epg--process-filter): Set epg-last-status after calling a status
87 (epg--prompt-GET_BOOL): New function.
88 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
89 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
92 2007-01-29 Daiki Ueno <ueno@unixuser.org>
94 * EasyPG: Version 0.0.10 released.
95 * configure.ac: Bump up version.
97 2007-01-29 Daiki Ueno <ueno@unixuser.org>
99 * epg-config.el: Require epg-package-info.
100 * configure.ac: Generate epg-package-info.el.
101 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
102 * COMPILE (epg-modules): Added epg-package-info.
103 * epg-package-info.el.in: New file.
105 2007-01-29 Daiki Ueno <ueno@unixuser.org>
107 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
108 * epa.el: Removed epa-*-mail stuff.
109 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
110 * COMPILE (epg-modules): Added epa-mail.
111 * epa-mail.el: New file.
113 2007-01-05 Daiki Ueno <ueno@unixuser.org>
115 * epg-pgp50i.el: Removed.
117 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
118 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
121 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
123 (epg--make-sub-key-1): Ditto.
124 (epg--decode-hexstring): "\\x" -> "\\\\x".
125 (epg--decode-quotedstring): Ditto.
127 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
128 recipient whose public key is not available.
129 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
130 recipient whose public key is not available.
132 2007-01-04 Daiki Ueno <ueno@unixuser.org>
134 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
135 (epa-verify-mail): Renamed from epa-verify.
136 (epa-sign-mail): Renamed from epa-sign.
137 (epa-encrypt-mail): Renamed from epa-encrypt.
138 (epa-import-mail): Renamed from epa-import.
140 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
142 * epg.el (epg-signature-to-string): Print creation-time and used
144 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
145 fallback to use a temp file as an input.
146 (epg-encrypt-string): Ditto.
148 2006-12-31 Daiki Ueno <ueno@unixuser.org>
150 * epa.el (epa-mail-modes): New user option.
151 (epa--mail-mode-p): New function.
153 (epa-encrypt): Use it.
154 (epa--find-coding-system-for-mime-charset): New function.
155 (epa-decrypt-armor-in-region): Use it.
156 (epa-progress-callback-function): Use handback as the prompt.
157 (epa-encrypt-region): Take 4th argument SIGN.
158 (epa-encrypt): Ditto.
160 2006-12-31 Daiki Ueno <ueno@unixuser.org>
162 * epa.el (epa--derived-mode-p): New alias.
164 (epa-encrypt): Use it.
166 2006-12-31 Daiki Ueno <ueno@unixuser.org>
168 * epa.el (epa--read-signature-type): New function.
169 (epa-decrypt): New command.
170 (epa-verify): New command.
171 (epa-sign): New command.
172 (epa-encrypt): New command.
173 (epa-import-armor-in-region): New command.
174 (epa-import): New command.
175 (epa-decrypt-region): Confirm user to replace the region.
176 (epa-display-info): Delete "*Info*" window.
178 2006-12-29 Daiki Ueno <ueno@unixuser.org>
180 * EasyPG: Version 0.0.9 released.
181 * epg-config.el (epg-version-number): Bump up.
182 * configure.ac: Bump up version.
184 2006-12-28 Daiki Ueno <ueno@unixuser.org>
186 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
187 is given; ask signature type only when a prefix arg is given.
188 (epa-sign-region): Ditto.
190 2006-12-26 Daiki Ueno <ueno@unixuser.org>
192 * epg-config.el (epg-passphrase-coding-system): Default to nil.
194 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
196 * epa.el (epa--format-fingerprint-1): New function.
197 (epa--format-fingerprint): Ditto.
198 (epa--show-key): Use it.
200 2006-12-20 Daiki Ueno <ueno@unixuser.org>
202 * epa-file.el (epa-file-write-region): Don't attempt to write the
203 region to "/" to determine safe coding-system.
205 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
206 (epa-sign-file): Save the output to *.p7s or *.p7m file if
208 (epa-encrypt-file): Ditto.
209 (epa-last-coding-system-specified): New variable.
210 (epa-decrypt-region): Try to decode with the
211 epa-coding-system-used text property.
212 (epa--select-safe-coding-system): New function.
213 (epa-verify-region): Try to decode with the epa-coding-system-used
215 (epa-sign-region): Query user to select coding-system to encode;
216 set the epa-coding-system-used text property on the result.
217 (epa-encrypt-region): Ditto.
219 2006-12-19 Daiki Ueno <ueno@unixuser.org>
221 * epg.el (epg-export-keys-to-file): Fixed a typo.
223 * epa.el (epa-protocol): New user option.
224 (epa-sign-region): --armor & --textmode.
225 (epa-encrypt-region): Ditto.
226 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
228 (epa-import-keys-region): New command.
229 (epa-insert-keys): New command.
230 (epa--insert-keys): Renamed from epa-insert-keys.
232 2006-12-11 Daiki Ueno <ueno@unixuser.org>
234 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
235 decode-coding-string if it is not bound.
237 * epa-file.el (epa-file--encode-coding-string): New alias.
238 (epa-file--decode-coding-string): New alias.
239 (epa-file-write-region): Use epa-file--encode-coding-string.
240 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
242 * epa.el (epa--encode-coding-string): New alias.
243 (epa--decode-coding-string): New alias.
244 (epa-verify-region): Use epa--encode-coding-string.
245 (epa-sign-region): Ditto; use epa--decode-coding-string.
246 (epa-encrypt-region): Use epa--encode-coding-string.
248 * epg.el (epg--encode-coding-string): New alias.
249 (epg--status-GET_HIDDEN): Use it.
251 2006-11-29 Daiki Ueno <ueno@unixuser.org>
253 * EasyPG: Version 0.0.8 released.
254 * epg-config.el (epg-version-number): Bump up.
255 * configure.ac: Bump up version.
257 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
259 * epa-file.el (epa-file-encrypt-to): New file local variable.
260 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
262 2006-11-26 Daiki Ueno <ueno@unixuser.org>
264 * epa.el (epa-sign-file): Query signature type at a time.
265 (epa-decrypt-file): Display output file name on completion.
266 (epa-sign-file): Ditto.
267 (epa-encrypt-file): Ditto.
269 2006-11-25 Daiki Ueno <ueno@unixuser.org>
271 * epa.el (epa-keys-mode): Don't call widget-setup.
272 (epa-list-keys): Call widget-setup here.
273 (epa-select-keys): Ditto.
275 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
277 * epg.el (epg-delete-keys): Remove redundant argument for `error'
278 and fix a close parenthesis.
280 2006-11-24 Daiki Ueno <ueno@unixuser.org>
282 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
283 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
284 cf. <emacs-mime-ja:02090>
286 2006-11-23 Daiki Ueno <ueno@unixuser.org>
288 * epa.el (epa-sign-region): Query signature type at a time.
290 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * epg.el (epg-context-set-passphrase-callback): Add optional
294 (epg-context-set-progress-callback): Ditto.
296 2006-11-14 Daiki Ueno <ueno@unixuser.org>
298 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
299 (epa--show-key): Ditto.
300 Reported by Werner Koch <wk@gnupg.org>.
302 * epg.el (epg--start): Don't specify --enable-progress-filter for
304 (epg--status-PROGRESS): Check if progress-callback is set.
306 2006-11-12 Daiki Ueno <ueno@unixuser.org>
308 * epg.el (epg-error): New error.
309 (epg--check-error-for-decrypt): New function.
310 (epg-decrypt-file): Use it.
311 (epg-decrypt-string): Use it.
312 (epg--start): Added a very basic test to check whether to specify
315 * epa.el (epa-decrypt-file): Expand file name.
316 (epa-verify-file): Ditto.
317 (epa-import-keys): Ditto.
319 2006-11-12 Daiki Ueno <ueno@unixuser.org>
321 * epg.el (epg-delete-keys): Decode delete-problem.
323 * epa.el (epa-popup-info-window): Turn on by default.
324 (epa-display-info): Split selected window instead of pop-to-buffer.
326 2006-11-12 Daiki Ueno <ueno@unixuser.org>
328 * epa.el (epa-display-info): Generalized; renamed from
329 epa-display-verify-result.
330 (epa-decrypt-file): Use it.
331 (epa-verify-file): Use it.
332 (epa-decrypt-region): Use it.
333 (epa-verify-region): Use it.
334 (epa-import-keys): Show import result.
335 (epa-display-verify-result): Make it obsolete.
337 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
339 (epg-sign-keys): Make it obsolete.
340 (epg-make-import-status): New object epg-import-status.
341 (epg-make-import-result): New object epg-import-result.
342 (epg--status-IMPORT_RES): New function.
343 (epg-import-result-to-string): New function.
345 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
346 (epa-sign-keys): Make it obsolete.
348 2006-11-11 Daiki Ueno <ueno@unixuser.org>
350 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
351 mode is set for a cleartext signature.
352 (epg-make-context): New slot "sig-notations".
353 (epg--args-from-sig-notations): New function.
354 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
356 (epg-start-encrypt): Ditto.
357 (epg-make-signature): New slot "notations".
358 (epg--status-NOTATION_NAME): New function.
359 (epg--status-NOTATION_DATA): New function.
360 (epg--status-POLICY_URL): New function.
362 2006-10-29 Daiki Ueno <ueno@unixuser.org>
364 * EasyPG: Version 0.0.7 released.
365 * epg-config.el (epg-version-number): Bump up.
366 * configure.ac: Bump up version.
368 2006-10-29 Daiki Ueno <ueno@unixuser.org>
371 (epa-file-cache-passphrase-for-symmetric-encryption): New user
374 2006-10-12 Daiki Ueno <ueno@unixuser.org>
376 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
377 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
379 2006-09-29 Daiki Ueno <ueno@unixuser.org>
381 * EasyPG: Version 0.0.6 released.
382 * epg.el (epg-version-number): Bump up.
383 * configure.ac: Bump up version.
385 2006-09-29 Daiki Ueno <ueno@unixuser.org>
387 * epa.el (epa-verify-cleartext-in-region): Renamed from
388 epa-verify-armor-in-region.
390 * epg.el (epg-passphrase-callback-function): Suggest to use
391 epa-passphrase-callback-function instead.
392 (epg-start-verify): Don't specify --verify if SIGNATURE is a
393 normal or a clear text signature.
394 (epg-verify-file): Mention that the plaintext will be stored into
395 the file PLAIN after successful verification.
396 (epg-verify-string): Mention that the plaintext will be returned
397 after successful verification.
399 2006-09-27 Daiki Ueno <ueno@unixuser.org>
401 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
402 (epa-file-write-region): Ditto.
404 * epa.el (epa-decrypt-file): Set callbacks.
405 (epa-sign-file): Ditto.
406 (epa-encrypt-file): Ditto.
407 (epa-decrypt-region): Ditto.
408 (epa-sign-region): Ditto.
409 (epa-encrypt-region): Ditto.
410 (epa-sign-keys): Ditto.
412 * epg.el (epg-progress-callback-function): Removed.
414 2006-09-24 Daiki Ueno <ueno@unixuser.org>
416 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
417 (epa-progress-callback-function): Ditto.
418 * epg.el (epg-passphrase-callback-function): Made it obsolete.
419 (epg-progress-callback-function): Ditto.
421 2006-09-23 Daiki Ueno <ueno@unixuser.org>
423 * epg.el (epg-start-decrypt): Append "--" to the end of options.
424 (epg-start-verify): Ditto.
425 (epg-start-sign): Ditto.
426 (epg-start-encrypt): Ditto.
427 (epg-start-import-keys): Ditto.
428 (epg-start-generate-key): Ditto.
430 2006-09-23 Daiki Ueno <ueno@unixuser.org>
432 * epg.el (epg-make-context): Don't set progress-callback by
434 (epg--start): Don't specify --enable-progress-filter if
435 progress-callback is not set.
436 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
439 2006-09-15 Daiki Ueno <ueno@unixuser.org>
441 * epg.el (epg-progress-callback-function): Show the percentage.
443 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
445 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
447 2006-09-13 Daiki Ueno <ueno@unixuser.org>
449 * epg-config.el (epg-passphrase-coding-system): Renamed from
450 epg-locale-coding-system.
452 2006-09-11 Daiki Ueno <ueno@unixuser.org>
454 * epa-file.el (epa-file-decode-and-insert): New function which
455 utilizes decode-coding-inserted-region if available.
456 (epa-file-insert-file-contents): Use it.
458 * epg.el (epg--start): Specify --enable-progress-filter in
460 (epg-progress-callback-function): Remove a couple of %%'s.
462 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
464 * epg-config.el (epg-configuration): Fixed the last change;
465 collect configuration other than group and algorithm.
467 2006-09-05 Daiki Ueno <ueno@unixuser.org>
469 * epg-config.el (epg-debug): Moved from epg.el.
470 (epg-configuration): Parse group configuration.
471 (epg-expand-group): New function.
473 2006-09-04 Daiki Ueno <ueno@unixuser.org>
475 * EasyPG: Version 0.0.5 released.
476 * epg.el (epg-version-number): Bump up.
477 * configure.ac: Bump up version.
479 2006-09-04 Daiki Ueno <ueno@unixuser.org>
481 * epg-config.el (epg-locale-coding-system): New user option.
483 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
484 (epg--clear-string): New function.
485 (epg--status-GET_HIDDEN): Encode passphrase with
486 terminal-coding-system.
488 * epg-config.el (epg-gpg-minimum-version): New constant.
489 (epg-config--parse-version): New function.
490 (epg-config--compare-version): New function.
491 (epg-configuration): Respect epg-gpg-home-directory.
493 2006-09-03 Daiki Ueno <ueno@unixuser.org>
495 * epg-config.el: New file; moved GnuPG configuration check from
498 2006-09-02 Daiki Ueno <ueno@unixuser.org>
500 * epg.el (epg-check-configuration): New function.
501 (epg-gpg-home-directory): New user option.
503 * pgg-epg.el (pgg-epg-lookup-key): New function.
505 2006-07-29 Daiki Ueno <ueno@unixuser.org>
507 * EasyPG: Version 0.0.4 released.
508 * epg.el (epg-version-number): Bump up.
509 * configure.ac: Bump up version.
511 2006-07-29 Daiki Ueno <ueno@unixuser.org>
513 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
515 2006-07-28 Daiki Ueno <ueno@unixuser.org>
517 * epg.el (epg-start-encrypt): Extract primary key ID from
519 Thanks to Steve Youngs <steve@sxemacs.org>
521 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
522 give CONTEXT to epg-list-keys.
523 Thanks to Steve Youngs <steve@sxemacs.org>
525 2006-07-18 Daiki Ueno <ueno@unixuser.org>
527 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
528 epg-process-filter-running instead of epg-pgp50i-status; Don't
529 save-excursion during handler execution.
530 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
531 don't allow process input.
532 (epg-pgp50i--parse-time): New function.
533 (epg-pgp50i--status-BAD_SIGNATURE): New function.
535 * epg.el (epg--process-filter): Don't save-excursion during
538 2006-07-18 Daiki Ueno <ueno@unixuser.org>
540 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
542 * epg.el (epg-process-filter-running): New variable.
543 (epg--start): Setup epg-process-filter-running.
544 (epg--process-filter): Allow only one status handler to run at a
545 time; update epg-read-point everytime the point changes.
547 2006-07-14 Daiki Ueno <ueno@unixuser.org>
549 * epg-pgp50i.el: New file.
551 2006-07-13 Daiki Ueno <ueno@unixuser.org>
553 * acinclude.m4 (AC_PATH_GPG): New macro.
554 * configure.ac: Check gpg version.
555 Suggested by Max Froumentin <max@lapin-bleu.net>
557 2006-07-10 Daiki Ueno <ueno@unixuser.org>
559 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
560 (epg-signature-to-string): Remove a trailing whitespace.
562 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
563 (epa-toggle-mark): New command.
565 2006-07-04 Daiki Ueno <ueno@unixuser.org>
567 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
568 with pgg-default-user-id.
569 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
571 2006-07-01 Daiki Ueno <ueno@unixuser.org>
573 * epa.el (epa-select-keys): If SECRET is specified, select a
574 primary secret key by default.
576 2006-06-29 Daiki Ueno <ueno@unixuser.org>
578 * EasyPG: Version 0.0.3 released.
579 * epg.el (epg-version-number): Bump up.
580 * configure.ac: Bump up version.
582 2006-06-12 Daiki Ueno <ueno@unixuser.org>
584 * epa-file.el (epa-file-insert-file-contents): Don't move the
585 point to the end of the inserted region.
586 Reported by doug <douglas.bagley@gmail.com>
588 2006-06-01 Daiki Ueno <ueno@unixuser.org>
590 * epa-file.el (epa-file-insert-file-contents): Support partial read.
592 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
594 * epa-file.el (epa-file-write-region): Encode the plain text with
595 coding-system-for-write.
597 2006-05-30 Daiki Ueno <ueno@unixuser.org>
599 * epa-file.el (epa-file-insert-file-contents):
600 Decode the decrypted text with coding-system-for-read.
602 2006-05-29 Daiki Ueno <ueno@unixuser.org>
604 * EasyPG: Version 0.0.2 released.
605 * epg.el (epg-version-number): Bump up.
606 * configure.ac: Bump up version.
608 2006-05-29 Daiki Ueno <ueno@unixuser.org>
610 * epg.el (epg--time-from-seconds): New function.
611 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
612 (epg--status-VALIDSIG): Ditto.
613 (epg--status-KEYEXPIRED): Ditto.
615 2006-05-28 Daiki Ueno <ueno@unixuser.org>
617 * epg.el (epg-start-import-keys): Don't specify filename if keys
620 2006-05-27 Daiki Ueno <ueno@unixuser.org>
622 * epg.el (epg--process-filter): Pass epg-context instead of
623 process to status handlers.
624 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
625 matches with the given key-id.
627 2006-05-26 Daiki Ueno <ueno@unixuser.org>
629 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
630 status from 'error to 'no-pubkey.
631 (epg--status-ERRSIG): Just add 'error signature to the verify result.
633 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
634 disable inhibit-quit here; make text-properties nonsticky.
635 (epa-popup-info-window): New user option.
636 (epa-info-window-height): New user option.
637 (epa-display-verify-result): New function.
638 (epa-decrypt-file): Use it.
639 (epa-verify-file): Use it.
640 (epa-decrypt-region): Use it.
641 (epa-verify-region): Use it.
643 * epg.el (epg-make-context): New slot "operation".
644 (epg-passphrase-callback-function): Confirm passphrase when
645 performing symmetric encryption.
647 2006-05-25 Daiki Ueno <ueno@unixuser.org>
649 * epa.el (epa-decrypt-file): Display verify result if the message
651 (epa-decrypt-region): New command.
652 (epa-verify-region): New command.
653 (epa-decrypt-armor-in-region): New command.
654 (epa-verify-armor-in-region): New command.
655 (epa-sign-region): New command.
656 (epa-encrypt-region): New command.
658 2006-05-11 Daiki Ueno <ueno@unixuser.org>
660 * epa.el (epa-armor): New user option.
661 (epa-textmode): New user option.
663 2006-05-02 Daiki Ueno <ueno@unixuser.org>
665 * epg.el (epg-make-key-signature): New object epg-key-signature.
666 (epg-list-keys): Collect key signatures.
667 (epg-make-sub-key): Renamed secret -> secret-p.
668 (epg-list-keys-postprocess-one-key): Abolished.
669 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
670 signatures by itself.
671 (epg-no-data-reason-alist): New constant.
672 (epg-unexpected-reason-alist): New constant.
674 2006-05-01 Daiki Ueno <ueno@unixuser.org>
676 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
677 (epg-delete-problem-reason-alist): Renamed.
678 (epg-import-ok-reason-alist): New constant.
679 (epg-import-problem-reason-alist): New constant.
680 (epg-status-IMPORTED): New function.
681 (epg-status-IMPORT_OK): New function.
682 (epg-status-IMPORT_PROBLEM): New function.
683 (epg-start-import-keys): Don't use a temporary output file.
684 (epg-start-receive-keys): New function.
685 (epg-import-keys-from-server): New function.
686 (epg-receive-keys): Alias to epg-import-keys-from-server.
688 2006-05-01 Daiki Ueno <ueno@unixuser.org>
690 * epg.el (epg-start): Signal an error if the process of CONTEXT is
691 already running for other operations.
692 (epg-flush): Abolished.
693 (epg-start-generate-key): New function.
694 (epg-generate-key-from-file): New function.
695 (epg-generate-key-from-string): New function.
696 (epg-status-KEY_CREATED): New function.
697 (epg-status-KEY_NOT_CREATED): New function.
698 (epg-new-signature-type-alist): New variable.
699 (epg-make-new-signature): New object epg-new-signature.
700 (epg-status-SIG_CREATED): Set epg-new-signature object.
701 (epg-new-signature-to-string): New function.
702 (epg-make-signature): Added slots for signature class and version.
703 (epg-start-sign): Fixed rule of the MODE argument.
705 2006-04-30 Daiki Ueno <ueno@unixuser.org>
707 * epa.el (epa-delete-keys): Support deletion of secret keys.
709 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
712 * epg.el (epg-read-output): Don't convert line endings of the
714 (epg-cancel): Set 'error result.
716 2006-04-29 Daiki Ueno <ueno@unixuser.org>
718 * epg.el (epg-make-signature): Removed user-id; added
719 creation-time, expiration-time, pubkey-algorithm,
721 (epg-process-sentinel): Abolished.
722 (epg-signature-to-string): Decode DN.
723 (epg-list-keys): Cache user-id in epg-user-id-alist.
724 (epg-make-user-id): Renamed name -> string.
726 2006-04-29 Daiki Ueno <ueno@unixuser.org>
728 * epg.el (epg-status-ERRSIG): New function.
729 (epg-verify-file): Signal an error if we encounter ERRSIG status.
730 (epg-verify-string): Ditto.
732 2006-04-28 Daiki Ueno <ueno@unixuser.org>
734 * epg.el: Added typecheck to accessors to objects.
736 2006-04-26 Daiki Ueno <ueno@unixuser.org>
738 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
739 argument of passphrase-callback.
740 (epg-status-PROGRESS): Ditto.
742 2006-04-26 Daiki Ueno <ueno@unixuser.org>
744 * epa.el (epa-select-keys): Don't set inhibit-quit when
745 recursive-edit is called.
746 (epg-cancel): New function.
748 2006-04-25 Daiki Ueno <ueno@unixuser.org>
750 * epg.el (epg-process-sentinel): New function; set 'error if gpg
751 process exited abnormally, but we have not received an error
753 (epg-sign-file): Signal an error only when a signature is not
755 (epg-sign-string): Ditto.
756 (epg-encrypt-file): Signal an error if SIGN is specified and
757 signature is not created.
758 (epg-encrypt-string): Ditto.
760 2006-04-22 Daiki Ueno <ueno@unixuser.org>
762 * epa.el (epa-key-widget-value-create): Decode DN.
763 (epa-list-keys): Add the PROTOCOL argument.
764 (epa-select-keys): Require CONTEXT as the first argument.
766 * epg.el (epg-gpgsm-program): New user option.
767 (epg-dn-type-alist): New variable.
768 (epg-start): Don't specify --command-fd if protocol is CMS.
769 (epg-list-keys): Require CONTEXT as the first argument.
770 (epg-dn-from-string): New function.
771 (epg-decode-dn): New function.
773 2006-04-21 Daiki Ueno <ueno@unixuser.org>
775 * epa.el (epa-sign-keys): New command.
777 * epg.el (epg-start-sign-keys): New function.
778 (epg-sign-keys): New function.
779 (epg-status-GET_HIDDEN): Enable local quit.
780 (epg-status-GET_BOOL): Ditto.
781 (epg-status-GET_LINE): Ditto.
783 2006-04-20 Daiki Ueno <ueno@unixuser.org>
785 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
788 2006-04-20 Daiki Ueno <ueno@unixuser.org>
790 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
791 (pgg-epg-passphrase-callback): New function.
793 * epa.el (epa-select-keys): Added "Cancel" button.
795 2006-04-20 Daiki Ueno <ueno@unixuser.org>
797 * epg.el (epg-signature-to-string): New function.
799 2006-04-20 Daiki Ueno <ueno@unixuser.org>
801 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
803 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
806 * epa.el (epa-select-keys): Added MODE argument.
807 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
809 * epg.el (epg-status-SIG_CREATED): New function.
810 (epg-start-sign): epg-context-signers is now a list of key objects.
811 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
813 2006-04-19 Daiki Ueno <ueno@unixuser.org>
815 * epa.el (epa-verify-file): Show results in minibuffer.
816 * epg.el (epg-debug-buffer): New variable.
817 (epg-flush): New function.
819 2006-04-18 Daiki Ueno <ueno@unixuser.org>
821 * epa.el (epa-export-keys): New command.
822 * epg.el (epg-start-export-keys): Accept a list of epg-key object
825 2006-04-18 Daiki Ueno <ueno@unixuser.org>
827 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
828 (epa-import-key): New command.
830 * epg.el (epg-delete-problem-alist): New constant.
831 (epg-status-DELETE_PROBLEM): New function.
832 (epg-start-delete-key): New function.
833 (epg-delete-key): New function.
834 (epg-wait-for-completion): Add the NO-EOF argument.
836 2006-04-18 Daiki Ueno <ueno@unixuser.org>
838 * epg.el (epg-start): Insert the command-line arguments to the
840 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
841 (epg-start-delete-key): New function.
842 (epg-delete-key): New function.
844 * epa.el (epa-key): New widget.
845 (epa-key-widget-action): New function.
846 (epa-key-widget-value-create): New function.
847 (epa-key-widget-button-face-get): New function.
848 (epa-key-widget-help-echo): New function.
850 2006-04-17 Daiki Ueno <ueno@unixuser.org>
852 * epa-file.el (epa-file-write-region): Check if START is a string.
854 2006-04-17 Daiki Ueno <ueno@unixuser.org>
856 * epa-file.el: Rewritten with file-name-handler.
857 (epa-file-handler): New variable.
858 (epa-file-enable): New command.
859 (epa-file-disable): New command.
861 * epa-setup.el: Call epa-file-enable.
863 2006-04-17 Daiki Ueno <ueno@unixuser.org>
865 * epa-file.el (epa-passphrase): New variable.
866 (epa-file-passphrase-callback-function): New function.
867 (epa-find-file): Reset buffer-undo-list; set
868 buffer-file-coding-system to last-coding-system-used after
871 2006-04-17 Daiki Ueno <ueno@unixuser.org>
873 * epa-file.el (epa-write-file): Try to write region to "/" to get
874 last-coding-system-used to be set.
876 2006-04-17 Daiki Ueno <ueno@unixuser.org>
878 * epa-file.el: New implementation of epf.el.
882 2006-04-17 Daiki Ueno <ueno@unixuser.org>
884 * epa.el (epa-verify-file): Display verify result.
886 * epg.el (epg-invalid-recipients-alist): New variable.
887 (epg-status-INV_RECP): New function.
888 (epg-status-NO_RECP): New function.
890 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
891 epa-verify-file, epa-sign-file, and epa-encrypt-file.
892 (epa-decrypt-file): New function imported from epa-dired.el.
893 (epa-verify-file): New function imported from epa-dired.el.
894 (epa-sign-file): New function imported from epa-dired.el.
895 (epa-encrypt-file): New function imported from epa-dired.el.
897 2006-04-16 Daiki Ueno <ueno@unixuser.org>
899 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
901 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
903 2006-04-16 Daiki Ueno <ueno@unixuser.org>
905 * epa-setup.el: New file.
906 * epa-dired.el: New file.
908 * epg.el (epg-colons-pub-spec): Abolished.
909 (epg-colons-sec-spec): Abolished.
910 (epg-colons-uid-spec): Abolished.
911 (epg-colons-fpr-spec): Abolished.
912 (epg-key-validity-alist): New variable.
913 (epg-key-capablity-alist): New variable.
914 (epg-make-key): New object epg-key.
915 (epg-make-sub-key): New object epg-sub-key.
916 (epg-make-user-id): New object epg-user-id.
917 (epg-list-keys-1): Renamed from epg-list-keys.
918 (epg-list-keys): Rewritten.
920 2006-04-15 Daiki Ueno <ueno@unixuser.org>
922 * epg.el (epg-list-keys): Make the NAME argument optional.
924 2006-04-13 Daiki Ueno <ueno@unixuser.org>
926 * epa.el: Added header.
928 * epg.el (epg-list-keys): Specify --with-fingerprint.
929 (epg-colons-fpr-spec): New variable.
930 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
932 (epg-colons-sec-spec): Ditto.
933 (epg-colons-uid-spec): Renamed trust -> validity.
935 2006-04-13 Daiki Ueno <ueno@unixuser.org>
939 * epg.el (epg-cipher-algorithm-alist): New constant.
940 (epg-pubkey-algorithm-alist): New constant.
941 (epg-digest-algorithm-alist): New constant.
942 (epg-compress-algorithm-alist): New constant.
943 (epg-configuration): New function.
944 (epg-start): Don't specify --yes.
946 2006-04-13 Daiki Ueno <ueno@unixuser.org>
948 * epg.el (epg-make-data-from-file): New function.
949 (epg-make-data-from-string): New function.
950 (epg-data-file): New function.
951 (epg-data-string): New function.
952 (epg-start-decrypt): Get a cipher text from a data object.
953 (epg-delete-output-file): New function.
954 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
956 (epg-start-verify): Get a signature and signed-text from a data
958 (epg-verify-file): Added the 3rd argument PLAIN to specify where
959 the output goes; return the plain text if PLAIN is nil.
960 (epg-verify-string): Return the plain text.
961 (epg-start-sign): Get a plain text from a data object.
962 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
964 (epg-start-encrypt): Get a plain text from a data object.
965 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
967 (epg-start-import-keys): Get keys from a data object.
968 (epg-import-keys-1): New function.
969 (epg-import-keys-from-file): Use it.
970 (epg-import-keys-from-string): Use it.
972 2006-04-12 Daiki Ueno <ueno@unixuser.org>
974 * epf.el: Renamed from epg-file.el.
976 2006-04-12 Daiki Ueno <ueno@unixuser.org>
978 * epg.el (epg-status-GET_BOOL): New function.
979 (epg-status-GET_LINE): New function.
980 (epg-prompt-alist): New variable, to be filled.
982 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
983 * epg.el (epg-signature-fingerprint): New function.
984 (epg-signature-set-fingerprint): New function.
985 (epg-status-VALIDSIG): New function.
987 * epg.el (epg-reset): Don't reset result.
988 (epg-start-decrypt): Reset result before epg-start.
989 (epg-start-verify): Ditto.
990 (epg-start-sign): Ditto.
991 (epg-start-encrypt): Ditto.
992 (epg-start-export-keys): Ditto.
993 (epg-start-import-keys): Ditto.
995 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
996 * pgg-epg.el: New file.
998 * epg.el (epg-start-export-keys): New function.
999 (epg-export-keys): New function.
1000 (epg-start-import-keys): New function.
1001 (epg-import-keys): New function.
1002 (epg-verify-file): New function.
1004 * epg-file.el (epg-file-write-region): Support public key encryption.
1006 * epg.el (epg-passphrase-callback-function): Always display key-id.