1 2007-03-08 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
5 2007-03-08 Daiki Ueno <ueno@unixuser.org>
7 * epa-mail.el (epa-mail-mode-hook): New variable.
8 (epa-mail-mode-on-hook): New variable.
9 (epa-mail-mode-off-hook): New variable.
11 * epg.el (epg--start): Make the process-buffer unibyte.
12 (epg--status-USERID_HINT): Decode user-id.
13 (epg--status-IMPORTED): Decode user-id.
15 2007-03-07 Daiki Ueno <ueno@unixuser.org>
17 * epg.el (epg--start): Don't specify --use-agent if the protocol
18 is CMS; set coding-system-for-read to binary.
19 (epg--status-*SIG): Decode user-id.
21 2007-02-02 Daiki Ueno <ueno@unixuser.org>
23 * epa-file.el (epa-file-write-region): Set a dummy filename
24 for buffer-file-name when calling select-safe-coding-system.
26 2007-01-30 Daiki Ueno <ueno@unixuser.org>
28 * epg.el (epg-last-status): New variable.
29 (epg--process-filter): Set epg-last-status after calling a status
31 (epg--prompt-GET_BOOL): New function.
32 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
33 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
36 2007-01-29 Daiki Ueno <ueno@unixuser.org>
38 * EasyPG: Version 0.0.10 released.
39 * configure.ac: Bump up version.
41 2007-01-29 Daiki Ueno <ueno@unixuser.org>
43 * epg-config.el: Require epg-package-info.
44 * configure.ac: Generate epg-package-info.el.
45 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
46 * COMPILE (epg-modules): Added epg-package-info.
47 * epg-package-info.el.in: New file.
49 2007-01-29 Daiki Ueno <ueno@unixuser.org>
51 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
52 * epa.el: Removed epa-*-mail stuff.
53 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
54 * COMPILE (epg-modules): Added epa-mail.
55 * epa-mail.el: New file.
57 2007-01-05 Daiki Ueno <ueno@unixuser.org>
59 * epg-pgp50i.el: Removed.
61 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
62 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
65 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
67 (epg--make-sub-key-1): Ditto.
68 (epg--decode-hexstring): "\\x" -> "\\\\x".
69 (epg--decode-quotedstring): Ditto.
71 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
72 recipient whose public key is not available.
73 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
74 recipient whose public key is not available.
76 2007-01-04 Daiki Ueno <ueno@unixuser.org>
78 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
79 (epa-verify-mail): Renamed from epa-verify.
80 (epa-sign-mail): Renamed from epa-sign.
81 (epa-encrypt-mail): Renamed from epa-encrypt.
82 (epa-import-mail): Renamed from epa-import.
84 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
86 * epg.el (epg-signature-to-string): Print creation-time and used
88 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
89 fallback to use a temp file as an input.
90 (epg-encrypt-string): Ditto.
92 2006-12-31 Daiki Ueno <ueno@unixuser.org>
94 * epa.el (epa-mail-modes): New user option.
95 (epa--mail-mode-p): New function.
97 (epa-encrypt): Use it.
98 (epa--find-coding-system-for-mime-charset): New function.
99 (epa-decrypt-armor-in-region): Use it.
100 (epa-progress-callback-function): Use handback as the prompt.
101 (epa-encrypt-region): Take 4th argument SIGN.
102 (epa-encrypt): Ditto.
104 2006-12-31 Daiki Ueno <ueno@unixuser.org>
106 * epa.el (epa--derived-mode-p): New alias.
108 (epa-encrypt): Use it.
110 2006-12-31 Daiki Ueno <ueno@unixuser.org>
112 * epa.el (epa--read-signature-type): New function.
113 (epa-decrypt): New command.
114 (epa-verify): New command.
115 (epa-sign): New command.
116 (epa-encrypt): New command.
117 (epa-import-armor-in-region): New command.
118 (epa-import): New command.
119 (epa-decrypt-region): Confirm user to replace the region.
120 (epa-display-info): Delete "*Info*" window.
122 2006-12-29 Daiki Ueno <ueno@unixuser.org>
124 * EasyPG: Version 0.0.9 released.
125 * epg-config.el (epg-version-number): Bump up.
126 * configure.ac: Bump up version.
128 2006-12-28 Daiki Ueno <ueno@unixuser.org>
130 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
131 is given; ask signature type only when a prefix arg is given.
132 (epa-sign-region): Ditto.
134 2006-12-26 Daiki Ueno <ueno@unixuser.org>
136 * epg-config.el (epg-passphrase-coding-system): Default to nil.
138 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
140 * epa.el (epa--format-fingerprint-1): New function.
141 (epa--format-fingerprint): Ditto.
142 (epa--show-key): Use it.
144 2006-12-20 Daiki Ueno <ueno@unixuser.org>
146 * epa-file.el (epa-file-write-region): Don't attempt to write the
147 region to "/" to determine safe coding-system.
149 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
150 (epa-sign-file): Save the output to *.p7s or *.p7m file if
152 (epa-encrypt-file): Ditto.
153 (epa-last-coding-system-specified): New variable.
154 (epa-decrypt-region): Try to decode with the
155 epa-coding-system-used text property.
156 (epa--select-safe-coding-system): New function.
157 (epa-verify-region): Try to decode with the epa-coding-system-used
159 (epa-sign-region): Query user to select coding-system to encode;
160 set the epa-coding-system-used text property on the result.
161 (epa-encrypt-region): Ditto.
163 2006-12-19 Daiki Ueno <ueno@unixuser.org>
165 * epg.el (epg-export-keys-to-file): Fixed a typo.
167 * epa.el (epa-protocol): New user option.
168 (epa-sign-region): --armor & --textmode.
169 (epa-encrypt-region): Ditto.
170 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
172 (epa-import-keys-region): New command.
173 (epa-insert-keys): New command.
174 (epa--insert-keys): Renamed from epa-insert-keys.
176 2006-12-11 Daiki Ueno <ueno@unixuser.org>
178 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
179 decode-coding-string if it is not bound.
181 * epa-file.el (epa-file--encode-coding-string): New alias.
182 (epa-file--decode-coding-string): New alias.
183 (epa-file-write-region): Use epa-file--encode-coding-string.
184 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
186 * epa.el (epa--encode-coding-string): New alias.
187 (epa--decode-coding-string): New alias.
188 (epa-verify-region): Use epa--encode-coding-string.
189 (epa-sign-region): Ditto; use epa--decode-coding-string.
190 (epa-encrypt-region): Use epa--encode-coding-string.
192 * epg.el (epg--encode-coding-string): New alias.
193 (epg--status-GET_HIDDEN): Use it.
195 2006-11-29 Daiki Ueno <ueno@unixuser.org>
197 * EasyPG: Version 0.0.8 released.
198 * epg-config.el (epg-version-number): Bump up.
199 * configure.ac: Bump up version.
201 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
203 * epa-file.el (epa-file-encrypt-to): New file local variable.
204 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
206 2006-11-26 Daiki Ueno <ueno@unixuser.org>
208 * epa.el (epa-sign-file): Query signature type at a time.
209 (epa-decrypt-file): Display output file name on completion.
210 (epa-sign-file): Ditto.
211 (epa-encrypt-file): Ditto.
213 2006-11-25 Daiki Ueno <ueno@unixuser.org>
215 * epa.el (epa-keys-mode): Don't call widget-setup.
216 (epa-list-keys): Call widget-setup here.
217 (epa-select-keys): Ditto.
219 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
221 * epg.el (epg-delete-keys): Remove redundant argument for `error'
222 and fix a close parenthesis.
224 2006-11-24 Daiki Ueno <ueno@unixuser.org>
226 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
227 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
228 cf. <emacs-mime-ja:02090>
230 2006-11-23 Daiki Ueno <ueno@unixuser.org>
232 * epa.el (epa-sign-region): Query signature type at a time.
234 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
236 * epg.el (epg-context-set-passphrase-callback): Add optional
238 (epg-context-set-progress-callback): Ditto.
240 2006-11-14 Daiki Ueno <ueno@unixuser.org>
242 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
243 (epa--show-key): Ditto.
244 Reported by Werner Koch <wk@gnupg.org>.
246 * epg.el (epg--start): Don't specify --enable-progress-filter for
248 (epg--status-PROGRESS): Check if progress-callback is set.
250 2006-11-12 Daiki Ueno <ueno@unixuser.org>
252 * epg.el (epg-error): New error.
253 (epg--check-error-for-decrypt): New function.
254 (epg-decrypt-file): Use it.
255 (epg-decrypt-string): Use it.
256 (epg--start): Added a very basic test to check whether to specify
259 * epa.el (epa-decrypt-file): Expand file name.
260 (epa-verify-file): Ditto.
261 (epa-import-keys): Ditto.
263 2006-11-12 Daiki Ueno <ueno@unixuser.org>
265 * epg.el (epg-delete-keys): Decode delete-problem.
267 * epa.el (epa-popup-info-window): Turn on by default.
268 (epa-display-info): Split selected window instead of pop-to-buffer.
270 2006-11-12 Daiki Ueno <ueno@unixuser.org>
272 * epa.el (epa-display-info): Generalized; renamed from
273 epa-display-verify-result.
274 (epa-decrypt-file): Use it.
275 (epa-verify-file): Use it.
276 (epa-decrypt-region): Use it.
277 (epa-verify-region): Use it.
278 (epa-import-keys): Show import result.
279 (epa-display-verify-result): Make it obsolete.
281 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
283 (epg-sign-keys): Make it obsolete.
284 (epg-make-import-status): New object epg-import-status.
285 (epg-make-import-result): New object epg-import-result.
286 (epg--status-IMPORT_RES): New function.
287 (epg-import-result-to-string): New function.
289 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
290 (epa-sign-keys): Make it obsolete.
292 2006-11-11 Daiki Ueno <ueno@unixuser.org>
294 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
295 mode is set for a cleartext signature.
296 (epg-make-context): New slot "sig-notations".
297 (epg--args-from-sig-notations): New function.
298 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
300 (epg-start-encrypt): Ditto.
301 (epg-make-signature): New slot "notations".
302 (epg--status-NOTATION_NAME): New function.
303 (epg--status-NOTATION_DATA): New function.
304 (epg--status-POLICY_URL): New function.
306 2006-10-29 Daiki Ueno <ueno@unixuser.org>
308 * EasyPG: Version 0.0.7 released.
309 * epg-config.el (epg-version-number): Bump up.
310 * configure.ac: Bump up version.
312 2006-10-29 Daiki Ueno <ueno@unixuser.org>
315 (epa-file-cache-passphrase-for-symmetric-encryption): New user
318 2006-10-12 Daiki Ueno <ueno@unixuser.org>
320 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
321 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
323 2006-09-29 Daiki Ueno <ueno@unixuser.org>
325 * EasyPG: Version 0.0.6 released.
326 * epg.el (epg-version-number): Bump up.
327 * configure.ac: Bump up version.
329 2006-09-29 Daiki Ueno <ueno@unixuser.org>
331 * epa.el (epa-verify-cleartext-in-region): Renamed from
332 epa-verify-armor-in-region.
334 * epg.el (epg-passphrase-callback-function): Suggest to use
335 epa-passphrase-callback-function instead.
336 (epg-start-verify): Don't specify --verify if SIGNATURE is a
337 normal or a clear text signature.
338 (epg-verify-file): Mention that the plaintext will be stored into
339 the file PLAIN after successful verification.
340 (epg-verify-string): Mention that the plaintext will be returned
341 after successful verification.
343 2006-09-27 Daiki Ueno <ueno@unixuser.org>
345 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
346 (epa-file-write-region): Ditto.
348 * epa.el (epa-decrypt-file): Set callbacks.
349 (epa-sign-file): Ditto.
350 (epa-encrypt-file): Ditto.
351 (epa-decrypt-region): Ditto.
352 (epa-sign-region): Ditto.
353 (epa-encrypt-region): Ditto.
354 (epa-sign-keys): Ditto.
356 * epg.el (epg-progress-callback-function): Removed.
358 2006-09-24 Daiki Ueno <ueno@unixuser.org>
360 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
361 (epa-progress-callback-function): Ditto.
362 * epg.el (epg-passphrase-callback-function): Made it obsolete.
363 (epg-progress-callback-function): Ditto.
365 2006-09-23 Daiki Ueno <ueno@unixuser.org>
367 * epg.el (epg-start-decrypt): Append "--" to the end of options.
368 (epg-start-verify): Ditto.
369 (epg-start-sign): Ditto.
370 (epg-start-encrypt): Ditto.
371 (epg-start-import-keys): Ditto.
372 (epg-start-generate-key): Ditto.
374 2006-09-23 Daiki Ueno <ueno@unixuser.org>
376 * epg.el (epg-make-context): Don't set progress-callback by
378 (epg--start): Don't specify --enable-progress-filter if
379 progress-callback is not set.
380 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
383 2006-09-15 Daiki Ueno <ueno@unixuser.org>
385 * epg.el (epg-progress-callback-function): Show the percentage.
387 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
389 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
391 2006-09-13 Daiki Ueno <ueno@unixuser.org>
393 * epg-config.el (epg-passphrase-coding-system): Renamed from
394 epg-locale-coding-system.
396 2006-09-11 Daiki Ueno <ueno@unixuser.org>
398 * epa-file.el (epa-file-decode-and-insert): New function which
399 utilizes decode-coding-inserted-region if available.
400 (epa-file-insert-file-contents): Use it.
402 * epg.el (epg--start): Specify --enable-progress-filter in
404 (epg-progress-callback-function): Remove a couple of %%'s.
406 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
408 * epg-config.el (epg-configuration): Fixed the last change;
409 collect configuration other than group and algorithm.
411 2006-09-05 Daiki Ueno <ueno@unixuser.org>
413 * epg-config.el (epg-debug): Moved from epg.el.
414 (epg-configuration): Parse group configuration.
415 (epg-expand-group): New function.
417 2006-09-04 Daiki Ueno <ueno@unixuser.org>
419 * EasyPG: Version 0.0.5 released.
420 * epg.el (epg-version-number): Bump up.
421 * configure.ac: Bump up version.
423 2006-09-04 Daiki Ueno <ueno@unixuser.org>
425 * epg-config.el (epg-locale-coding-system): New user option.
427 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
428 (epg--clear-string): New function.
429 (epg--status-GET_HIDDEN): Encode passphrase with
430 terminal-coding-system.
432 * epg-config.el (epg-gpg-minimum-version): New constant.
433 (epg-config--parse-version): New function.
434 (epg-config--compare-version): New function.
435 (epg-configuration): Respect epg-gpg-home-directory.
437 2006-09-03 Daiki Ueno <ueno@unixuser.org>
439 * epg-config.el: New file; moved GnuPG configuration check from
442 2006-09-02 Daiki Ueno <ueno@unixuser.org>
444 * epg.el (epg-check-configuration): New function.
445 (epg-gpg-home-directory): New user option.
447 * pgg-epg.el (pgg-epg-lookup-key): New function.
449 2006-07-29 Daiki Ueno <ueno@unixuser.org>
451 * EasyPG: Version 0.0.4 released.
452 * epg.el (epg-version-number): Bump up.
453 * configure.ac: Bump up version.
455 2006-07-29 Daiki Ueno <ueno@unixuser.org>
457 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
459 2006-07-28 Daiki Ueno <ueno@unixuser.org>
461 * epg.el (epg-start-encrypt): Extract primary key ID from
463 Thanks to Steve Youngs <steve@sxemacs.org>
465 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
466 give CONTEXT to epg-list-keys.
467 Thanks to Steve Youngs <steve@sxemacs.org>
469 2006-07-18 Daiki Ueno <ueno@unixuser.org>
471 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
472 epg-process-filter-running instead of epg-pgp50i-status; Don't
473 save-excursion during handler execution.
474 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
475 don't allow process input.
476 (epg-pgp50i--parse-time): New function.
477 (epg-pgp50i--status-BAD_SIGNATURE): New function.
479 * epg.el (epg--process-filter): Don't save-excursion during
482 2006-07-18 Daiki Ueno <ueno@unixuser.org>
484 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
486 * epg.el (epg-process-filter-running): New variable.
487 (epg--start): Setup epg-process-filter-running.
488 (epg--process-filter): Allow only one status handler to run at a
489 time; update epg-read-point everytime the point changes.
491 2006-07-14 Daiki Ueno <ueno@unixuser.org>
493 * epg-pgp50i.el: New file.
495 2006-07-13 Daiki Ueno <ueno@unixuser.org>
497 * acinclude.m4 (AC_PATH_GPG): New macro.
498 * configure.ac: Check gpg version.
499 Suggested by Max Froumentin <max@lapin-bleu.net>
501 2006-07-10 Daiki Ueno <ueno@unixuser.org>
503 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
504 (epg-signature-to-string): Remove a trailing whitespace.
506 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
507 (epa-toggle-mark): New command.
509 2006-07-04 Daiki Ueno <ueno@unixuser.org>
511 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
512 with pgg-default-user-id.
513 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
515 2006-07-01 Daiki Ueno <ueno@unixuser.org>
517 * epa.el (epa-select-keys): If SECRET is specified, select a
518 primary secret key by default.
520 2006-06-29 Daiki Ueno <ueno@unixuser.org>
522 * EasyPG: Version 0.0.3 released.
523 * epg.el (epg-version-number): Bump up.
524 * configure.ac: Bump up version.
526 2006-06-12 Daiki Ueno <ueno@unixuser.org>
528 * epa-file.el (epa-file-insert-file-contents): Don't move the
529 point to the end of the inserted region.
530 Reported by doug <douglas.bagley@gmail.com>
532 2006-06-01 Daiki Ueno <ueno@unixuser.org>
534 * epa-file.el (epa-file-insert-file-contents): Support partial read.
536 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
538 * epa-file.el (epa-file-write-region): Encode the plain text with
539 coding-system-for-write.
541 2006-05-30 Daiki Ueno <ueno@unixuser.org>
543 * epa-file.el (epa-file-insert-file-contents):
544 Decode the decrypted text with coding-system-for-read.
546 2006-05-29 Daiki Ueno <ueno@unixuser.org>
548 * EasyPG: Version 0.0.2 released.
549 * epg.el (epg-version-number): Bump up.
550 * configure.ac: Bump up version.
552 2006-05-29 Daiki Ueno <ueno@unixuser.org>
554 * epg.el (epg--time-from-seconds): New function.
555 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
556 (epg--status-VALIDSIG): Ditto.
557 (epg--status-KEYEXPIRED): Ditto.
559 2006-05-28 Daiki Ueno <ueno@unixuser.org>
561 * epg.el (epg-start-import-keys): Don't specify filename if keys
564 2006-05-27 Daiki Ueno <ueno@unixuser.org>
566 * epg.el (epg--process-filter): Pass epg-context instead of
567 process to status handlers.
568 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
569 matches with the given key-id.
571 2006-05-26 Daiki Ueno <ueno@unixuser.org>
573 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
574 status from 'error to 'no-pubkey.
575 (epg--status-ERRSIG): Just add 'error signature to the verify result.
577 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
578 disable inhibit-quit here; make text-properties nonsticky.
579 (epa-popup-info-window): New user option.
580 (epa-info-window-height): New user option.
581 (epa-display-verify-result): New function.
582 (epa-decrypt-file): Use it.
583 (epa-verify-file): Use it.
584 (epa-decrypt-region): Use it.
585 (epa-verify-region): Use it.
587 * epg.el (epg-make-context): New slot "operation".
588 (epg-passphrase-callback-function): Confirm passphrase when
589 performing symmetric encryption.
591 2006-05-25 Daiki Ueno <ueno@unixuser.org>
593 * epa.el (epa-decrypt-file): Display verify result if the message
595 (epa-decrypt-region): New command.
596 (epa-verify-region): New command.
597 (epa-decrypt-armor-in-region): New command.
598 (epa-verify-armor-in-region): New command.
599 (epa-sign-region): New command.
600 (epa-encrypt-region): New command.
602 2006-05-11 Daiki Ueno <ueno@unixuser.org>
604 * epa.el (epa-armor): New user option.
605 (epa-textmode): New user option.
607 2006-05-02 Daiki Ueno <ueno@unixuser.org>
609 * epg.el (epg-make-key-signature): New object epg-key-signature.
610 (epg-list-keys): Collect key signatures.
611 (epg-make-sub-key): Renamed secret -> secret-p.
612 (epg-list-keys-postprocess-one-key): Abolished.
613 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
614 signatures by itself.
615 (epg-no-data-reason-alist): New constant.
616 (epg-unexpected-reason-alist): New constant.
618 2006-05-01 Daiki Ueno <ueno@unixuser.org>
620 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
621 (epg-delete-problem-reason-alist): Renamed.
622 (epg-import-ok-reason-alist): New constant.
623 (epg-import-problem-reason-alist): New constant.
624 (epg-status-IMPORTED): New function.
625 (epg-status-IMPORT_OK): New function.
626 (epg-status-IMPORT_PROBLEM): New function.
627 (epg-start-import-keys): Don't use a temporary output file.
628 (epg-start-receive-keys): New function.
629 (epg-import-keys-from-server): New function.
630 (epg-receive-keys): Alias to epg-import-keys-from-server.
632 2006-05-01 Daiki Ueno <ueno@unixuser.org>
634 * epg.el (epg-start): Signal an error if the process of CONTEXT is
635 already running for other operations.
636 (epg-flush): Abolished.
637 (epg-start-generate-key): New function.
638 (epg-generate-key-from-file): New function.
639 (epg-generate-key-from-string): New function.
640 (epg-status-KEY_CREATED): New function.
641 (epg-status-KEY_NOT_CREATED): New function.
642 (epg-new-signature-type-alist): New variable.
643 (epg-make-new-signature): New object epg-new-signature.
644 (epg-status-SIG_CREATED): Set epg-new-signature object.
645 (epg-new-signature-to-string): New function.
646 (epg-make-signature): Added slots for signature class and version.
647 (epg-start-sign): Fixed rule of the MODE argument.
649 2006-04-30 Daiki Ueno <ueno@unixuser.org>
651 * epa.el (epa-delete-keys): Support deletion of secret keys.
653 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
656 * epg.el (epg-read-output): Don't convert line endings of the
658 (epg-cancel): Set 'error result.
660 2006-04-29 Daiki Ueno <ueno@unixuser.org>
662 * epg.el (epg-make-signature): Removed user-id; added
663 creation-time, expiration-time, pubkey-algorithm,
665 (epg-process-sentinel): Abolished.
666 (epg-signature-to-string): Decode DN.
667 (epg-list-keys): Cache user-id in epg-user-id-alist.
668 (epg-make-user-id): Renamed name -> string.
670 2006-04-29 Daiki Ueno <ueno@unixuser.org>
672 * epg.el (epg-status-ERRSIG): New function.
673 (epg-verify-file): Signal an error if we encounter ERRSIG status.
674 (epg-verify-string): Ditto.
676 2006-04-28 Daiki Ueno <ueno@unixuser.org>
678 * epg.el: Added typecheck to accessors to objects.
680 2006-04-26 Daiki Ueno <ueno@unixuser.org>
682 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
683 argument of passphrase-callback.
684 (epg-status-PROGRESS): Ditto.
686 2006-04-26 Daiki Ueno <ueno@unixuser.org>
688 * epa.el (epa-select-keys): Don't set inhibit-quit when
689 recursive-edit is called.
690 (epg-cancel): New function.
692 2006-04-25 Daiki Ueno <ueno@unixuser.org>
694 * epg.el (epg-process-sentinel): New function; set 'error if gpg
695 process exited abnormally, but we have not received an error
697 (epg-sign-file): Signal an error only when a signature is not
699 (epg-sign-string): Ditto.
700 (epg-encrypt-file): Signal an error if SIGN is specified and
701 signature is not created.
702 (epg-encrypt-string): Ditto.
704 2006-04-22 Daiki Ueno <ueno@unixuser.org>
706 * epa.el (epa-key-widget-value-create): Decode DN.
707 (epa-list-keys): Add the PROTOCOL argument.
708 (epa-select-keys): Require CONTEXT as the first argument.
710 * epg.el (epg-gpgsm-program): New user option.
711 (epg-dn-type-alist): New variable.
712 (epg-start): Don't specify --command-fd if protocol is CMS.
713 (epg-list-keys): Require CONTEXT as the first argument.
714 (epg-dn-from-string): New function.
715 (epg-decode-dn): New function.
717 2006-04-21 Daiki Ueno <ueno@unixuser.org>
719 * epa.el (epa-sign-keys): New command.
721 * epg.el (epg-start-sign-keys): New function.
722 (epg-sign-keys): New function.
723 (epg-status-GET_HIDDEN): Enable local quit.
724 (epg-status-GET_BOOL): Ditto.
725 (epg-status-GET_LINE): Ditto.
727 2006-04-20 Daiki Ueno <ueno@unixuser.org>
729 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
732 2006-04-20 Daiki Ueno <ueno@unixuser.org>
734 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
735 (pgg-epg-passphrase-callback): New function.
737 * epa.el (epa-select-keys): Added "Cancel" button.
739 2006-04-20 Daiki Ueno <ueno@unixuser.org>
741 * epg.el (epg-signature-to-string): New function.
743 2006-04-20 Daiki Ueno <ueno@unixuser.org>
745 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
747 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
750 * epa.el (epa-select-keys): Added MODE argument.
751 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
753 * epg.el (epg-status-SIG_CREATED): New function.
754 (epg-start-sign): epg-context-signers is now a list of key objects.
755 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
757 2006-04-19 Daiki Ueno <ueno@unixuser.org>
759 * epa.el (epa-verify-file): Show results in minibuffer.
760 * epg.el (epg-debug-buffer): New variable.
761 (epg-flush): New function.
763 2006-04-18 Daiki Ueno <ueno@unixuser.org>
765 * epa.el (epa-export-keys): New command.
766 * epg.el (epg-start-export-keys): Accept a list of epg-key object
769 2006-04-18 Daiki Ueno <ueno@unixuser.org>
771 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
772 (epa-import-key): New command.
774 * epg.el (epg-delete-problem-alist): New constant.
775 (epg-status-DELETE_PROBLEM): New function.
776 (epg-start-delete-key): New function.
777 (epg-delete-key): New function.
778 (epg-wait-for-completion): Add the NO-EOF argument.
780 2006-04-18 Daiki Ueno <ueno@unixuser.org>
782 * epg.el (epg-start): Insert the command-line arguments to the
784 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
785 (epg-start-delete-key): New function.
786 (epg-delete-key): New function.
788 * epa.el (epa-key): New widget.
789 (epa-key-widget-action): New function.
790 (epa-key-widget-value-create): New function.
791 (epa-key-widget-button-face-get): New function.
792 (epa-key-widget-help-echo): New function.
794 2006-04-17 Daiki Ueno <ueno@unixuser.org>
796 * epa-file.el (epa-file-write-region): Check if START is a string.
798 2006-04-17 Daiki Ueno <ueno@unixuser.org>
800 * epa-file.el: Rewritten with file-name-handler.
801 (epa-file-handler): New variable.
802 (epa-file-enable): New command.
803 (epa-file-disable): New command.
805 * epa-setup.el: Call epa-file-enable.
807 2006-04-17 Daiki Ueno <ueno@unixuser.org>
809 * epa-file.el (epa-passphrase): New variable.
810 (epa-file-passphrase-callback-function): New function.
811 (epa-find-file): Reset buffer-undo-list; set
812 buffer-file-coding-system to last-coding-system-used after
815 2006-04-17 Daiki Ueno <ueno@unixuser.org>
817 * epa-file.el (epa-write-file): Try to write region to "/" to get
818 last-coding-system-used to be set.
820 2006-04-17 Daiki Ueno <ueno@unixuser.org>
822 * epa-file.el: New implementation of epf.el.
826 2006-04-17 Daiki Ueno <ueno@unixuser.org>
828 * epa.el (epa-verify-file): Display verify result.
830 * epg.el (epg-invalid-recipients-alist): New variable.
831 (epg-status-INV_RECP): New function.
832 (epg-status-NO_RECP): New function.
834 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
835 epa-verify-file, epa-sign-file, and epa-encrypt-file.
836 (epa-decrypt-file): New function imported from epa-dired.el.
837 (epa-verify-file): New function imported from epa-dired.el.
838 (epa-sign-file): New function imported from epa-dired.el.
839 (epa-encrypt-file): New function imported from epa-dired.el.
841 2006-04-16 Daiki Ueno <ueno@unixuser.org>
843 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
845 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
847 2006-04-16 Daiki Ueno <ueno@unixuser.org>
849 * epa-setup.el: New file.
850 * epa-dired.el: New file.
852 * epg.el (epg-colons-pub-spec): Abolished.
853 (epg-colons-sec-spec): Abolished.
854 (epg-colons-uid-spec): Abolished.
855 (epg-colons-fpr-spec): Abolished.
856 (epg-key-validity-alist): New variable.
857 (epg-key-capablity-alist): New variable.
858 (epg-make-key): New object epg-key.
859 (epg-make-sub-key): New object epg-sub-key.
860 (epg-make-user-id): New object epg-user-id.
861 (epg-list-keys-1): Renamed from epg-list-keys.
862 (epg-list-keys): Rewritten.
864 2006-04-15 Daiki Ueno <ueno@unixuser.org>
866 * epg.el (epg-list-keys): Make the NAME argument optional.
868 2006-04-13 Daiki Ueno <ueno@unixuser.org>
870 * epa.el: Added header.
872 * epg.el (epg-list-keys): Specify --with-fingerprint.
873 (epg-colons-fpr-spec): New variable.
874 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
876 (epg-colons-sec-spec): Ditto.
877 (epg-colons-uid-spec): Renamed trust -> validity.
879 2006-04-13 Daiki Ueno <ueno@unixuser.org>
883 * epg.el (epg-cipher-algorithm-alist): New constant.
884 (epg-pubkey-algorithm-alist): New constant.
885 (epg-digest-algorithm-alist): New constant.
886 (epg-compress-algorithm-alist): New constant.
887 (epg-configuration): New function.
888 (epg-start): Don't specify --yes.
890 2006-04-13 Daiki Ueno <ueno@unixuser.org>
892 * epg.el (epg-make-data-from-file): New function.
893 (epg-make-data-from-string): New function.
894 (epg-data-file): New function.
895 (epg-data-string): New function.
896 (epg-start-decrypt): Get a cipher text from a data object.
897 (epg-delete-output-file): New function.
898 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
900 (epg-start-verify): Get a signature and signed-text from a data
902 (epg-verify-file): Added the 3rd argument PLAIN to specify where
903 the output goes; return the plain text if PLAIN is nil.
904 (epg-verify-string): Return the plain text.
905 (epg-start-sign): Get a plain text from a data object.
906 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
908 (epg-start-encrypt): Get a plain text from a data object.
909 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
911 (epg-start-import-keys): Get keys from a data object.
912 (epg-import-keys-1): New function.
913 (epg-import-keys-from-file): Use it.
914 (epg-import-keys-from-string): Use it.
916 2006-04-12 Daiki Ueno <ueno@unixuser.org>
918 * epf.el: Renamed from epg-file.el.
920 2006-04-12 Daiki Ueno <ueno@unixuser.org>
922 * epg.el (epg-status-GET_BOOL): New function.
923 (epg-status-GET_LINE): New function.
924 (epg-prompt-alist): New variable, to be filled.
926 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
927 * epg.el (epg-signature-fingerprint): New function.
928 (epg-signature-set-fingerprint): New function.
929 (epg-status-VALIDSIG): New function.
931 * epg.el (epg-reset): Don't reset result.
932 (epg-start-decrypt): Reset result before epg-start.
933 (epg-start-verify): Ditto.
934 (epg-start-sign): Ditto.
935 (epg-start-encrypt): Ditto.
936 (epg-start-export-keys): Ditto.
937 (epg-start-import-keys): Ditto.
939 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
940 * pgg-epg.el: New file.
942 * epg.el (epg-start-export-keys): New function.
943 (epg-export-keys): New function.
944 (epg-start-import-keys): New function.
945 (epg-import-keys): New function.
946 (epg-verify-file): New function.
948 * epg-file.el (epg-file-write-region): Support public key encryption.
950 * epg.el (epg-passphrase-callback-function): Always display key-id.