1 2007-01-05 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
4 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
7 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
9 (epg--make-sub-key-1): Ditto.
11 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
12 recipient whose public key is not available.
13 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
14 recipient whose public key is not available.
16 2007-01-04 Daiki Ueno <ueno@unixuser.org>
18 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
19 (epa-verify-mail): Renamed from epa-verify.
20 (epa-sign-mail): Renamed from epa-sign.
21 (epa-encrypt-mail): Renamed from epa-encrypt.
22 (epa-import-mail): Renamed from epa-import.
24 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
26 * epg.el (epg-signature-to-string): Print creation-time and used
28 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
29 fallback to use a temp file as an input.
30 (epg-encrypt-string): Ditto.
32 2006-12-31 Daiki Ueno <ueno@unixuser.org>
34 * epa.el (epa-mail-modes): New user option.
35 (epa--mail-mode-p): New function.
37 (epa-encrypt): Use it.
38 (epa--find-coding-system-for-mime-charset): New function.
39 (epa-decrypt-armor-in-region): Use it.
40 (epa-progress-callback-function): Use handback as the prompt.
41 (epa-encrypt-region): Take 4th argument SIGN.
44 2006-12-31 Daiki Ueno <ueno@unixuser.org>
46 * epa.el (epa--derived-mode-p): New alias.
48 (epa-encrypt): Use it.
50 2006-12-31 Daiki Ueno <ueno@unixuser.org>
52 * epa.el (epa--read-signature-type): New function.
53 (epa-decrypt): New command.
54 (epa-verify): New command.
55 (epa-sign): New command.
56 (epa-encrypt): New command.
57 (epa-import-armor-in-region): New command.
58 (epa-import): New command.
59 (epa-decrypt-region): Confirm user to replace the region.
60 (epa-display-info): Delete "*Info*" window.
62 2006-12-29 Daiki Ueno <ueno@unixuser.org>
64 * EasyPG: Version 0.0.9 released.
65 * epg-config.el (epg-version-number): Bump up.
66 * configure.ac: Bump up version.
68 2006-12-28 Daiki Ueno <ueno@unixuser.org>
70 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
71 is given; ask signature type only when a prefix arg is given.
72 (epa-sign-region): Ditto.
74 2006-12-26 Daiki Ueno <ueno@unixuser.org>
76 * epg-config.el (epg-passphrase-coding-system): Default to nil.
78 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
80 * epa.el (epa--format-fingerprint-1): New function.
81 (epa--format-fingerprint): Ditto.
82 (epa--show-key): Use it.
84 2006-12-20 Daiki Ueno <ueno@unixuser.org>
86 * epa-file.el (epa-file-write-region): Don't attempt to write the
87 region to "/" to determine safe coding-system.
89 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
90 (epa-sign-file): Save the output to *.p7s or *.p7m file if
92 (epa-encrypt-file): Ditto.
93 (epa-last-coding-system-specified): New variable.
94 (epa-decrypt-region): Try to decode with the
95 epa-coding-system-used text property.
96 (epa--select-safe-coding-system): New function.
97 (epa-verify-region): Try to decode with the epa-coding-system-used
99 (epa-sign-region): Query user to select coding-system to encode;
100 set the epa-coding-system-used text property on the result.
101 (epa-encrypt-region): Ditto.
103 2006-12-19 Daiki Ueno <ueno@unixuser.org>
105 * epg.el (epg-export-keys-to-file): Fixed a typo.
107 * epa.el (epa-protocol): New user option.
108 (epa-sign-region): --armor & --textmode.
109 (epa-encrypt-region): Ditto.
110 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
112 (epa-import-keys-region): New command.
113 (epa-insert-keys): New command.
114 (epa--insert-keys): Renamed from epa-insert-keys.
116 2006-12-11 Daiki Ueno <ueno@unixuser.org>
118 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
119 decode-coding-string if it is not bound.
121 * epa-file.el (epa-file--encode-coding-string): New alias.
122 (epa-file--decode-coding-string): New alias.
123 (epa-file-write-region): Use epa-file--encode-coding-string.
124 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
126 * epa.el (epa--encode-coding-string): New alias.
127 (epa--decode-coding-string): New alias.
128 (epa-verify-region): Use epa--encode-coding-string.
129 (epa-sign-region): Ditto; use epa--decode-coding-string.
130 (epa-encrypt-region): Use epa--encode-coding-string.
132 * epg.el (epg--encode-coding-string): New alias.
133 (epg--status-GET_HIDDEN): Use it.
135 2006-11-29 Daiki Ueno <ueno@unixuser.org>
137 * EasyPG: Version 0.0.8 released.
138 * epg-config.el (epg-version-number): Bump up.
139 * configure.ac: Bump up version.
141 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
143 * epa-file.el (epa-file-encrypt-to): New file local variable.
144 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
146 2006-11-26 Daiki Ueno <ueno@unixuser.org>
148 * epa.el (epa-sign-file): Query signature type at a time.
149 (epa-decrypt-file): Display output file name on completion.
150 (epa-sign-file): Ditto.
151 (epa-encrypt-file): Ditto.
153 2006-11-25 Daiki Ueno <ueno@unixuser.org>
155 * epa.el (epa-keys-mode): Don't call widget-setup.
156 (epa-list-keys): Call widget-setup here.
157 (epa-select-keys): Ditto.
159 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * epg.el (epg-delete-keys): Remove redundant argument for `error'
162 and fix a close parenthesis.
164 2006-11-24 Daiki Ueno <ueno@unixuser.org>
166 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
167 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
168 cf. <emacs-mime-ja:02090>
170 2006-11-23 Daiki Ueno <ueno@unixuser.org>
172 * epa.el (epa-sign-region): Query signature type at a time.
174 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
176 * epg.el (epg-context-set-passphrase-callback): Add optional
178 (epg-context-set-progress-callback): Ditto.
180 2006-11-14 Daiki Ueno <ueno@unixuser.org>
182 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
183 (epa--show-key): Ditto.
184 Reported by Werner Koch <wk@gnupg.org>.
186 * epg.el (epg--start): Don't specify --enable-progress-filter for
188 (epg--status-PROGRESS): Check if progress-callback is set.
190 2006-11-12 Daiki Ueno <ueno@unixuser.org>
192 * epg.el (epg-error): New error.
193 (epg--check-error-for-decrypt): New function.
194 (epg-decrypt-file): Use it.
195 (epg-decrypt-string): Use it.
196 (epg--start): Added a very basic test to check whether to specify
199 * epa.el (epa-decrypt-file): Expand file name.
200 (epa-verify-file): Ditto.
201 (epa-import-keys): Ditto.
203 2006-11-12 Daiki Ueno <ueno@unixuser.org>
205 * epg.el (epg-delete-keys): Decode delete-problem.
207 * epa.el (epa-popup-info-window): Turn on by default.
208 (epa-display-info): Split selected window instead of pop-to-buffer.
210 2006-11-12 Daiki Ueno <ueno@unixuser.org>
212 * epa.el (epa-display-info): Generalized; renamed from
213 epa-display-verify-result.
214 (epa-decrypt-file): Use it.
215 (epa-verify-file): Use it.
216 (epa-decrypt-region): Use it.
217 (epa-verify-region): Use it.
218 (epa-import-keys): Show import result.
219 (epa-display-verify-result): Make it obsolete.
221 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
223 (epg-sign-keys): Make it obsolete.
224 (epg-make-import-status): New object epg-import-status.
225 (epg-make-import-result): New object epg-import-result.
226 (epg--status-IMPORT_RES): New function.
227 (epg-import-result-to-string): New function.
229 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
230 (epa-sign-keys): Make it obsolete.
232 2006-11-11 Daiki Ueno <ueno@unixuser.org>
234 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
235 mode is set for a cleartext signature.
236 (epg-make-context): New slot "sig-notations".
237 (epg--args-from-sig-notations): New function.
238 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
240 (epg-start-encrypt): Ditto.
241 (epg-make-signature): New slot "notations".
242 (epg--status-NOTATION_NAME): New function.
243 (epg--status-NOTATION_DATA): New function.
244 (epg--status-POLICY_URL): New function.
246 2006-10-29 Daiki Ueno <ueno@unixuser.org>
248 * EasyPG: Version 0.0.7 released.
249 * epg-config.el (epg-version-number): Bump up.
250 * configure.ac: Bump up version.
252 2006-10-29 Daiki Ueno <ueno@unixuser.org>
255 (epa-file-cache-passphrase-for-symmetric-encryption): New user
258 2006-10-12 Daiki Ueno <ueno@unixuser.org>
260 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
261 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
263 2006-09-29 Daiki Ueno <ueno@unixuser.org>
265 * EasyPG: Version 0.0.6 released.
266 * epg.el (epg-version-number): Bump up.
267 * configure.ac: Bump up version.
269 2006-09-29 Daiki Ueno <ueno@unixuser.org>
271 * epa.el (epa-verify-cleartext-in-region): Renamed from
272 epa-verify-armor-in-region.
274 * epg.el (epg-passphrase-callback-function): Suggest to use
275 epa-passphrase-callback-function instead.
276 (epg-start-verify): Don't specify --verify if SIGNATURE is a
277 normal or a clear text signature.
278 (epg-verify-file): Mention that the plaintext will be stored into
279 the file PLAIN after successful verification.
280 (epg-verify-string): Mention that the plaintext will be returned
281 after successful verification.
283 2006-09-27 Daiki Ueno <ueno@unixuser.org>
285 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
286 (epa-file-write-region): Ditto.
288 * epa.el (epa-decrypt-file): Set callbacks.
289 (epa-sign-file): Ditto.
290 (epa-encrypt-file): Ditto.
291 (epa-decrypt-region): Ditto.
292 (epa-sign-region): Ditto.
293 (epa-encrypt-region): Ditto.
294 (epa-sign-keys): Ditto.
296 * epg.el (epg-progress-callback-function): Removed.
298 2006-09-24 Daiki Ueno <ueno@unixuser.org>
300 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
301 (epa-progress-callback-function): Ditto.
302 * epg.el (epg-passphrase-callback-function): Made it obsolete.
303 (epg-progress-callback-function): Ditto.
305 2006-09-23 Daiki Ueno <ueno@unixuser.org>
307 * epg.el (epg-start-decrypt): Append "--" to the end of options.
308 (epg-start-verify): Ditto.
309 (epg-start-sign): Ditto.
310 (epg-start-encrypt): Ditto.
311 (epg-start-import-keys): Ditto.
312 (epg-start-generate-key): Ditto.
314 2006-09-23 Daiki Ueno <ueno@unixuser.org>
316 * epg.el (epg-make-context): Don't set progress-callback by
318 (epg--start): Don't specify --enable-progress-filter if
319 progress-callback is not set.
320 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
323 2006-09-15 Daiki Ueno <ueno@unixuser.org>
325 * epg.el (epg-progress-callback-function): Show the percentage.
327 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
329 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
331 2006-09-13 Daiki Ueno <ueno@unixuser.org>
333 * epg-config.el (epg-passphrase-coding-system): Renamed from
334 epg-locale-coding-system.
336 2006-09-11 Daiki Ueno <ueno@unixuser.org>
338 * epa-file.el (epa-file-decode-and-insert): New function which
339 utilizes decode-coding-inserted-region if available.
340 (epa-file-insert-file-contents): Use it.
342 * epg.el (epg--start): Specify --enable-progress-filter in
344 (epg-progress-callback-function): Remove a couple of %%'s.
346 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
348 * epg-config.el (epg-configuration): Fixed the last change;
349 collect configuration other than group and algorithm.
351 2006-09-05 Daiki Ueno <ueno@unixuser.org>
353 * epg-config.el (epg-debug): Moved from epg.el.
354 (epg-configuration): Parse group configuration.
355 (epg-expand-group): New function.
357 2006-09-04 Daiki Ueno <ueno@unixuser.org>
359 * EasyPG: Version 0.0.5 released.
360 * epg.el (epg-version-number): Bump up.
361 * configure.ac: Bump up version.
363 2006-09-04 Daiki Ueno <ueno@unixuser.org>
365 * epg-config.el (epg-locale-coding-system): New user option.
367 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
368 (epg--clear-string): New function.
369 (epg--status-GET_HIDDEN): Encode passphrase with
370 terminal-coding-system.
372 * epg-config.el (epg-gpg-minimum-version): New constant.
373 (epg-config--parse-version): New function.
374 (epg-config--compare-version): New function.
375 (epg-configuration): Respect epg-gpg-home-directory.
377 2006-09-03 Daiki Ueno <ueno@unixuser.org>
379 * epg-config.el: New file; moved GnuPG configuration check from
382 2006-09-02 Daiki Ueno <ueno@unixuser.org>
384 * epg.el (epg-check-configuration): New function.
385 (epg-gpg-home-directory): New user option.
387 * pgg-epg.el (pgg-epg-lookup-key): New function.
389 2006-07-29 Daiki Ueno <ueno@unixuser.org>
391 * EasyPG: Version 0.0.4 released.
392 * epg.el (epg-version-number): Bump up.
393 * configure.ac: Bump up version.
395 2006-07-29 Daiki Ueno <ueno@unixuser.org>
397 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
399 2006-07-28 Daiki Ueno <ueno@unixuser.org>
401 * epg.el (epg-start-encrypt): Extract primary key ID from
403 Thanks to Steve Youngs <steve@sxemacs.org>
405 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
406 give CONTEXT to epg-list-keys.
407 Thanks to Steve Youngs <steve@sxemacs.org>
409 2006-07-18 Daiki Ueno <ueno@unixuser.org>
411 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
412 epg-process-filter-running instead of epg-pgp50i-status; Don't
413 save-excursion during handler execution.
414 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
415 don't allow process input.
416 (epg-pgp50i--parse-time): New function.
417 (epg-pgp50i--status-BAD_SIGNATURE): New function.
419 * epg.el (epg--process-filter): Don't save-excursion during
422 2006-07-18 Daiki Ueno <ueno@unixuser.org>
424 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
426 * epg.el (epg-process-filter-running): New variable.
427 (epg--start): Setup epg-process-filter-running.
428 (epg--process-filter): Allow only one status handler to run at a
429 time; update epg-read-point everytime the point changes.
431 2006-07-14 Daiki Ueno <ueno@unixuser.org>
433 * epg-pgp50i.el: New file.
435 2006-07-13 Daiki Ueno <ueno@unixuser.org>
437 * acinclude.m4 (AC_PATH_GPG): New macro.
438 * configure.ac: Check gpg version.
439 Suggested by Max Froumentin <max@lapin-bleu.net>
441 2006-07-10 Daiki Ueno <ueno@unixuser.org>
443 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
444 (epg-signature-to-string): Remove a trailing whitespace.
446 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
447 (epa-toggle-mark): New command.
449 2006-07-04 Daiki Ueno <ueno@unixuser.org>
451 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
452 with pgg-default-user-id.
453 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
455 2006-07-01 Daiki Ueno <ueno@unixuser.org>
457 * epa.el (epa-select-keys): If SECRET is specified, select a
458 primary secret key by default.
460 2006-06-29 Daiki Ueno <ueno@unixuser.org>
462 * EasyPG: Version 0.0.3 released.
463 * epg.el (epg-version-number): Bump up.
464 * configure.ac: Bump up version.
466 2006-06-12 Daiki Ueno <ueno@unixuser.org>
468 * epa-file.el (epa-file-insert-file-contents): Don't move the
469 point to the end of the inserted region.
470 Reported by doug <douglas.bagley@gmail.com>
472 2006-06-01 Daiki Ueno <ueno@unixuser.org>
474 * epa-file.el (epa-file-insert-file-contents): Support partial read.
476 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
478 * epa-file.el (epa-file-write-region): Encode the plain text with
479 coding-system-for-write.
481 2006-05-30 Daiki Ueno <ueno@unixuser.org>
483 * epa-file.el (epa-file-insert-file-contents):
484 Decode the decrypted text with coding-system-for-read.
486 2006-05-29 Daiki Ueno <ueno@unixuser.org>
488 * EasyPG: Version 0.0.2 released.
489 * epg.el (epg-version-number): Bump up.
490 * configure.ac: Bump up version.
492 2006-05-29 Daiki Ueno <ueno@unixuser.org>
494 * epg.el (epg--time-from-seconds): New function.
495 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
496 (epg--status-VALIDSIG): Ditto.
497 (epg--status-KEYEXPIRED): Ditto.
499 2006-05-28 Daiki Ueno <ueno@unixuser.org>
501 * epg.el (epg-start-import-keys): Don't specify filename if keys
504 2006-05-27 Daiki Ueno <ueno@unixuser.org>
506 * epg.el (epg--process-filter): Pass epg-context instead of
507 process to status handlers.
508 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
509 matches with the given key-id.
511 2006-05-26 Daiki Ueno <ueno@unixuser.org>
513 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
514 status from 'error to 'no-pubkey.
515 (epg--status-ERRSIG): Just add 'error signature to the verify result.
517 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
518 disable inhibit-quit here; make text-properties nonsticky.
519 (epa-popup-info-window): New user option.
520 (epa-info-window-height): New user option.
521 (epa-display-verify-result): New function.
522 (epa-decrypt-file): Use it.
523 (epa-verify-file): Use it.
524 (epa-decrypt-region): Use it.
525 (epa-verify-region): Use it.
527 * epg.el (epg-make-context): New slot "operation".
528 (epg-passphrase-callback-function): Confirm passphrase when
529 performing symmetric encryption.
531 2006-05-25 Daiki Ueno <ueno@unixuser.org>
533 * epa.el (epa-decrypt-file): Display verify result if the message
535 (epa-decrypt-region): New command.
536 (epa-verify-region): New command.
537 (epa-decrypt-armor-in-region): New command.
538 (epa-verify-armor-in-region): New command.
539 (epa-sign-region): New command.
540 (epa-encrypt-region): New command.
542 2006-05-11 Daiki Ueno <ueno@unixuser.org>
544 * epa.el (epa-armor): New user option.
545 (epa-textmode): New user option.
547 2006-05-02 Daiki Ueno <ueno@unixuser.org>
549 * epg.el (epg-make-key-signature): New object epg-key-signature.
550 (epg-list-keys): Collect key signatures.
551 (epg-make-sub-key): Renamed secret -> secret-p.
552 (epg-list-keys-postprocess-one-key): Abolished.
553 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
554 signatures by itself.
555 (epg-no-data-reason-alist): New constant.
556 (epg-unexpected-reason-alist): New constant.
558 2006-05-01 Daiki Ueno <ueno@unixuser.org>
560 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
561 (epg-delete-problem-reason-alist): Renamed.
562 (epg-import-ok-reason-alist): New constant.
563 (epg-import-problem-reason-alist): New constant.
564 (epg-status-IMPORTED): New function.
565 (epg-status-IMPORT_OK): New function.
566 (epg-status-IMPORT_PROBLEM): New function.
567 (epg-start-import-keys): Don't use a temporary output file.
568 (epg-start-receive-keys): New function.
569 (epg-import-keys-from-server): New function.
570 (epg-receive-keys): Alias to epg-import-keys-from-server.
572 2006-05-01 Daiki Ueno <ueno@unixuser.org>
574 * epg.el (epg-start): Signal an error if the process of CONTEXT is
575 already running for other operations.
576 (epg-flush): Abolished.
577 (epg-start-generate-key): New function.
578 (epg-generate-key-from-file): New function.
579 (epg-generate-key-from-string): New function.
580 (epg-status-KEY_CREATED): New function.
581 (epg-status-KEY_NOT_CREATED): New function.
582 (epg-new-signature-type-alist): New variable.
583 (epg-make-new-signature): New object epg-new-signature.
584 (epg-status-SIG_CREATED): Set epg-new-signature object.
585 (epg-new-signature-to-string): New function.
586 (epg-make-signature): Added slots for signature class and version.
587 (epg-start-sign): Fixed rule of the MODE argument.
589 2006-04-30 Daiki Ueno <ueno@unixuser.org>
591 * epa.el (epa-delete-keys): Support deletion of secret keys.
593 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
596 * epg.el (epg-read-output): Don't convert line endings of the
598 (epg-cancel): Set 'error result.
600 2006-04-29 Daiki Ueno <ueno@unixuser.org>
602 * epg.el (epg-make-signature): Removed user-id; added
603 creation-time, expiration-time, pubkey-algorithm,
605 (epg-process-sentinel): Abolished.
606 (epg-signature-to-string): Decode DN.
607 (epg-list-keys): Cache user-id in epg-user-id-alist.
608 (epg-make-user-id): Renamed name -> string.
610 2006-04-29 Daiki Ueno <ueno@unixuser.org>
612 * epg.el (epg-status-ERRSIG): New function.
613 (epg-verify-file): Signal an error if we encounter ERRSIG status.
614 (epg-verify-string): Ditto.
616 2006-04-28 Daiki Ueno <ueno@unixuser.org>
618 * epg.el: Added typecheck to accessors to objects.
620 2006-04-26 Daiki Ueno <ueno@unixuser.org>
622 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
623 argument of passphrase-callback.
624 (epg-status-PROGRESS): Ditto.
626 2006-04-26 Daiki Ueno <ueno@unixuser.org>
628 * epa.el (epa-select-keys): Don't set inhibit-quit when
629 recursive-edit is called.
630 (epg-cancel): New function.
632 2006-04-25 Daiki Ueno <ueno@unixuser.org>
634 * epg.el (epg-process-sentinel): New function; set 'error if gpg
635 process exited abnormally, but we have not received an error
637 (epg-sign-file): Signal an error only when a signature is not
639 (epg-sign-string): Ditto.
640 (epg-encrypt-file): Signal an error if SIGN is specified and
641 signature is not created.
642 (epg-encrypt-string): Ditto.
644 2006-04-22 Daiki Ueno <ueno@unixuser.org>
646 * epa.el (epa-key-widget-value-create): Decode DN.
647 (epa-list-keys): Add the PROTOCOL argument.
648 (epa-select-keys): Require CONTEXT as the first argument.
650 * epg.el (epg-gpgsm-program): New user option.
651 (epg-dn-type-alist): New variable.
652 (epg-start): Don't specify --command-fd if protocol is CMS.
653 (epg-list-keys): Require CONTEXT as the first argument.
654 (epg-dn-from-string): New function.
655 (epg-decode-dn): New function.
657 2006-04-21 Daiki Ueno <ueno@unixuser.org>
659 * epa.el (epa-sign-keys): New command.
661 * epg.el (epg-start-sign-keys): New function.
662 (epg-sign-keys): New function.
663 (epg-status-GET_HIDDEN): Enable local quit.
664 (epg-status-GET_BOOL): Ditto.
665 (epg-status-GET_LINE): Ditto.
667 2006-04-20 Daiki Ueno <ueno@unixuser.org>
669 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
672 2006-04-20 Daiki Ueno <ueno@unixuser.org>
674 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
675 (pgg-epg-passphrase-callback): New function.
677 * epa.el (epa-select-keys): Added "Cancel" button.
679 2006-04-20 Daiki Ueno <ueno@unixuser.org>
681 * epg.el (epg-signature-to-string): New function.
683 2006-04-20 Daiki Ueno <ueno@unixuser.org>
685 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
687 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
690 * epa.el (epa-select-keys): Added MODE argument.
691 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
693 * epg.el (epg-status-SIG_CREATED): New function.
694 (epg-start-sign): epg-context-signers is now a list of key objects.
695 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
697 2006-04-19 Daiki Ueno <ueno@unixuser.org>
699 * epa.el (epa-verify-file): Show results in minibuffer.
700 * epg.el (epg-debug-buffer): New variable.
701 (epg-flush): New function.
703 2006-04-18 Daiki Ueno <ueno@unixuser.org>
705 * epa.el (epa-export-keys): New command.
706 * epg.el (epg-start-export-keys): Accept a list of epg-key object
709 2006-04-18 Daiki Ueno <ueno@unixuser.org>
711 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
712 (epa-import-key): New command.
714 * epg.el (epg-delete-problem-alist): New constant.
715 (epg-status-DELETE_PROBLEM): New function.
716 (epg-start-delete-key): New function.
717 (epg-delete-key): New function.
718 (epg-wait-for-completion): Add the NO-EOF argument.
720 2006-04-18 Daiki Ueno <ueno@unixuser.org>
722 * epg.el (epg-start): Insert the command-line arguments to the
724 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
725 (epg-start-delete-key): New function.
726 (epg-delete-key): New function.
728 * epa.el (epa-key): New widget.
729 (epa-key-widget-action): New function.
730 (epa-key-widget-value-create): New function.
731 (epa-key-widget-button-face-get): New function.
732 (epa-key-widget-help-echo): New function.
734 2006-04-17 Daiki Ueno <ueno@unixuser.org>
736 * epa-file.el (epa-file-write-region): Check if START is a string.
738 2006-04-17 Daiki Ueno <ueno@unixuser.org>
740 * epa-file.el: Rewritten with file-name-handler.
741 (epa-file-handler): New variable.
742 (epa-file-enable): New command.
743 (epa-file-disable): New command.
745 * epa-setup.el: Call epa-file-enable.
747 2006-04-17 Daiki Ueno <ueno@unixuser.org>
749 * epa-file.el (epa-passphrase): New variable.
750 (epa-file-passphrase-callback-function): New function.
751 (epa-find-file): Reset buffer-undo-list; set
752 buffer-file-coding-system to last-coding-system-used after
755 2006-04-17 Daiki Ueno <ueno@unixuser.org>
757 * epa-file.el (epa-write-file): Try to write region to "/" to get
758 last-coding-system-used to be set.
760 2006-04-17 Daiki Ueno <ueno@unixuser.org>
762 * epa-file.el: New implementation of epf.el.
766 2006-04-17 Daiki Ueno <ueno@unixuser.org>
768 * epa.el (epa-verify-file): Display verify result.
770 * epg.el (epg-invalid-recipients-alist): New variable.
771 (epg-status-INV_RECP): New function.
772 (epg-status-NO_RECP): New function.
774 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
775 epa-verify-file, epa-sign-file, and epa-encrypt-file.
776 (epa-decrypt-file): New function imported from epa-dired.el.
777 (epa-verify-file): New function imported from epa-dired.el.
778 (epa-sign-file): New function imported from epa-dired.el.
779 (epa-encrypt-file): New function imported from epa-dired.el.
781 2006-04-16 Daiki Ueno <ueno@unixuser.org>
783 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
785 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
787 2006-04-16 Daiki Ueno <ueno@unixuser.org>
789 * epa-setup.el: New file.
790 * epa-dired.el: New file.
792 * epg.el (epg-colons-pub-spec): Abolished.
793 (epg-colons-sec-spec): Abolished.
794 (epg-colons-uid-spec): Abolished.
795 (epg-colons-fpr-spec): Abolished.
796 (epg-key-validity-alist): New variable.
797 (epg-key-capablity-alist): New variable.
798 (epg-make-key): New object epg-key.
799 (epg-make-sub-key): New object epg-sub-key.
800 (epg-make-user-id): New object epg-user-id.
801 (epg-list-keys-1): Renamed from epg-list-keys.
802 (epg-list-keys): Rewritten.
804 2006-04-15 Daiki Ueno <ueno@unixuser.org>
806 * epg.el (epg-list-keys): Make the NAME argument optional.
808 2006-04-13 Daiki Ueno <ueno@unixuser.org>
810 * epa.el: Added header.
812 * epg.el (epg-list-keys): Specify --with-fingerprint.
813 (epg-colons-fpr-spec): New variable.
814 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
816 (epg-colons-sec-spec): Ditto.
817 (epg-colons-uid-spec): Renamed trust -> validity.
819 2006-04-13 Daiki Ueno <ueno@unixuser.org>
823 * epg.el (epg-cipher-algorithm-alist): New constant.
824 (epg-pubkey-algorithm-alist): New constant.
825 (epg-digest-algorithm-alist): New constant.
826 (epg-compress-algorithm-alist): New constant.
827 (epg-configuration): New function.
828 (epg-start): Don't specify --yes.
830 2006-04-13 Daiki Ueno <ueno@unixuser.org>
832 * epg.el (epg-make-data-from-file): New function.
833 (epg-make-data-from-string): New function.
834 (epg-data-file): New function.
835 (epg-data-string): New function.
836 (epg-start-decrypt): Get a cipher text from a data object.
837 (epg-delete-output-file): New function.
838 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
840 (epg-start-verify): Get a signature and signed-text from a data
842 (epg-verify-file): Added the 3rd argument PLAIN to specify where
843 the output goes; return the plain text if PLAIN is nil.
844 (epg-verify-string): Return the plain text.
845 (epg-start-sign): Get a plain text from a data object.
846 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
848 (epg-start-encrypt): Get a plain text from a data object.
849 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
851 (epg-start-import-keys): Get keys from a data object.
852 (epg-import-keys-1): New function.
853 (epg-import-keys-from-file): Use it.
854 (epg-import-keys-from-string): Use it.
856 2006-04-12 Daiki Ueno <ueno@unixuser.org>
858 * epf.el: Renamed from epg-file.el.
860 2006-04-12 Daiki Ueno <ueno@unixuser.org>
862 * epg.el (epg-status-GET_BOOL): New function.
863 (epg-status-GET_LINE): New function.
864 (epg-prompt-alist): New variable, to be filled.
866 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
867 * epg.el (epg-signature-fingerprint): New function.
868 (epg-signature-set-fingerprint): New function.
869 (epg-status-VALIDSIG): New function.
871 * epg.el (epg-reset): Don't reset result.
872 (epg-start-decrypt): Reset result before epg-start.
873 (epg-start-verify): Ditto.
874 (epg-start-sign): Ditto.
875 (epg-start-encrypt): Ditto.
876 (epg-start-export-keys): Ditto.
877 (epg-start-import-keys): Ditto.
879 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
880 * pgg-epg.el: New file.
882 * epg.el (epg-start-export-keys): New function.
883 (epg-export-keys): New function.
884 (epg-start-import-keys): New function.
885 (epg-import-keys): New function.
886 (epg-verify-file): New function.
888 * epg-file.el (epg-file-write-region): Support public key encryption.
890 * epg.el (epg-passphrase-callback-function): Always display key-id.