1 2007-03-21 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa--list-keys): New function.
4 (epa-list-keys): Use it.
5 (epa-list-secret-keys): New command.
7 2007-03-20 Daiki Ueno <ueno@unixuser.org>
9 * epa.el (epa-display-info): Generate new *Info* buffer if buffer
11 (epa-verify-cleartext-in-region): s/armor/cleartext/g.
13 * Makefile.am (info_TEXINFOS): Added epa.texi.
16 2007-03-19 Daiki Ueno <ueno@unixuser.org>
18 * epg.el (epg--decode-percent-escape): New function.
20 2007-03-08 Daiki Ueno <ueno@unixuser.org>
22 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
24 2007-03-08 Daiki Ueno <ueno@unixuser.org>
26 * epa-mail.el (epa-mail-mode-hook): New variable.
27 (epa-mail-mode-on-hook): New variable.
28 (epa-mail-mode-off-hook): New variable.
30 * epg.el (epg--start): Make the process-buffer unibyte.
31 (epg--status-USERID_HINT): Decode user-id.
32 (epg--status-IMPORTED): Decode user-id.
34 2007-03-07 Daiki Ueno <ueno@unixuser.org>
36 * epg.el (epg--start): Don't specify --use-agent if the protocol
37 is CMS; set coding-system-for-read to binary.
38 (epg--status-*SIG): Decode user-id.
40 2007-02-02 Daiki Ueno <ueno@unixuser.org>
42 * epa-file.el (epa-file-write-region): Set a dummy filename
43 for buffer-file-name when calling select-safe-coding-system.
45 2007-01-30 Daiki Ueno <ueno@unixuser.org>
47 * epg.el (epg-last-status): New variable.
48 (epg--process-filter): Set epg-last-status after calling a status
50 (epg--prompt-GET_BOOL): New function.
51 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
52 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
55 2007-01-29 Daiki Ueno <ueno@unixuser.org>
57 * EasyPG: Version 0.0.10 released.
58 * configure.ac: Bump up version.
60 2007-01-29 Daiki Ueno <ueno@unixuser.org>
62 * epg-config.el: Require epg-package-info.
63 * configure.ac: Generate epg-package-info.el.
64 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
65 * COMPILE (epg-modules): Added epg-package-info.
66 * epg-package-info.el.in: New file.
68 2007-01-29 Daiki Ueno <ueno@unixuser.org>
70 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
71 * epa.el: Removed epa-*-mail stuff.
72 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
73 * COMPILE (epg-modules): Added epa-mail.
74 * epa-mail.el: New file.
76 2007-01-05 Daiki Ueno <ueno@unixuser.org>
78 * epg-pgp50i.el: Removed.
80 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
81 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
84 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
86 (epg--make-sub-key-1): Ditto.
87 (epg--decode-hexstring): "\\x" -> "\\\\x".
88 (epg--decode-quotedstring): Ditto.
90 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
91 recipient whose public key is not available.
92 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
93 recipient whose public key is not available.
95 2007-01-04 Daiki Ueno <ueno@unixuser.org>
97 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
98 (epa-verify-mail): Renamed from epa-verify.
99 (epa-sign-mail): Renamed from epa-sign.
100 (epa-encrypt-mail): Renamed from epa-encrypt.
101 (epa-import-mail): Renamed from epa-import.
103 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
105 * epg.el (epg-signature-to-string): Print creation-time and used
107 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
108 fallback to use a temp file as an input.
109 (epg-encrypt-string): Ditto.
111 2006-12-31 Daiki Ueno <ueno@unixuser.org>
113 * epa.el (epa-mail-modes): New user option.
114 (epa--mail-mode-p): New function.
116 (epa-encrypt): Use it.
117 (epa--find-coding-system-for-mime-charset): New function.
118 (epa-decrypt-armor-in-region): Use it.
119 (epa-progress-callback-function): Use handback as the prompt.
120 (epa-encrypt-region): Take 4th argument SIGN.
121 (epa-encrypt): Ditto.
123 2006-12-31 Daiki Ueno <ueno@unixuser.org>
125 * epa.el (epa--derived-mode-p): New alias.
127 (epa-encrypt): Use it.
129 2006-12-31 Daiki Ueno <ueno@unixuser.org>
131 * epa.el (epa--read-signature-type): New function.
132 (epa-decrypt): New command.
133 (epa-verify): New command.
134 (epa-sign): New command.
135 (epa-encrypt): New command.
136 (epa-import-armor-in-region): New command.
137 (epa-import): New command.
138 (epa-decrypt-region): Confirm user to replace the region.
139 (epa-display-info): Delete "*Info*" window.
141 2006-12-29 Daiki Ueno <ueno@unixuser.org>
143 * EasyPG: Version 0.0.9 released.
144 * epg-config.el (epg-version-number): Bump up.
145 * configure.ac: Bump up version.
147 2006-12-28 Daiki Ueno <ueno@unixuser.org>
149 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
150 is given; ask signature type only when a prefix arg is given.
151 (epa-sign-region): Ditto.
153 2006-12-26 Daiki Ueno <ueno@unixuser.org>
155 * epg-config.el (epg-passphrase-coding-system): Default to nil.
157 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
159 * epa.el (epa--format-fingerprint-1): New function.
160 (epa--format-fingerprint): Ditto.
161 (epa--show-key): Use it.
163 2006-12-20 Daiki Ueno <ueno@unixuser.org>
165 * epa-file.el (epa-file-write-region): Don't attempt to write the
166 region to "/" to determine safe coding-system.
168 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
169 (epa-sign-file): Save the output to *.p7s or *.p7m file if
171 (epa-encrypt-file): Ditto.
172 (epa-last-coding-system-specified): New variable.
173 (epa-decrypt-region): Try to decode with the
174 epa-coding-system-used text property.
175 (epa--select-safe-coding-system): New function.
176 (epa-verify-region): Try to decode with the epa-coding-system-used
178 (epa-sign-region): Query user to select coding-system to encode;
179 set the epa-coding-system-used text property on the result.
180 (epa-encrypt-region): Ditto.
182 2006-12-19 Daiki Ueno <ueno@unixuser.org>
184 * epg.el (epg-export-keys-to-file): Fixed a typo.
186 * epa.el (epa-protocol): New user option.
187 (epa-sign-region): --armor & --textmode.
188 (epa-encrypt-region): Ditto.
189 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
191 (epa-import-keys-region): New command.
192 (epa-insert-keys): New command.
193 (epa--insert-keys): Renamed from epa-insert-keys.
195 2006-12-11 Daiki Ueno <ueno@unixuser.org>
197 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
198 decode-coding-string if it is not bound.
200 * epa-file.el (epa-file--encode-coding-string): New alias.
201 (epa-file--decode-coding-string): New alias.
202 (epa-file-write-region): Use epa-file--encode-coding-string.
203 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
205 * epa.el (epa--encode-coding-string): New alias.
206 (epa--decode-coding-string): New alias.
207 (epa-verify-region): Use epa--encode-coding-string.
208 (epa-sign-region): Ditto; use epa--decode-coding-string.
209 (epa-encrypt-region): Use epa--encode-coding-string.
211 * epg.el (epg--encode-coding-string): New alias.
212 (epg--status-GET_HIDDEN): Use it.
214 2006-11-29 Daiki Ueno <ueno@unixuser.org>
216 * EasyPG: Version 0.0.8 released.
217 * epg-config.el (epg-version-number): Bump up.
218 * configure.ac: Bump up version.
220 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
222 * epa-file.el (epa-file-encrypt-to): New file local variable.
223 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
225 2006-11-26 Daiki Ueno <ueno@unixuser.org>
227 * epa.el (epa-sign-file): Query signature type at a time.
228 (epa-decrypt-file): Display output file name on completion.
229 (epa-sign-file): Ditto.
230 (epa-encrypt-file): Ditto.
232 2006-11-25 Daiki Ueno <ueno@unixuser.org>
234 * epa.el (epa-keys-mode): Don't call widget-setup.
235 (epa-list-keys): Call widget-setup here.
236 (epa-select-keys): Ditto.
238 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
240 * epg.el (epg-delete-keys): Remove redundant argument for `error'
241 and fix a close parenthesis.
243 2006-11-24 Daiki Ueno <ueno@unixuser.org>
245 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
246 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
247 cf. <emacs-mime-ja:02090>
249 2006-11-23 Daiki Ueno <ueno@unixuser.org>
251 * epa.el (epa-sign-region): Query signature type at a time.
253 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
255 * epg.el (epg-context-set-passphrase-callback): Add optional
257 (epg-context-set-progress-callback): Ditto.
259 2006-11-14 Daiki Ueno <ueno@unixuser.org>
261 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
262 (epa--show-key): Ditto.
263 Reported by Werner Koch <wk@gnupg.org>.
265 * epg.el (epg--start): Don't specify --enable-progress-filter for
267 (epg--status-PROGRESS): Check if progress-callback is set.
269 2006-11-12 Daiki Ueno <ueno@unixuser.org>
271 * epg.el (epg-error): New error.
272 (epg--check-error-for-decrypt): New function.
273 (epg-decrypt-file): Use it.
274 (epg-decrypt-string): Use it.
275 (epg--start): Added a very basic test to check whether to specify
278 * epa.el (epa-decrypt-file): Expand file name.
279 (epa-verify-file): Ditto.
280 (epa-import-keys): Ditto.
282 2006-11-12 Daiki Ueno <ueno@unixuser.org>
284 * epg.el (epg-delete-keys): Decode delete-problem.
286 * epa.el (epa-popup-info-window): Turn on by default.
287 (epa-display-info): Split selected window instead of pop-to-buffer.
289 2006-11-12 Daiki Ueno <ueno@unixuser.org>
291 * epa.el (epa-display-info): Generalized; renamed from
292 epa-display-verify-result.
293 (epa-decrypt-file): Use it.
294 (epa-verify-file): Use it.
295 (epa-decrypt-region): Use it.
296 (epa-verify-region): Use it.
297 (epa-import-keys): Show import result.
298 (epa-display-verify-result): Make it obsolete.
300 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
302 (epg-sign-keys): Make it obsolete.
303 (epg-make-import-status): New object epg-import-status.
304 (epg-make-import-result): New object epg-import-result.
305 (epg--status-IMPORT_RES): New function.
306 (epg-import-result-to-string): New function.
308 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
309 (epa-sign-keys): Make it obsolete.
311 2006-11-11 Daiki Ueno <ueno@unixuser.org>
313 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
314 mode is set for a cleartext signature.
315 (epg-make-context): New slot "sig-notations".
316 (epg--args-from-sig-notations): New function.
317 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
319 (epg-start-encrypt): Ditto.
320 (epg-make-signature): New slot "notations".
321 (epg--status-NOTATION_NAME): New function.
322 (epg--status-NOTATION_DATA): New function.
323 (epg--status-POLICY_URL): New function.
325 2006-10-29 Daiki Ueno <ueno@unixuser.org>
327 * EasyPG: Version 0.0.7 released.
328 * epg-config.el (epg-version-number): Bump up.
329 * configure.ac: Bump up version.
331 2006-10-29 Daiki Ueno <ueno@unixuser.org>
334 (epa-file-cache-passphrase-for-symmetric-encryption): New user
337 2006-10-12 Daiki Ueno <ueno@unixuser.org>
339 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
340 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
342 2006-09-29 Daiki Ueno <ueno@unixuser.org>
344 * EasyPG: Version 0.0.6 released.
345 * epg.el (epg-version-number): Bump up.
346 * configure.ac: Bump up version.
348 2006-09-29 Daiki Ueno <ueno@unixuser.org>
350 * epa.el (epa-verify-cleartext-in-region): Renamed from
351 epa-verify-armor-in-region.
353 * epg.el (epg-passphrase-callback-function): Suggest to use
354 epa-passphrase-callback-function instead.
355 (epg-start-verify): Don't specify --verify if SIGNATURE is a
356 normal or a clear text signature.
357 (epg-verify-file): Mention that the plaintext will be stored into
358 the file PLAIN after successful verification.
359 (epg-verify-string): Mention that the plaintext will be returned
360 after successful verification.
362 2006-09-27 Daiki Ueno <ueno@unixuser.org>
364 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
365 (epa-file-write-region): Ditto.
367 * epa.el (epa-decrypt-file): Set callbacks.
368 (epa-sign-file): Ditto.
369 (epa-encrypt-file): Ditto.
370 (epa-decrypt-region): Ditto.
371 (epa-sign-region): Ditto.
372 (epa-encrypt-region): Ditto.
373 (epa-sign-keys): Ditto.
375 * epg.el (epg-progress-callback-function): Removed.
377 2006-09-24 Daiki Ueno <ueno@unixuser.org>
379 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
380 (epa-progress-callback-function): Ditto.
381 * epg.el (epg-passphrase-callback-function): Made it obsolete.
382 (epg-progress-callback-function): Ditto.
384 2006-09-23 Daiki Ueno <ueno@unixuser.org>
386 * epg.el (epg-start-decrypt): Append "--" to the end of options.
387 (epg-start-verify): Ditto.
388 (epg-start-sign): Ditto.
389 (epg-start-encrypt): Ditto.
390 (epg-start-import-keys): Ditto.
391 (epg-start-generate-key): Ditto.
393 2006-09-23 Daiki Ueno <ueno@unixuser.org>
395 * epg.el (epg-make-context): Don't set progress-callback by
397 (epg--start): Don't specify --enable-progress-filter if
398 progress-callback is not set.
399 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
402 2006-09-15 Daiki Ueno <ueno@unixuser.org>
404 * epg.el (epg-progress-callback-function): Show the percentage.
406 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
408 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
410 2006-09-13 Daiki Ueno <ueno@unixuser.org>
412 * epg-config.el (epg-passphrase-coding-system): Renamed from
413 epg-locale-coding-system.
415 2006-09-11 Daiki Ueno <ueno@unixuser.org>
417 * epa-file.el (epa-file-decode-and-insert): New function which
418 utilizes decode-coding-inserted-region if available.
419 (epa-file-insert-file-contents): Use it.
421 * epg.el (epg--start): Specify --enable-progress-filter in
423 (epg-progress-callback-function): Remove a couple of %%'s.
425 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
427 * epg-config.el (epg-configuration): Fixed the last change;
428 collect configuration other than group and algorithm.
430 2006-09-05 Daiki Ueno <ueno@unixuser.org>
432 * epg-config.el (epg-debug): Moved from epg.el.
433 (epg-configuration): Parse group configuration.
434 (epg-expand-group): New function.
436 2006-09-04 Daiki Ueno <ueno@unixuser.org>
438 * EasyPG: Version 0.0.5 released.
439 * epg.el (epg-version-number): Bump up.
440 * configure.ac: Bump up version.
442 2006-09-04 Daiki Ueno <ueno@unixuser.org>
444 * epg-config.el (epg-locale-coding-system): New user option.
446 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
447 (epg--clear-string): New function.
448 (epg--status-GET_HIDDEN): Encode passphrase with
449 terminal-coding-system.
451 * epg-config.el (epg-gpg-minimum-version): New constant.
452 (epg-config--parse-version): New function.
453 (epg-config--compare-version): New function.
454 (epg-configuration): Respect epg-gpg-home-directory.
456 2006-09-03 Daiki Ueno <ueno@unixuser.org>
458 * epg-config.el: New file; moved GnuPG configuration check from
461 2006-09-02 Daiki Ueno <ueno@unixuser.org>
463 * epg.el (epg-check-configuration): New function.
464 (epg-gpg-home-directory): New user option.
466 * pgg-epg.el (pgg-epg-lookup-key): New function.
468 2006-07-29 Daiki Ueno <ueno@unixuser.org>
470 * EasyPG: Version 0.0.4 released.
471 * epg.el (epg-version-number): Bump up.
472 * configure.ac: Bump up version.
474 2006-07-29 Daiki Ueno <ueno@unixuser.org>
476 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
478 2006-07-28 Daiki Ueno <ueno@unixuser.org>
480 * epg.el (epg-start-encrypt): Extract primary key ID from
482 Thanks to Steve Youngs <steve@sxemacs.org>
484 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
485 give CONTEXT to epg-list-keys.
486 Thanks to Steve Youngs <steve@sxemacs.org>
488 2006-07-18 Daiki Ueno <ueno@unixuser.org>
490 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
491 epg-process-filter-running instead of epg-pgp50i-status; Don't
492 save-excursion during handler execution.
493 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
494 don't allow process input.
495 (epg-pgp50i--parse-time): New function.
496 (epg-pgp50i--status-BAD_SIGNATURE): New function.
498 * epg.el (epg--process-filter): Don't save-excursion during
501 2006-07-18 Daiki Ueno <ueno@unixuser.org>
503 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
505 * epg.el (epg-process-filter-running): New variable.
506 (epg--start): Setup epg-process-filter-running.
507 (epg--process-filter): Allow only one status handler to run at a
508 time; update epg-read-point everytime the point changes.
510 2006-07-14 Daiki Ueno <ueno@unixuser.org>
512 * epg-pgp50i.el: New file.
514 2006-07-13 Daiki Ueno <ueno@unixuser.org>
516 * acinclude.m4 (AC_PATH_GPG): New macro.
517 * configure.ac: Check gpg version.
518 Suggested by Max Froumentin <max@lapin-bleu.net>
520 2006-07-10 Daiki Ueno <ueno@unixuser.org>
522 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
523 (epg-signature-to-string): Remove a trailing whitespace.
525 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
526 (epa-toggle-mark): New command.
528 2006-07-04 Daiki Ueno <ueno@unixuser.org>
530 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
531 with pgg-default-user-id.
532 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
534 2006-07-01 Daiki Ueno <ueno@unixuser.org>
536 * epa.el (epa-select-keys): If SECRET is specified, select a
537 primary secret key by default.
539 2006-06-29 Daiki Ueno <ueno@unixuser.org>
541 * EasyPG: Version 0.0.3 released.
542 * epg.el (epg-version-number): Bump up.
543 * configure.ac: Bump up version.
545 2006-06-12 Daiki Ueno <ueno@unixuser.org>
547 * epa-file.el (epa-file-insert-file-contents): Don't move the
548 point to the end of the inserted region.
549 Reported by doug <douglas.bagley@gmail.com>
551 2006-06-01 Daiki Ueno <ueno@unixuser.org>
553 * epa-file.el (epa-file-insert-file-contents): Support partial read.
555 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
557 * epa-file.el (epa-file-write-region): Encode the plain text with
558 coding-system-for-write.
560 2006-05-30 Daiki Ueno <ueno@unixuser.org>
562 * epa-file.el (epa-file-insert-file-contents):
563 Decode the decrypted text with coding-system-for-read.
565 2006-05-29 Daiki Ueno <ueno@unixuser.org>
567 * EasyPG: Version 0.0.2 released.
568 * epg.el (epg-version-number): Bump up.
569 * configure.ac: Bump up version.
571 2006-05-29 Daiki Ueno <ueno@unixuser.org>
573 * epg.el (epg--time-from-seconds): New function.
574 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
575 (epg--status-VALIDSIG): Ditto.
576 (epg--status-KEYEXPIRED): Ditto.
578 2006-05-28 Daiki Ueno <ueno@unixuser.org>
580 * epg.el (epg-start-import-keys): Don't specify filename if keys
583 2006-05-27 Daiki Ueno <ueno@unixuser.org>
585 * epg.el (epg--process-filter): Pass epg-context instead of
586 process to status handlers.
587 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
588 matches with the given key-id.
590 2006-05-26 Daiki Ueno <ueno@unixuser.org>
592 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
593 status from 'error to 'no-pubkey.
594 (epg--status-ERRSIG): Just add 'error signature to the verify result.
596 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
597 disable inhibit-quit here; make text-properties nonsticky.
598 (epa-popup-info-window): New user option.
599 (epa-info-window-height): New user option.
600 (epa-display-verify-result): New function.
601 (epa-decrypt-file): Use it.
602 (epa-verify-file): Use it.
603 (epa-decrypt-region): Use it.
604 (epa-verify-region): Use it.
606 * epg.el (epg-make-context): New slot "operation".
607 (epg-passphrase-callback-function): Confirm passphrase when
608 performing symmetric encryption.
610 2006-05-25 Daiki Ueno <ueno@unixuser.org>
612 * epa.el (epa-decrypt-file): Display verify result if the message
614 (epa-decrypt-region): New command.
615 (epa-verify-region): New command.
616 (epa-decrypt-armor-in-region): New command.
617 (epa-verify-armor-in-region): New command.
618 (epa-sign-region): New command.
619 (epa-encrypt-region): New command.
621 2006-05-11 Daiki Ueno <ueno@unixuser.org>
623 * epa.el (epa-armor): New user option.
624 (epa-textmode): New user option.
626 2006-05-02 Daiki Ueno <ueno@unixuser.org>
628 * epg.el (epg-make-key-signature): New object epg-key-signature.
629 (epg-list-keys): Collect key signatures.
630 (epg-make-sub-key): Renamed secret -> secret-p.
631 (epg-list-keys-postprocess-one-key): Abolished.
632 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
633 signatures by itself.
634 (epg-no-data-reason-alist): New constant.
635 (epg-unexpected-reason-alist): New constant.
637 2006-05-01 Daiki Ueno <ueno@unixuser.org>
639 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
640 (epg-delete-problem-reason-alist): Renamed.
641 (epg-import-ok-reason-alist): New constant.
642 (epg-import-problem-reason-alist): New constant.
643 (epg-status-IMPORTED): New function.
644 (epg-status-IMPORT_OK): New function.
645 (epg-status-IMPORT_PROBLEM): New function.
646 (epg-start-import-keys): Don't use a temporary output file.
647 (epg-start-receive-keys): New function.
648 (epg-import-keys-from-server): New function.
649 (epg-receive-keys): Alias to epg-import-keys-from-server.
651 2006-05-01 Daiki Ueno <ueno@unixuser.org>
653 * epg.el (epg-start): Signal an error if the process of CONTEXT is
654 already running for other operations.
655 (epg-flush): Abolished.
656 (epg-start-generate-key): New function.
657 (epg-generate-key-from-file): New function.
658 (epg-generate-key-from-string): New function.
659 (epg-status-KEY_CREATED): New function.
660 (epg-status-KEY_NOT_CREATED): New function.
661 (epg-new-signature-type-alist): New variable.
662 (epg-make-new-signature): New object epg-new-signature.
663 (epg-status-SIG_CREATED): Set epg-new-signature object.
664 (epg-new-signature-to-string): New function.
665 (epg-make-signature): Added slots for signature class and version.
666 (epg-start-sign): Fixed rule of the MODE argument.
668 2006-04-30 Daiki Ueno <ueno@unixuser.org>
670 * epa.el (epa-delete-keys): Support deletion of secret keys.
672 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
675 * epg.el (epg-read-output): Don't convert line endings of the
677 (epg-cancel): Set 'error result.
679 2006-04-29 Daiki Ueno <ueno@unixuser.org>
681 * epg.el (epg-make-signature): Removed user-id; added
682 creation-time, expiration-time, pubkey-algorithm,
684 (epg-process-sentinel): Abolished.
685 (epg-signature-to-string): Decode DN.
686 (epg-list-keys): Cache user-id in epg-user-id-alist.
687 (epg-make-user-id): Renamed name -> string.
689 2006-04-29 Daiki Ueno <ueno@unixuser.org>
691 * epg.el (epg-status-ERRSIG): New function.
692 (epg-verify-file): Signal an error if we encounter ERRSIG status.
693 (epg-verify-string): Ditto.
695 2006-04-28 Daiki Ueno <ueno@unixuser.org>
697 * epg.el: Added typecheck to accessors to objects.
699 2006-04-26 Daiki Ueno <ueno@unixuser.org>
701 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
702 argument of passphrase-callback.
703 (epg-status-PROGRESS): Ditto.
705 2006-04-26 Daiki Ueno <ueno@unixuser.org>
707 * epa.el (epa-select-keys): Don't set inhibit-quit when
708 recursive-edit is called.
709 (epg-cancel): New function.
711 2006-04-25 Daiki Ueno <ueno@unixuser.org>
713 * epg.el (epg-process-sentinel): New function; set 'error if gpg
714 process exited abnormally, but we have not received an error
716 (epg-sign-file): Signal an error only when a signature is not
718 (epg-sign-string): Ditto.
719 (epg-encrypt-file): Signal an error if SIGN is specified and
720 signature is not created.
721 (epg-encrypt-string): Ditto.
723 2006-04-22 Daiki Ueno <ueno@unixuser.org>
725 * epa.el (epa-key-widget-value-create): Decode DN.
726 (epa-list-keys): Add the PROTOCOL argument.
727 (epa-select-keys): Require CONTEXT as the first argument.
729 * epg.el (epg-gpgsm-program): New user option.
730 (epg-dn-type-alist): New variable.
731 (epg-start): Don't specify --command-fd if protocol is CMS.
732 (epg-list-keys): Require CONTEXT as the first argument.
733 (epg-dn-from-string): New function.
734 (epg-decode-dn): New function.
736 2006-04-21 Daiki Ueno <ueno@unixuser.org>
738 * epa.el (epa-sign-keys): New command.
740 * epg.el (epg-start-sign-keys): New function.
741 (epg-sign-keys): New function.
742 (epg-status-GET_HIDDEN): Enable local quit.
743 (epg-status-GET_BOOL): Ditto.
744 (epg-status-GET_LINE): Ditto.
746 2006-04-20 Daiki Ueno <ueno@unixuser.org>
748 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
751 2006-04-20 Daiki Ueno <ueno@unixuser.org>
753 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
754 (pgg-epg-passphrase-callback): New function.
756 * epa.el (epa-select-keys): Added "Cancel" button.
758 2006-04-20 Daiki Ueno <ueno@unixuser.org>
760 * epg.el (epg-signature-to-string): New function.
762 2006-04-20 Daiki Ueno <ueno@unixuser.org>
764 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
766 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
769 * epa.el (epa-select-keys): Added MODE argument.
770 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
772 * epg.el (epg-status-SIG_CREATED): New function.
773 (epg-start-sign): epg-context-signers is now a list of key objects.
774 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
776 2006-04-19 Daiki Ueno <ueno@unixuser.org>
778 * epa.el (epa-verify-file): Show results in minibuffer.
779 * epg.el (epg-debug-buffer): New variable.
780 (epg-flush): New function.
782 2006-04-18 Daiki Ueno <ueno@unixuser.org>
784 * epa.el (epa-export-keys): New command.
785 * epg.el (epg-start-export-keys): Accept a list of epg-key object
788 2006-04-18 Daiki Ueno <ueno@unixuser.org>
790 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
791 (epa-import-key): New command.
793 * epg.el (epg-delete-problem-alist): New constant.
794 (epg-status-DELETE_PROBLEM): New function.
795 (epg-start-delete-key): New function.
796 (epg-delete-key): New function.
797 (epg-wait-for-completion): Add the NO-EOF argument.
799 2006-04-18 Daiki Ueno <ueno@unixuser.org>
801 * epg.el (epg-start): Insert the command-line arguments to the
803 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
804 (epg-start-delete-key): New function.
805 (epg-delete-key): New function.
807 * epa.el (epa-key): New widget.
808 (epa-key-widget-action): New function.
809 (epa-key-widget-value-create): New function.
810 (epa-key-widget-button-face-get): New function.
811 (epa-key-widget-help-echo): New function.
813 2006-04-17 Daiki Ueno <ueno@unixuser.org>
815 * epa-file.el (epa-file-write-region): Check if START is a string.
817 2006-04-17 Daiki Ueno <ueno@unixuser.org>
819 * epa-file.el: Rewritten with file-name-handler.
820 (epa-file-handler): New variable.
821 (epa-file-enable): New command.
822 (epa-file-disable): New command.
824 * epa-setup.el: Call epa-file-enable.
826 2006-04-17 Daiki Ueno <ueno@unixuser.org>
828 * epa-file.el (epa-passphrase): New variable.
829 (epa-file-passphrase-callback-function): New function.
830 (epa-find-file): Reset buffer-undo-list; set
831 buffer-file-coding-system to last-coding-system-used after
834 2006-04-17 Daiki Ueno <ueno@unixuser.org>
836 * epa-file.el (epa-write-file): Try to write region to "/" to get
837 last-coding-system-used to be set.
839 2006-04-17 Daiki Ueno <ueno@unixuser.org>
841 * epa-file.el: New implementation of epf.el.
845 2006-04-17 Daiki Ueno <ueno@unixuser.org>
847 * epa.el (epa-verify-file): Display verify result.
849 * epg.el (epg-invalid-recipients-alist): New variable.
850 (epg-status-INV_RECP): New function.
851 (epg-status-NO_RECP): New function.
853 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
854 epa-verify-file, epa-sign-file, and epa-encrypt-file.
855 (epa-decrypt-file): New function imported from epa-dired.el.
856 (epa-verify-file): New function imported from epa-dired.el.
857 (epa-sign-file): New function imported from epa-dired.el.
858 (epa-encrypt-file): New function imported from epa-dired.el.
860 2006-04-16 Daiki Ueno <ueno@unixuser.org>
862 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
864 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
866 2006-04-16 Daiki Ueno <ueno@unixuser.org>
868 * epa-setup.el: New file.
869 * epa-dired.el: New file.
871 * epg.el (epg-colons-pub-spec): Abolished.
872 (epg-colons-sec-spec): Abolished.
873 (epg-colons-uid-spec): Abolished.
874 (epg-colons-fpr-spec): Abolished.
875 (epg-key-validity-alist): New variable.
876 (epg-key-capablity-alist): New variable.
877 (epg-make-key): New object epg-key.
878 (epg-make-sub-key): New object epg-sub-key.
879 (epg-make-user-id): New object epg-user-id.
880 (epg-list-keys-1): Renamed from epg-list-keys.
881 (epg-list-keys): Rewritten.
883 2006-04-15 Daiki Ueno <ueno@unixuser.org>
885 * epg.el (epg-list-keys): Make the NAME argument optional.
887 2006-04-13 Daiki Ueno <ueno@unixuser.org>
889 * epa.el: Added header.
891 * epg.el (epg-list-keys): Specify --with-fingerprint.
892 (epg-colons-fpr-spec): New variable.
893 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
895 (epg-colons-sec-spec): Ditto.
896 (epg-colons-uid-spec): Renamed trust -> validity.
898 2006-04-13 Daiki Ueno <ueno@unixuser.org>
902 * epg.el (epg-cipher-algorithm-alist): New constant.
903 (epg-pubkey-algorithm-alist): New constant.
904 (epg-digest-algorithm-alist): New constant.
905 (epg-compress-algorithm-alist): New constant.
906 (epg-configuration): New function.
907 (epg-start): Don't specify --yes.
909 2006-04-13 Daiki Ueno <ueno@unixuser.org>
911 * epg.el (epg-make-data-from-file): New function.
912 (epg-make-data-from-string): New function.
913 (epg-data-file): New function.
914 (epg-data-string): New function.
915 (epg-start-decrypt): Get a cipher text from a data object.
916 (epg-delete-output-file): New function.
917 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
919 (epg-start-verify): Get a signature and signed-text from a data
921 (epg-verify-file): Added the 3rd argument PLAIN to specify where
922 the output goes; return the plain text if PLAIN is nil.
923 (epg-verify-string): Return the plain text.
924 (epg-start-sign): Get a plain text from a data object.
925 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
927 (epg-start-encrypt): Get a plain text from a data object.
928 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
930 (epg-start-import-keys): Get keys from a data object.
931 (epg-import-keys-1): New function.
932 (epg-import-keys-from-file): Use it.
933 (epg-import-keys-from-string): Use it.
935 2006-04-12 Daiki Ueno <ueno@unixuser.org>
937 * epf.el: Renamed from epg-file.el.
939 2006-04-12 Daiki Ueno <ueno@unixuser.org>
941 * epg.el (epg-status-GET_BOOL): New function.
942 (epg-status-GET_LINE): New function.
943 (epg-prompt-alist): New variable, to be filled.
945 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
946 * epg.el (epg-signature-fingerprint): New function.
947 (epg-signature-set-fingerprint): New function.
948 (epg-status-VALIDSIG): New function.
950 * epg.el (epg-reset): Don't reset result.
951 (epg-start-decrypt): Reset result before epg-start.
952 (epg-start-verify): Ditto.
953 (epg-start-sign): Ditto.
954 (epg-start-encrypt): Ditto.
955 (epg-start-export-keys): Ditto.
956 (epg-start-import-keys): Ditto.
958 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
959 * pgg-epg.el: New file.
961 * epg.el (epg-start-export-keys): New function.
962 (epg-export-keys): New function.
963 (epg-start-import-keys): New function.
964 (epg-import-keys): New function.
965 (epg-verify-file): New function.
967 * epg-file.el (epg-file-write-region): Support public key encryption.
969 * epg.el (epg-passphrase-callback-function): Always display key-id.