1 2007-04-06 Daiki Ueno <ueno@unixuser.org>
3 * epa-file.el (epa-file-name-regexp): Accept backup filenames.
4 Suggested by "[ #10192 ] customizing epa-file-name-regexp fails"
6 2007-04-04 Daiki Ueno <ueno@unixuser.org>
8 * epa-file.el (epa-file--file-name-regexp-set): New Custom :set
10 (epa-file-name-regexp): Use it.
11 (epa-file-name-regexp-update): New command.
12 Reported by "[ #10192 ] customizing epa-file-name-regexp fails"
14 2007-04-04 Daiki Ueno <ueno@unixuser.org>
16 * epa-file.el (epa-file-find-file-hook): New function.
17 (epa-file-enable): Add epa-file-find-file-hook to find-file-hooks.
18 (epa-file-disable): Remove epa-file-find-file-hook from
21 2007-03-29 Daiki Ueno <ueno@unixuser.org>
23 * EasyPG: Version 0.0.11 released.
24 * configure.ac: Bump up version.
26 2007-03-26 Daiki Ueno <ueno@unixuser.org>
28 * epa.el (epa--insert-keys): Changed arglist. All callers
30 (epa--select-keys): New function.
31 (epa-select-keys): Use it; don't popup menu if keys have elements
34 2007-03-25 Daiki Ueno <ueno@unixuser.org>
36 * epa.el (epa-protocol): defcustom -> defvar.
38 (epa-textmode): Ditto.
40 2007-03-24 Daiki Ueno <ueno@unixuser.org>
42 * epa.el (epa-select-keys): Simplified; don't select the first
44 (epa-key-list-mode-map): Bind revert-buffer instead of
46 (epa-key-list-mode): Set revert-buffer-function to epa--revert-buffer.
47 (epa--revert-buffer): New function.
49 * epg.el (epg--list-keys-1): Accept a list of strings as NAME
51 (epg-list-keys): Ditto.
53 2007-03-21 Daiki Ueno <ueno@unixuser.org>
55 * epa-file.el (epa-file-inhibit-auto-save): New user option.
56 (epa-file-insert-file-contents): Turn off auto-save-mode if
57 epa-file-inhibit-auto-save is non-nil.
58 Reported by "[ #9937] epa-file auto-saves in plain text"
60 * epa.el (epa--list-keys): New function.
61 (epa-list-keys): Use it.
62 (epa-list-secret-keys): New command.
64 2007-03-20 Daiki Ueno <ueno@unixuser.org>
66 * epa.el (epa-display-info): Generate new *Info* buffer if buffer
68 (epa-verify-cleartext-in-region): s/armor/cleartext/g.
70 * Makefile.am (info_TEXINFOS): Added epa.texi.
73 2007-03-19 Daiki Ueno <ueno@unixuser.org>
75 * epg.el (epg--decode-percent-escape): New function.
77 2007-03-08 Daiki Ueno <ueno@unixuser.org>
79 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
81 2007-03-08 Daiki Ueno <ueno@unixuser.org>
83 * epa-mail.el (epa-mail-mode-hook): New variable.
84 (epa-mail-mode-on-hook): New variable.
85 (epa-mail-mode-off-hook): New variable.
87 * epg.el (epg--start): Make the process-buffer unibyte.
88 (epg--status-USERID_HINT): Decode user-id.
89 (epg--status-IMPORTED): Decode user-id.
91 2007-03-07 Daiki Ueno <ueno@unixuser.org>
93 * epg.el (epg--start): Don't specify --use-agent if the protocol
94 is CMS; set coding-system-for-read to binary.
95 (epg--status-*SIG): Decode user-id.
97 2007-02-02 Daiki Ueno <ueno@unixuser.org>
99 * epa-file.el (epa-file-write-region): Set a dummy filename
100 for buffer-file-name when calling select-safe-coding-system.
102 2007-01-30 Daiki Ueno <ueno@unixuser.org>
104 * epg.el (epg-last-status): New variable.
105 (epg--process-filter): Set epg-last-status after calling a status
107 (epg--prompt-GET_BOOL): New function.
108 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
109 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
112 2007-01-29 Daiki Ueno <ueno@unixuser.org>
114 * EasyPG: Version 0.0.10 released.
115 * configure.ac: Bump up version.
117 2007-01-29 Daiki Ueno <ueno@unixuser.org>
119 * epg-config.el: Require epg-package-info.
120 * configure.ac: Generate epg-package-info.el.
121 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
122 * COMPILE (epg-modules): Added epg-package-info.
123 * epg-package-info.el.in: New file.
125 2007-01-29 Daiki Ueno <ueno@unixuser.org>
127 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
128 * epa.el: Removed epa-*-mail stuff.
129 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
130 * COMPILE (epg-modules): Added epa-mail.
131 * epa-mail.el: New file.
133 2007-01-05 Daiki Ueno <ueno@unixuser.org>
135 * epg-pgp50i.el: Removed.
137 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
138 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
141 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
143 (epg--make-sub-key-1): Ditto.
144 (epg--decode-hexstring): "\\x" -> "\\\\x".
145 (epg--decode-quotedstring): Ditto.
147 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
148 recipient whose public key is not available.
149 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
150 recipient whose public key is not available.
152 2007-01-04 Daiki Ueno <ueno@unixuser.org>
154 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
155 (epa-verify-mail): Renamed from epa-verify.
156 (epa-sign-mail): Renamed from epa-sign.
157 (epa-encrypt-mail): Renamed from epa-encrypt.
158 (epa-import-mail): Renamed from epa-import.
160 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
162 * epg.el (epg-signature-to-string): Print creation-time and used
164 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
165 fallback to use a temp file as an input.
166 (epg-encrypt-string): Ditto.
168 2006-12-31 Daiki Ueno <ueno@unixuser.org>
170 * epa.el (epa-mail-modes): New user option.
171 (epa--mail-mode-p): New function.
173 (epa-encrypt): Use it.
174 (epa--find-coding-system-for-mime-charset): New function.
175 (epa-decrypt-armor-in-region): Use it.
176 (epa-progress-callback-function): Use handback as the prompt.
177 (epa-encrypt-region): Take 4th argument SIGN.
178 (epa-encrypt): Ditto.
180 2006-12-31 Daiki Ueno <ueno@unixuser.org>
182 * epa.el (epa--derived-mode-p): New alias.
184 (epa-encrypt): Use it.
186 2006-12-31 Daiki Ueno <ueno@unixuser.org>
188 * epa.el (epa--read-signature-type): New function.
189 (epa-decrypt): New command.
190 (epa-verify): New command.
191 (epa-sign): New command.
192 (epa-encrypt): New command.
193 (epa-import-armor-in-region): New command.
194 (epa-import): New command.
195 (epa-decrypt-region): Confirm user to replace the region.
196 (epa-display-info): Delete "*Info*" window.
198 2006-12-29 Daiki Ueno <ueno@unixuser.org>
200 * EasyPG: Version 0.0.9 released.
201 * epg-config.el (epg-version-number): Bump up.
202 * configure.ac: Bump up version.
204 2006-12-28 Daiki Ueno <ueno@unixuser.org>
206 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
207 is given; ask signature type only when a prefix arg is given.
208 (epa-sign-region): Ditto.
210 2006-12-26 Daiki Ueno <ueno@unixuser.org>
212 * epg-config.el (epg-passphrase-coding-system): Default to nil.
214 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
216 * epa.el (epa--format-fingerprint-1): New function.
217 (epa--format-fingerprint): Ditto.
218 (epa--show-key): Use it.
220 2006-12-20 Daiki Ueno <ueno@unixuser.org>
222 * epa-file.el (epa-file-write-region): Don't attempt to write the
223 region to "/" to determine safe coding-system.
225 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
226 (epa-sign-file): Save the output to *.p7s or *.p7m file if
228 (epa-encrypt-file): Ditto.
229 (epa-last-coding-system-specified): New variable.
230 (epa-decrypt-region): Try to decode with the
231 epa-coding-system-used text property.
232 (epa--select-safe-coding-system): New function.
233 (epa-verify-region): Try to decode with the epa-coding-system-used
235 (epa-sign-region): Query user to select coding-system to encode;
236 set the epa-coding-system-used text property on the result.
237 (epa-encrypt-region): Ditto.
239 2006-12-19 Daiki Ueno <ueno@unixuser.org>
241 * epg.el (epg-export-keys-to-file): Fixed a typo.
243 * epa.el (epa-protocol): New user option.
244 (epa-sign-region): --armor & --textmode.
245 (epa-encrypt-region): Ditto.
246 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
248 (epa-import-keys-region): New command.
249 (epa-insert-keys): New command.
250 (epa--insert-keys): Renamed from epa-insert-keys.
252 2006-12-11 Daiki Ueno <ueno@unixuser.org>
254 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
255 decode-coding-string if it is not bound.
257 * epa-file.el (epa-file--encode-coding-string): New alias.
258 (epa-file--decode-coding-string): New alias.
259 (epa-file-write-region): Use epa-file--encode-coding-string.
260 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
262 * epa.el (epa--encode-coding-string): New alias.
263 (epa--decode-coding-string): New alias.
264 (epa-verify-region): Use epa--encode-coding-string.
265 (epa-sign-region): Ditto; use epa--decode-coding-string.
266 (epa-encrypt-region): Use epa--encode-coding-string.
268 * epg.el (epg--encode-coding-string): New alias.
269 (epg--status-GET_HIDDEN): Use it.
271 2006-11-29 Daiki Ueno <ueno@unixuser.org>
273 * EasyPG: Version 0.0.8 released.
274 * epg-config.el (epg-version-number): Bump up.
275 * configure.ac: Bump up version.
277 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
279 * epa-file.el (epa-file-encrypt-to): New file local variable.
280 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
282 2006-11-26 Daiki Ueno <ueno@unixuser.org>
284 * epa.el (epa-sign-file): Query signature type at a time.
285 (epa-decrypt-file): Display output file name on completion.
286 (epa-sign-file): Ditto.
287 (epa-encrypt-file): Ditto.
289 2006-11-25 Daiki Ueno <ueno@unixuser.org>
291 * epa.el (epa-keys-mode): Don't call widget-setup.
292 (epa-list-keys): Call widget-setup here.
293 (epa-select-keys): Ditto.
295 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
297 * epg.el (epg-delete-keys): Remove redundant argument for `error'
298 and fix a close parenthesis.
300 2006-11-24 Daiki Ueno <ueno@unixuser.org>
302 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
303 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
304 cf. <emacs-mime-ja:02090>
306 2006-11-23 Daiki Ueno <ueno@unixuser.org>
308 * epa.el (epa-sign-region): Query signature type at a time.
310 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
312 * epg.el (epg-context-set-passphrase-callback): Add optional
314 (epg-context-set-progress-callback): Ditto.
316 2006-11-14 Daiki Ueno <ueno@unixuser.org>
318 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
319 (epa--show-key): Ditto.
320 Reported by Werner Koch <wk@gnupg.org>.
322 * epg.el (epg--start): Don't specify --enable-progress-filter for
324 (epg--status-PROGRESS): Check if progress-callback is set.
326 2006-11-12 Daiki Ueno <ueno@unixuser.org>
328 * epg.el (epg-error): New error.
329 (epg--check-error-for-decrypt): New function.
330 (epg-decrypt-file): Use it.
331 (epg-decrypt-string): Use it.
332 (epg--start): Added a very basic test to check whether to specify
335 * epa.el (epa-decrypt-file): Expand file name.
336 (epa-verify-file): Ditto.
337 (epa-import-keys): Ditto.
339 2006-11-12 Daiki Ueno <ueno@unixuser.org>
341 * epg.el (epg-delete-keys): Decode delete-problem.
343 * epa.el (epa-popup-info-window): Turn on by default.
344 (epa-display-info): Split selected window instead of pop-to-buffer.
346 2006-11-12 Daiki Ueno <ueno@unixuser.org>
348 * epa.el (epa-display-info): Generalized; renamed from
349 epa-display-verify-result.
350 (epa-decrypt-file): Use it.
351 (epa-verify-file): Use it.
352 (epa-decrypt-region): Use it.
353 (epa-verify-region): Use it.
354 (epa-import-keys): Show import result.
355 (epa-display-verify-result): Make it obsolete.
357 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
359 (epg-sign-keys): Make it obsolete.
360 (epg-make-import-status): New object epg-import-status.
361 (epg-make-import-result): New object epg-import-result.
362 (epg--status-IMPORT_RES): New function.
363 (epg-import-result-to-string): New function.
365 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
366 (epa-sign-keys): Make it obsolete.
368 2006-11-11 Daiki Ueno <ueno@unixuser.org>
370 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
371 mode is set for a cleartext signature.
372 (epg-make-context): New slot "sig-notations".
373 (epg--args-from-sig-notations): New function.
374 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
376 (epg-start-encrypt): Ditto.
377 (epg-make-signature): New slot "notations".
378 (epg--status-NOTATION_NAME): New function.
379 (epg--status-NOTATION_DATA): New function.
380 (epg--status-POLICY_URL): New function.
382 2006-10-29 Daiki Ueno <ueno@unixuser.org>
384 * EasyPG: Version 0.0.7 released.
385 * epg-config.el (epg-version-number): Bump up.
386 * configure.ac: Bump up version.
388 2006-10-29 Daiki Ueno <ueno@unixuser.org>
391 (epa-file-cache-passphrase-for-symmetric-encryption): New user
394 2006-10-12 Daiki Ueno <ueno@unixuser.org>
396 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
397 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
399 2006-09-29 Daiki Ueno <ueno@unixuser.org>
401 * EasyPG: Version 0.0.6 released.
402 * epg.el (epg-version-number): Bump up.
403 * configure.ac: Bump up version.
405 2006-09-29 Daiki Ueno <ueno@unixuser.org>
407 * epa.el (epa-verify-cleartext-in-region): Renamed from
408 epa-verify-armor-in-region.
410 * epg.el (epg-passphrase-callback-function): Suggest to use
411 epa-passphrase-callback-function instead.
412 (epg-start-verify): Don't specify --verify if SIGNATURE is a
413 normal or a clear text signature.
414 (epg-verify-file): Mention that the plaintext will be stored into
415 the file PLAIN after successful verification.
416 (epg-verify-string): Mention that the plaintext will be returned
417 after successful verification.
419 2006-09-27 Daiki Ueno <ueno@unixuser.org>
421 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
422 (epa-file-write-region): Ditto.
424 * epa.el (epa-decrypt-file): Set callbacks.
425 (epa-sign-file): Ditto.
426 (epa-encrypt-file): Ditto.
427 (epa-decrypt-region): Ditto.
428 (epa-sign-region): Ditto.
429 (epa-encrypt-region): Ditto.
430 (epa-sign-keys): Ditto.
432 * epg.el (epg-progress-callback-function): Removed.
434 2006-09-24 Daiki Ueno <ueno@unixuser.org>
436 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
437 (epa-progress-callback-function): Ditto.
438 * epg.el (epg-passphrase-callback-function): Made it obsolete.
439 (epg-progress-callback-function): Ditto.
441 2006-09-23 Daiki Ueno <ueno@unixuser.org>
443 * epg.el (epg-start-decrypt): Append "--" to the end of options.
444 (epg-start-verify): Ditto.
445 (epg-start-sign): Ditto.
446 (epg-start-encrypt): Ditto.
447 (epg-start-import-keys): Ditto.
448 (epg-start-generate-key): Ditto.
450 2006-09-23 Daiki Ueno <ueno@unixuser.org>
452 * epg.el (epg-make-context): Don't set progress-callback by
454 (epg--start): Don't specify --enable-progress-filter if
455 progress-callback is not set.
456 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
459 2006-09-15 Daiki Ueno <ueno@unixuser.org>
461 * epg.el (epg-progress-callback-function): Show the percentage.
463 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
465 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
467 2006-09-13 Daiki Ueno <ueno@unixuser.org>
469 * epg-config.el (epg-passphrase-coding-system): Renamed from
470 epg-locale-coding-system.
472 2006-09-11 Daiki Ueno <ueno@unixuser.org>
474 * epa-file.el (epa-file-decode-and-insert): New function which
475 utilizes decode-coding-inserted-region if available.
476 (epa-file-insert-file-contents): Use it.
478 * epg.el (epg--start): Specify --enable-progress-filter in
480 (epg-progress-callback-function): Remove a couple of %%'s.
482 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
484 * epg-config.el (epg-configuration): Fixed the last change;
485 collect configuration other than group and algorithm.
487 2006-09-05 Daiki Ueno <ueno@unixuser.org>
489 * epg-config.el (epg-debug): Moved from epg.el.
490 (epg-configuration): Parse group configuration.
491 (epg-expand-group): New function.
493 2006-09-04 Daiki Ueno <ueno@unixuser.org>
495 * EasyPG: Version 0.0.5 released.
496 * epg.el (epg-version-number): Bump up.
497 * configure.ac: Bump up version.
499 2006-09-04 Daiki Ueno <ueno@unixuser.org>
501 * epg-config.el (epg-locale-coding-system): New user option.
503 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
504 (epg--clear-string): New function.
505 (epg--status-GET_HIDDEN): Encode passphrase with
506 terminal-coding-system.
508 * epg-config.el (epg-gpg-minimum-version): New constant.
509 (epg-config--parse-version): New function.
510 (epg-config--compare-version): New function.
511 (epg-configuration): Respect epg-gpg-home-directory.
513 2006-09-03 Daiki Ueno <ueno@unixuser.org>
515 * epg-config.el: New file; moved GnuPG configuration check from
518 2006-09-02 Daiki Ueno <ueno@unixuser.org>
520 * epg.el (epg-check-configuration): New function.
521 (epg-gpg-home-directory): New user option.
523 * pgg-epg.el (pgg-epg-lookup-key): New function.
525 2006-07-29 Daiki Ueno <ueno@unixuser.org>
527 * EasyPG: Version 0.0.4 released.
528 * epg.el (epg-version-number): Bump up.
529 * configure.ac: Bump up version.
531 2006-07-29 Daiki Ueno <ueno@unixuser.org>
533 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
535 2006-07-28 Daiki Ueno <ueno@unixuser.org>
537 * epg.el (epg-start-encrypt): Extract primary key ID from
539 Thanks to Steve Youngs <steve@sxemacs.org>
541 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
542 give CONTEXT to epg-list-keys.
543 Thanks to Steve Youngs <steve@sxemacs.org>
545 2006-07-18 Daiki Ueno <ueno@unixuser.org>
547 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
548 epg-process-filter-running instead of epg-pgp50i-status; Don't
549 save-excursion during handler execution.
550 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
551 don't allow process input.
552 (epg-pgp50i--parse-time): New function.
553 (epg-pgp50i--status-BAD_SIGNATURE): New function.
555 * epg.el (epg--process-filter): Don't save-excursion during
558 2006-07-18 Daiki Ueno <ueno@unixuser.org>
560 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
562 * epg.el (epg-process-filter-running): New variable.
563 (epg--start): Setup epg-process-filter-running.
564 (epg--process-filter): Allow only one status handler to run at a
565 time; update epg-read-point everytime the point changes.
567 2006-07-14 Daiki Ueno <ueno@unixuser.org>
569 * epg-pgp50i.el: New file.
571 2006-07-13 Daiki Ueno <ueno@unixuser.org>
573 * acinclude.m4 (AC_PATH_GPG): New macro.
574 * configure.ac: Check gpg version.
575 Suggested by Max Froumentin <max@lapin-bleu.net>
577 2006-07-10 Daiki Ueno <ueno@unixuser.org>
579 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
580 (epg-signature-to-string): Remove a trailing whitespace.
582 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
583 (epa-toggle-mark): New command.
585 2006-07-04 Daiki Ueno <ueno@unixuser.org>
587 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
588 with pgg-default-user-id.
589 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
591 2006-07-01 Daiki Ueno <ueno@unixuser.org>
593 * epa.el (epa-select-keys): If SECRET is specified, select a
594 primary secret key by default.
596 2006-06-29 Daiki Ueno <ueno@unixuser.org>
598 * EasyPG: Version 0.0.3 released.
599 * epg.el (epg-version-number): Bump up.
600 * configure.ac: Bump up version.
602 2006-06-12 Daiki Ueno <ueno@unixuser.org>
604 * epa-file.el (epa-file-insert-file-contents): Don't move the
605 point to the end of the inserted region.
606 Reported by doug <douglas.bagley@gmail.com>
608 2006-06-01 Daiki Ueno <ueno@unixuser.org>
610 * epa-file.el (epa-file-insert-file-contents): Support partial read.
612 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
614 * epa-file.el (epa-file-write-region): Encode the plain text with
615 coding-system-for-write.
617 2006-05-30 Daiki Ueno <ueno@unixuser.org>
619 * epa-file.el (epa-file-insert-file-contents):
620 Decode the decrypted text with coding-system-for-read.
622 2006-05-29 Daiki Ueno <ueno@unixuser.org>
624 * EasyPG: Version 0.0.2 released.
625 * epg.el (epg-version-number): Bump up.
626 * configure.ac: Bump up version.
628 2006-05-29 Daiki Ueno <ueno@unixuser.org>
630 * epg.el (epg--time-from-seconds): New function.
631 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
632 (epg--status-VALIDSIG): Ditto.
633 (epg--status-KEYEXPIRED): Ditto.
635 2006-05-28 Daiki Ueno <ueno@unixuser.org>
637 * epg.el (epg-start-import-keys): Don't specify filename if keys
640 2006-05-27 Daiki Ueno <ueno@unixuser.org>
642 * epg.el (epg--process-filter): Pass epg-context instead of
643 process to status handlers.
644 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
645 matches with the given key-id.
647 2006-05-26 Daiki Ueno <ueno@unixuser.org>
649 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
650 status from 'error to 'no-pubkey.
651 (epg--status-ERRSIG): Just add 'error signature to the verify result.
653 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
654 disable inhibit-quit here; make text-properties nonsticky.
655 (epa-popup-info-window): New user option.
656 (epa-info-window-height): New user option.
657 (epa-display-verify-result): New function.
658 (epa-decrypt-file): Use it.
659 (epa-verify-file): Use it.
660 (epa-decrypt-region): Use it.
661 (epa-verify-region): Use it.
663 * epg.el (epg-make-context): New slot "operation".
664 (epg-passphrase-callback-function): Confirm passphrase when
665 performing symmetric encryption.
667 2006-05-25 Daiki Ueno <ueno@unixuser.org>
669 * epa.el (epa-decrypt-file): Display verify result if the message
671 (epa-decrypt-region): New command.
672 (epa-verify-region): New command.
673 (epa-decrypt-armor-in-region): New command.
674 (epa-verify-armor-in-region): New command.
675 (epa-sign-region): New command.
676 (epa-encrypt-region): New command.
678 2006-05-11 Daiki Ueno <ueno@unixuser.org>
680 * epa.el (epa-armor): New user option.
681 (epa-textmode): New user option.
683 2006-05-02 Daiki Ueno <ueno@unixuser.org>
685 * epg.el (epg-make-key-signature): New object epg-key-signature.
686 (epg-list-keys): Collect key signatures.
687 (epg-make-sub-key): Renamed secret -> secret-p.
688 (epg-list-keys-postprocess-one-key): Abolished.
689 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
690 signatures by itself.
691 (epg-no-data-reason-alist): New constant.
692 (epg-unexpected-reason-alist): New constant.
694 2006-05-01 Daiki Ueno <ueno@unixuser.org>
696 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
697 (epg-delete-problem-reason-alist): Renamed.
698 (epg-import-ok-reason-alist): New constant.
699 (epg-import-problem-reason-alist): New constant.
700 (epg-status-IMPORTED): New function.
701 (epg-status-IMPORT_OK): New function.
702 (epg-status-IMPORT_PROBLEM): New function.
703 (epg-start-import-keys): Don't use a temporary output file.
704 (epg-start-receive-keys): New function.
705 (epg-import-keys-from-server): New function.
706 (epg-receive-keys): Alias to epg-import-keys-from-server.
708 2006-05-01 Daiki Ueno <ueno@unixuser.org>
710 * epg.el (epg-start): Signal an error if the process of CONTEXT is
711 already running for other operations.
712 (epg-flush): Abolished.
713 (epg-start-generate-key): New function.
714 (epg-generate-key-from-file): New function.
715 (epg-generate-key-from-string): New function.
716 (epg-status-KEY_CREATED): New function.
717 (epg-status-KEY_NOT_CREATED): New function.
718 (epg-new-signature-type-alist): New variable.
719 (epg-make-new-signature): New object epg-new-signature.
720 (epg-status-SIG_CREATED): Set epg-new-signature object.
721 (epg-new-signature-to-string): New function.
722 (epg-make-signature): Added slots for signature class and version.
723 (epg-start-sign): Fixed rule of the MODE argument.
725 2006-04-30 Daiki Ueno <ueno@unixuser.org>
727 * epa.el (epa-delete-keys): Support deletion of secret keys.
729 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
732 * epg.el (epg-read-output): Don't convert line endings of the
734 (epg-cancel): Set 'error result.
736 2006-04-29 Daiki Ueno <ueno@unixuser.org>
738 * epg.el (epg-make-signature): Removed user-id; added
739 creation-time, expiration-time, pubkey-algorithm,
741 (epg-process-sentinel): Abolished.
742 (epg-signature-to-string): Decode DN.
743 (epg-list-keys): Cache user-id in epg-user-id-alist.
744 (epg-make-user-id): Renamed name -> string.
746 2006-04-29 Daiki Ueno <ueno@unixuser.org>
748 * epg.el (epg-status-ERRSIG): New function.
749 (epg-verify-file): Signal an error if we encounter ERRSIG status.
750 (epg-verify-string): Ditto.
752 2006-04-28 Daiki Ueno <ueno@unixuser.org>
754 * epg.el: Added typecheck to accessors to objects.
756 2006-04-26 Daiki Ueno <ueno@unixuser.org>
758 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
759 argument of passphrase-callback.
760 (epg-status-PROGRESS): Ditto.
762 2006-04-26 Daiki Ueno <ueno@unixuser.org>
764 * epa.el (epa-select-keys): Don't set inhibit-quit when
765 recursive-edit is called.
766 (epg-cancel): New function.
768 2006-04-25 Daiki Ueno <ueno@unixuser.org>
770 * epg.el (epg-process-sentinel): New function; set 'error if gpg
771 process exited abnormally, but we have not received an error
773 (epg-sign-file): Signal an error only when a signature is not
775 (epg-sign-string): Ditto.
776 (epg-encrypt-file): Signal an error if SIGN is specified and
777 signature is not created.
778 (epg-encrypt-string): Ditto.
780 2006-04-22 Daiki Ueno <ueno@unixuser.org>
782 * epa.el (epa-key-widget-value-create): Decode DN.
783 (epa-list-keys): Add the PROTOCOL argument.
784 (epa-select-keys): Require CONTEXT as the first argument.
786 * epg.el (epg-gpgsm-program): New user option.
787 (epg-dn-type-alist): New variable.
788 (epg-start): Don't specify --command-fd if protocol is CMS.
789 (epg-list-keys): Require CONTEXT as the first argument.
790 (epg-dn-from-string): New function.
791 (epg-decode-dn): New function.
793 2006-04-21 Daiki Ueno <ueno@unixuser.org>
795 * epa.el (epa-sign-keys): New command.
797 * epg.el (epg-start-sign-keys): New function.
798 (epg-sign-keys): New function.
799 (epg-status-GET_HIDDEN): Enable local quit.
800 (epg-status-GET_BOOL): Ditto.
801 (epg-status-GET_LINE): Ditto.
803 2006-04-20 Daiki Ueno <ueno@unixuser.org>
805 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
808 2006-04-20 Daiki Ueno <ueno@unixuser.org>
810 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
811 (pgg-epg-passphrase-callback): New function.
813 * epa.el (epa-select-keys): Added "Cancel" button.
815 2006-04-20 Daiki Ueno <ueno@unixuser.org>
817 * epg.el (epg-signature-to-string): New function.
819 2006-04-20 Daiki Ueno <ueno@unixuser.org>
821 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
823 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
826 * epa.el (epa-select-keys): Added MODE argument.
827 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
829 * epg.el (epg-status-SIG_CREATED): New function.
830 (epg-start-sign): epg-context-signers is now a list of key objects.
831 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
833 2006-04-19 Daiki Ueno <ueno@unixuser.org>
835 * epa.el (epa-verify-file): Show results in minibuffer.
836 * epg.el (epg-debug-buffer): New variable.
837 (epg-flush): New function.
839 2006-04-18 Daiki Ueno <ueno@unixuser.org>
841 * epa.el (epa-export-keys): New command.
842 * epg.el (epg-start-export-keys): Accept a list of epg-key object
845 2006-04-18 Daiki Ueno <ueno@unixuser.org>
847 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
848 (epa-import-key): New command.
850 * epg.el (epg-delete-problem-alist): New constant.
851 (epg-status-DELETE_PROBLEM): New function.
852 (epg-start-delete-key): New function.
853 (epg-delete-key): New function.
854 (epg-wait-for-completion): Add the NO-EOF argument.
856 2006-04-18 Daiki Ueno <ueno@unixuser.org>
858 * epg.el (epg-start): Insert the command-line arguments to the
860 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
861 (epg-start-delete-key): New function.
862 (epg-delete-key): New function.
864 * epa.el (epa-key): New widget.
865 (epa-key-widget-action): New function.
866 (epa-key-widget-value-create): New function.
867 (epa-key-widget-button-face-get): New function.
868 (epa-key-widget-help-echo): New function.
870 2006-04-17 Daiki Ueno <ueno@unixuser.org>
872 * epa-file.el (epa-file-write-region): Check if START is a string.
874 2006-04-17 Daiki Ueno <ueno@unixuser.org>
876 * epa-file.el: Rewritten with file-name-handler.
877 (epa-file-handler): New variable.
878 (epa-file-enable): New command.
879 (epa-file-disable): New command.
881 * epa-setup.el: Call epa-file-enable.
883 2006-04-17 Daiki Ueno <ueno@unixuser.org>
885 * epa-file.el (epa-passphrase): New variable.
886 (epa-file-passphrase-callback-function): New function.
887 (epa-find-file): Reset buffer-undo-list; set
888 buffer-file-coding-system to last-coding-system-used after
891 2006-04-17 Daiki Ueno <ueno@unixuser.org>
893 * epa-file.el (epa-write-file): Try to write region to "/" to get
894 last-coding-system-used to be set.
896 2006-04-17 Daiki Ueno <ueno@unixuser.org>
898 * epa-file.el: New implementation of epf.el.
902 2006-04-17 Daiki Ueno <ueno@unixuser.org>
904 * epa.el (epa-verify-file): Display verify result.
906 * epg.el (epg-invalid-recipients-alist): New variable.
907 (epg-status-INV_RECP): New function.
908 (epg-status-NO_RECP): New function.
910 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
911 epa-verify-file, epa-sign-file, and epa-encrypt-file.
912 (epa-decrypt-file): New function imported from epa-dired.el.
913 (epa-verify-file): New function imported from epa-dired.el.
914 (epa-sign-file): New function imported from epa-dired.el.
915 (epa-encrypt-file): New function imported from epa-dired.el.
917 2006-04-16 Daiki Ueno <ueno@unixuser.org>
919 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
921 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
923 2006-04-16 Daiki Ueno <ueno@unixuser.org>
925 * epa-setup.el: New file.
926 * epa-dired.el: New file.
928 * epg.el (epg-colons-pub-spec): Abolished.
929 (epg-colons-sec-spec): Abolished.
930 (epg-colons-uid-spec): Abolished.
931 (epg-colons-fpr-spec): Abolished.
932 (epg-key-validity-alist): New variable.
933 (epg-key-capablity-alist): New variable.
934 (epg-make-key): New object epg-key.
935 (epg-make-sub-key): New object epg-sub-key.
936 (epg-make-user-id): New object epg-user-id.
937 (epg-list-keys-1): Renamed from epg-list-keys.
938 (epg-list-keys): Rewritten.
940 2006-04-15 Daiki Ueno <ueno@unixuser.org>
942 * epg.el (epg-list-keys): Make the NAME argument optional.
944 2006-04-13 Daiki Ueno <ueno@unixuser.org>
946 * epa.el: Added header.
948 * epg.el (epg-list-keys): Specify --with-fingerprint.
949 (epg-colons-fpr-spec): New variable.
950 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
952 (epg-colons-sec-spec): Ditto.
953 (epg-colons-uid-spec): Renamed trust -> validity.
955 2006-04-13 Daiki Ueno <ueno@unixuser.org>
959 * epg.el (epg-cipher-algorithm-alist): New constant.
960 (epg-pubkey-algorithm-alist): New constant.
961 (epg-digest-algorithm-alist): New constant.
962 (epg-compress-algorithm-alist): New constant.
963 (epg-configuration): New function.
964 (epg-start): Don't specify --yes.
966 2006-04-13 Daiki Ueno <ueno@unixuser.org>
968 * epg.el (epg-make-data-from-file): New function.
969 (epg-make-data-from-string): New function.
970 (epg-data-file): New function.
971 (epg-data-string): New function.
972 (epg-start-decrypt): Get a cipher text from a data object.
973 (epg-delete-output-file): New function.
974 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
976 (epg-start-verify): Get a signature and signed-text from a data
978 (epg-verify-file): Added the 3rd argument PLAIN to specify where
979 the output goes; return the plain text if PLAIN is nil.
980 (epg-verify-string): Return the plain text.
981 (epg-start-sign): Get a plain text from a data object.
982 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
984 (epg-start-encrypt): Get a plain text from a data object.
985 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
987 (epg-start-import-keys): Get keys from a data object.
988 (epg-import-keys-1): New function.
989 (epg-import-keys-from-file): Use it.
990 (epg-import-keys-from-string): Use it.
992 2006-04-12 Daiki Ueno <ueno@unixuser.org>
994 * epf.el: Renamed from epg-file.el.
996 2006-04-12 Daiki Ueno <ueno@unixuser.org>
998 * epg.el (epg-status-GET_BOOL): New function.
999 (epg-status-GET_LINE): New function.
1000 (epg-prompt-alist): New variable, to be filled.
1002 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
1003 * epg.el (epg-signature-fingerprint): New function.
1004 (epg-signature-set-fingerprint): New function.
1005 (epg-status-VALIDSIG): New function.
1007 * epg.el (epg-reset): Don't reset result.
1008 (epg-start-decrypt): Reset result before epg-start.
1009 (epg-start-verify): Ditto.
1010 (epg-start-sign): Ditto.
1011 (epg-start-encrypt): Ditto.
1012 (epg-start-export-keys): Ditto.
1013 (epg-start-import-keys): Ditto.
1015 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
1016 * pgg-epg.el: New file.
1018 * epg.el (epg-start-export-keys): New function.
1019 (epg-export-keys): New function.
1020 (epg-start-import-keys): New function.
1021 (epg-import-keys): New function.
1022 (epg-verify-file): New function.
1024 * epg-file.el (epg-file-write-region): Support public key encryption.
1026 * epg.el (epg-passphrase-callback-function): Always display key-id.