1 2006-12-31 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-mail-modes): New user option.
4 (epa--mail-mode-p): New function.
7 (epa--find-coding-system-for-mime-charset): New function.
8 (epa-decrypt-armor-in-region): Use it.
9 (epa-progress-callback-function): Use handback as the prompt.
10 (epa-encrypt-region): Take 4th argument SIGN.
13 2006-12-31 Daiki Ueno <ueno@unixuser.org>
15 * epa.el (epa--derived-mode-p): New alias.
17 (epa-encrypt): Use it.
19 2006-12-31 Daiki Ueno <ueno@unixuser.org>
21 * epa.el (epa--read-signature-type): New function.
22 (epa-decrypt): New command.
23 (epa-verify): New command.
24 (epa-sign): New command.
25 (epa-encrypt): New command.
26 (epa-import-armor-in-region): New command.
27 (epa-import): New command.
28 (epa-decrypt-region): Confirm user to replace the region.
29 (epa-display-info): Delete "*Info*" window.
31 2006-12-29 Daiki Ueno <ueno@unixuser.org>
33 * EasyPG: Version 0.0.9 released.
34 * epg-config.el (epg-version-number): Bump up.
35 * configure.ac: Bump up version.
37 2006-12-28 Daiki Ueno <ueno@unixuser.org>
39 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
40 is given; ask signature type only when a prefix arg is given.
41 (epa-sign-region): Ditto.
43 2006-12-26 Daiki Ueno <ueno@unixuser.org>
45 * epg-config.el (epg-passphrase-coding-system): Default to nil.
47 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
49 * epa.el (epa--format-fingerprint-1): New function.
50 (epa--format-fingerprint): Ditto.
51 (epa--show-key): Use it.
53 2006-12-20 Daiki Ueno <ueno@unixuser.org>
55 * epa-file.el (epa-file-write-region): Don't attempt to write the
56 region to "/" to determine safe coding-system.
58 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
59 (epa-sign-file): Save the output to *.p7s or *.p7m file if
61 (epa-encrypt-file): Ditto.
62 (epa-last-coding-system-specified): New variable.
63 (epa-decrypt-region): Try to decode with the
64 epa-coding-system-used text property.
65 (epa--select-safe-coding-system): New function.
66 (epa-verify-region): Try to decode with the epa-coding-system-used
68 (epa-sign-region): Query user to select coding-system to encode;
69 set the epa-coding-system-used text property on the result.
70 (epa-encrypt-region): Ditto.
72 2006-12-19 Daiki Ueno <ueno@unixuser.org>
74 * epg.el (epg-export-keys-to-file): Fixed a typo.
76 * epa.el (epa-protocol): New user option.
77 (epa-sign-region): --armor & --textmode.
78 (epa-encrypt-region): Ditto.
79 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
81 (epa-import-keys-region): New command.
82 (epa-insert-keys): New command.
83 (epa--insert-keys): Renamed from epa-insert-keys.
85 2006-12-11 Daiki Ueno <ueno@unixuser.org>
87 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
88 decode-coding-string if it is not bound.
90 * epa-file.el (epa-file--encode-coding-string): New alias.
91 (epa-file--decode-coding-string): New alias.
92 (epa-file-write-region): Use epa-file--encode-coding-string.
93 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
95 * epa.el (epa--encode-coding-string): New alias.
96 (epa--decode-coding-string): New alias.
97 (epa-verify-region): Use epa--encode-coding-string.
98 (epa-sign-region): Ditto; use epa--decode-coding-string.
99 (epa-encrypt-region): Use epa--encode-coding-string.
101 * epg.el (epg--encode-coding-string): New alias.
102 (epg--status-GET_HIDDEN): Use it.
104 2006-11-29 Daiki Ueno <ueno@unixuser.org>
106 * EasyPG: Version 0.0.8 released.
107 * epg-config.el (epg-version-number): Bump up.
108 * configure.ac: Bump up version.
110 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
112 * epa-file.el (epa-file-encrypt-to): New file local variable.
113 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
115 2006-11-26 Daiki Ueno <ueno@unixuser.org>
117 * epa.el (epa-sign-file): Query signature type at a time.
118 (epa-decrypt-file): Display output file name on completion.
119 (epa-sign-file): Ditto.
120 (epa-encrypt-file): Ditto.
122 2006-11-25 Daiki Ueno <ueno@unixuser.org>
124 * epa.el (epa-keys-mode): Don't call widget-setup.
125 (epa-list-keys): Call widget-setup here.
126 (epa-select-keys): Ditto.
128 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
130 * epg.el (epg-delete-keys): Remove redundant argument for `error'
131 and fix a close parenthesis.
133 2006-11-24 Daiki Ueno <ueno@unixuser.org>
135 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
136 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
137 cf. <emacs-mime-ja:02090>
139 2006-11-23 Daiki Ueno <ueno@unixuser.org>
141 * epa.el (epa-sign-region): Query signature type at a time.
143 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
145 * epg.el (epg-context-set-passphrase-callback): Add optional
147 (epg-context-set-progress-callback): Ditto.
149 2006-11-14 Daiki Ueno <ueno@unixuser.org>
151 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
152 (epa--show-key): Ditto.
153 Reported by Werner Koch <wk@gnupg.org>.
155 * epg.el (epg--start): Don't specify --enable-progress-filter for
157 (epg--status-PROGRESS): Check if progress-callback is set.
159 2006-11-12 Daiki Ueno <ueno@unixuser.org>
161 * epg.el (epg-error): New error.
162 (epg--check-error-for-decrypt): New function.
163 (epg-decrypt-file): Use it.
164 (epg-decrypt-string): Use it.
165 (epg--start): Added a very basic test to check whether to specify
168 * epa.el (epa-decrypt-file): Expand file name.
169 (epa-verify-file): Ditto.
170 (epa-import-keys): Ditto.
172 2006-11-12 Daiki Ueno <ueno@unixuser.org>
174 * epg.el (epg-delete-keys): Decode delete-problem.
176 * epa.el (epa-popup-info-window): Turn on by default.
177 (epa-display-info): Split selected window instead of pop-to-buffer.
179 2006-11-12 Daiki Ueno <ueno@unixuser.org>
181 * epa.el (epa-display-info): Generalized; renamed from
182 epa-display-verify-result.
183 (epa-decrypt-file): Use it.
184 (epa-verify-file): Use it.
185 (epa-decrypt-region): Use it.
186 (epa-verify-region): Use it.
187 (epa-import-keys): Show import result.
188 (epa-display-verify-result): Make it obsolete.
190 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
192 (epg-sign-keys): Make it obsolete.
193 (epg-make-import-status): New object epg-import-status.
194 (epg-make-import-result): New object epg-import-result.
195 (epg--status-IMPORT_RES): New function.
196 (epg-import-result-to-string): New function.
198 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
199 (epa-sign-keys): Make it obsolete.
201 2006-11-11 Daiki Ueno <ueno@unixuser.org>
203 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
204 mode is set for a cleartext signature.
205 (epg-make-context): New slot "sig-notations".
206 (epg--args-from-sig-notations): New function.
207 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
209 (epg-start-encrypt): Ditto.
210 (epg-make-signature): New slot "notations".
211 (epg--status-NOTATION_NAME): New function.
212 (epg--status-NOTATION_DATA): New function.
213 (epg--status-POLICY_URL): New function.
215 2006-10-29 Daiki Ueno <ueno@unixuser.org>
217 * EasyPG: Version 0.0.7 released.
218 * epg-config.el (epg-version-number): Bump up.
219 * configure.ac: Bump up version.
221 2006-10-29 Daiki Ueno <ueno@unixuser.org>
224 (epa-file-cache-passphrase-for-symmetric-encryption): New user
227 2006-10-12 Daiki Ueno <ueno@unixuser.org>
229 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
230 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
232 2006-09-29 Daiki Ueno <ueno@unixuser.org>
234 * EasyPG: Version 0.0.6 released.
235 * epg.el (epg-version-number): Bump up.
236 * configure.ac: Bump up version.
238 2006-09-29 Daiki Ueno <ueno@unixuser.org>
240 * epa.el (epa-verify-cleartext-in-region): Renamed from
241 epa-verify-armor-in-region.
243 * epg.el (epg-passphrase-callback-function): Suggest to use
244 epa-passphrase-callback-function instead.
245 (epg-start-verify): Don't specify --verify if SIGNATURE is a
246 normal or a clear text signature.
247 (epg-verify-file): Mention that the plaintext will be stored into
248 the file PLAIN after successful verification.
249 (epg-verify-string): Mention that the plaintext will be returned
250 after successful verification.
252 2006-09-27 Daiki Ueno <ueno@unixuser.org>
254 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
255 (epa-file-write-region): Ditto.
257 * epa.el (epa-decrypt-file): Set callbacks.
258 (epa-sign-file): Ditto.
259 (epa-encrypt-file): Ditto.
260 (epa-decrypt-region): Ditto.
261 (epa-sign-region): Ditto.
262 (epa-encrypt-region): Ditto.
263 (epa-sign-keys): Ditto.
265 * epg.el (epg-progress-callback-function): Removed.
267 2006-09-24 Daiki Ueno <ueno@unixuser.org>
269 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
270 (epa-progress-callback-function): Ditto.
271 * epg.el (epg-passphrase-callback-function): Made it obsolete.
272 (epg-progress-callback-function): Ditto.
274 2006-09-23 Daiki Ueno <ueno@unixuser.org>
276 * epg.el (epg-start-decrypt): Append "--" to the end of options.
277 (epg-start-verify): Ditto.
278 (epg-start-sign): Ditto.
279 (epg-start-encrypt): Ditto.
280 (epg-start-import-keys): Ditto.
281 (epg-start-generate-key): Ditto.
283 2006-09-23 Daiki Ueno <ueno@unixuser.org>
285 * epg.el (epg-make-context): Don't set progress-callback by
287 (epg--start): Don't specify --enable-progress-filter if
288 progress-callback is not set.
289 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
292 2006-09-15 Daiki Ueno <ueno@unixuser.org>
294 * epg.el (epg-progress-callback-function): Show the percentage.
296 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
298 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
300 2006-09-13 Daiki Ueno <ueno@unixuser.org>
302 * epg-config.el (epg-passphrase-coding-system): Renamed from
303 epg-locale-coding-system.
305 2006-09-11 Daiki Ueno <ueno@unixuser.org>
307 * epa-file.el (epa-file-decode-and-insert): New function which
308 utilizes decode-coding-inserted-region if available.
309 (epa-file-insert-file-contents): Use it.
311 * epg.el (epg--start): Specify --enable-progress-filter in
313 (epg-progress-callback-function): Remove a couple of %%'s.
315 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
317 * epg-config.el (epg-configuration): Fixed the last change;
318 collect configuration other than group and algorithm.
320 2006-09-05 Daiki Ueno <ueno@unixuser.org>
322 * epg-config.el (epg-debug): Moved from epg.el.
323 (epg-configuration): Parse group configuration.
324 (epg-expand-group): New function.
326 2006-09-04 Daiki Ueno <ueno@unixuser.org>
328 * EasyPG: Version 0.0.5 released.
329 * epg.el (epg-version-number): Bump up.
330 * configure.ac: Bump up version.
332 2006-09-04 Daiki Ueno <ueno@unixuser.org>
334 * epg-config.el (epg-locale-coding-system): New user option.
336 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
337 (epg--clear-string): New function.
338 (epg--status-GET_HIDDEN): Encode passphrase with
339 terminal-coding-system.
341 * epg-config.el (epg-gpg-minimum-version): New constant.
342 (epg-config--parse-version): New function.
343 (epg-config--compare-version): New function.
344 (epg-configuration): Respect epg-gpg-home-directory.
346 2006-09-03 Daiki Ueno <ueno@unixuser.org>
348 * epg-config.el: New file; moved GnuPG configuration check from
351 2006-09-02 Daiki Ueno <ueno@unixuser.org>
353 * epg.el (epg-check-configuration): New function.
354 (epg-gpg-home-directory): New user option.
356 * pgg-epg.el (pgg-epg-lookup-key): New function.
358 2006-07-29 Daiki Ueno <ueno@unixuser.org>
360 * EasyPG: Version 0.0.4 released.
361 * epg.el (epg-version-number): Bump up.
362 * configure.ac: Bump up version.
364 2006-07-29 Daiki Ueno <ueno@unixuser.org>
366 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
368 2006-07-28 Daiki Ueno <ueno@unixuser.org>
370 * epg.el (epg-start-encrypt): Extract primary key ID from
372 Thanks to Steve Youngs <steve@sxemacs.org>
374 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
375 give CONTEXT to epg-list-keys.
376 Thanks to Steve Youngs <steve@sxemacs.org>
378 2006-07-18 Daiki Ueno <ueno@unixuser.org>
380 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
381 epg-process-filter-running instead of epg-pgp50i-status; Don't
382 save-excursion during handler execution.
383 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
384 don't allow process input.
385 (epg-pgp50i--parse-time): New function.
386 (epg-pgp50i--status-BAD_SIGNATURE): New function.
388 * epg.el (epg--process-filter): Don't save-excursion during
391 2006-07-18 Daiki Ueno <ueno@unixuser.org>
393 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
395 * epg.el (epg-process-filter-running): New variable.
396 (epg--start): Setup epg-process-filter-running.
397 (epg--process-filter): Allow only one status handler to run at a
398 time; update epg-read-point everytime the point changes.
400 2006-07-14 Daiki Ueno <ueno@unixuser.org>
402 * epg-pgp50i.el: New file.
404 2006-07-13 Daiki Ueno <ueno@unixuser.org>
406 * acinclude.m4 (AC_PATH_GPG): New macro.
407 * configure.ac: Check gpg version.
408 Suggested by Max Froumentin <max@lapin-bleu.net>
410 2006-07-10 Daiki Ueno <ueno@unixuser.org>
412 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
413 (epg-signature-to-string): Remove a trailing whitespace.
415 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
416 (epa-toggle-mark): New command.
418 2006-07-04 Daiki Ueno <ueno@unixuser.org>
420 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
421 with pgg-default-user-id.
422 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
424 2006-07-01 Daiki Ueno <ueno@unixuser.org>
426 * epa.el (epa-select-keys): If SECRET is specified, select a
427 primary secret key by default.
429 2006-06-29 Daiki Ueno <ueno@unixuser.org>
431 * EasyPG: Version 0.0.3 released.
432 * epg.el (epg-version-number): Bump up.
433 * configure.ac: Bump up version.
435 2006-06-12 Daiki Ueno <ueno@unixuser.org>
437 * epa-file.el (epa-file-insert-file-contents): Don't move the
438 point to the end of the inserted region.
439 Reported by doug <douglas.bagley@gmail.com>
441 2006-06-01 Daiki Ueno <ueno@unixuser.org>
443 * epa-file.el (epa-file-insert-file-contents): Support partial read.
445 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
447 * epa-file.el (epa-file-write-region): Encode the plain text with
448 coding-system-for-write.
450 2006-05-30 Daiki Ueno <ueno@unixuser.org>
452 * epa-file.el (epa-file-insert-file-contents):
453 Decode the decrypted text with coding-system-for-read.
455 2006-05-29 Daiki Ueno <ueno@unixuser.org>
457 * EasyPG: Version 0.0.2 released.
458 * epg.el (epg-version-number): Bump up.
459 * configure.ac: Bump up version.
461 2006-05-29 Daiki Ueno <ueno@unixuser.org>
463 * epg.el (epg--time-from-seconds): New function.
464 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
465 (epg--status-VALIDSIG): Ditto.
466 (epg--status-KEYEXPIRED): Ditto.
468 2006-05-28 Daiki Ueno <ueno@unixuser.org>
470 * epg.el (epg-start-import-keys): Don't specify filename if keys
473 2006-05-27 Daiki Ueno <ueno@unixuser.org>
475 * epg.el (epg--process-filter): Pass epg-context instead of
476 process to status handlers.
477 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
478 matches with the given key-id.
480 2006-05-26 Daiki Ueno <ueno@unixuser.org>
482 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
483 status from 'error to 'no-pubkey.
484 (epg--status-ERRSIG): Just add 'error signature to the verify result.
486 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
487 disable inhibit-quit here; make text-properties nonsticky.
488 (epa-popup-info-window): New user option.
489 (epa-info-window-height): New user option.
490 (epa-display-verify-result): New function.
491 (epa-decrypt-file): Use it.
492 (epa-verify-file): Use it.
493 (epa-decrypt-region): Use it.
494 (epa-verify-region): Use it.
496 * epg.el (epg-make-context): New slot "operation".
497 (epg-passphrase-callback-function): Confirm passphrase when
498 performing symmetric encryption.
500 2006-05-25 Daiki Ueno <ueno@unixuser.org>
502 * epa.el (epa-decrypt-file): Display verify result if the message
504 (epa-decrypt-region): New command.
505 (epa-verify-region): New command.
506 (epa-decrypt-armor-in-region): New command.
507 (epa-verify-armor-in-region): New command.
508 (epa-sign-region): New command.
509 (epa-encrypt-region): New command.
511 2006-05-11 Daiki Ueno <ueno@unixuser.org>
513 * epa.el (epa-armor): New user option.
514 (epa-textmode): New user option.
516 2006-05-02 Daiki Ueno <ueno@unixuser.org>
518 * epg.el (epg-make-key-signature): New object epg-key-signature.
519 (epg-list-keys): Collect key signatures.
520 (epg-make-sub-key): Renamed secret -> secret-p.
521 (epg-list-keys-postprocess-one-key): Abolished.
522 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
523 signatures by itself.
524 (epg-no-data-reason-alist): New constant.
525 (epg-unexpected-reason-alist): New constant.
527 2006-05-01 Daiki Ueno <ueno@unixuser.org>
529 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
530 (epg-delete-problem-reason-alist): Renamed.
531 (epg-import-ok-reason-alist): New constant.
532 (epg-import-problem-reason-alist): New constant.
533 (epg-status-IMPORTED): New function.
534 (epg-status-IMPORT_OK): New function.
535 (epg-status-IMPORT_PROBLEM): New function.
536 (epg-start-import-keys): Don't use a temporary output file.
537 (epg-start-receive-keys): New function.
538 (epg-import-keys-from-server): New function.
539 (epg-receive-keys): Alias to epg-import-keys-from-server.
541 2006-05-01 Daiki Ueno <ueno@unixuser.org>
543 * epg.el (epg-start): Signal an error if the process of CONTEXT is
544 already running for other operations.
545 (epg-flush): Abolished.
546 (epg-start-generate-key): New function.
547 (epg-generate-key-from-file): New function.
548 (epg-generate-key-from-string): New function.
549 (epg-status-KEY_CREATED): New function.
550 (epg-status-KEY_NOT_CREATED): New function.
551 (epg-new-signature-type-alist): New variable.
552 (epg-make-new-signature): New object epg-new-signature.
553 (epg-status-SIG_CREATED): Set epg-new-signature object.
554 (epg-new-signature-to-string): New function.
555 (epg-make-signature): Added slots for signature class and version.
556 (epg-start-sign): Fixed rule of the MODE argument.
558 2006-04-30 Daiki Ueno <ueno@unixuser.org>
560 * epa.el (epa-delete-keys): Support deletion of secret keys.
562 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
565 * epg.el (epg-read-output): Don't convert line endings of the
567 (epg-cancel): Set 'error result.
569 2006-04-29 Daiki Ueno <ueno@unixuser.org>
571 * epg.el (epg-make-signature): Removed user-id; added
572 creation-time, expiration-time, pubkey-algorithm,
574 (epg-process-sentinel): Abolished.
575 (epg-signature-to-string): Decode DN.
576 (epg-list-keys): Cache user-id in epg-user-id-alist.
577 (epg-make-user-id): Renamed name -> string.
579 2006-04-29 Daiki Ueno <ueno@unixuser.org>
581 * epg.el (epg-status-ERRSIG): New function.
582 (epg-verify-file): Signal an error if we encounter ERRSIG status.
583 (epg-verify-string): Ditto.
585 2006-04-28 Daiki Ueno <ueno@unixuser.org>
587 * epg.el: Added typecheck to accessors to objects.
589 2006-04-26 Daiki Ueno <ueno@unixuser.org>
591 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
592 argument of passphrase-callback.
593 (epg-status-PROGRESS): Ditto.
595 2006-04-26 Daiki Ueno <ueno@unixuser.org>
597 * epa.el (epa-select-keys): Don't set inhibit-quit when
598 recursive-edit is called.
599 (epg-cancel): New function.
601 2006-04-25 Daiki Ueno <ueno@unixuser.org>
603 * epg.el (epg-process-sentinel): New function; set 'error if gpg
604 process exited abnormally, but we have not received an error
606 (epg-sign-file): Signal an error only when a signature is not
608 (epg-sign-string): Ditto.
609 (epg-encrypt-file): Signal an error if SIGN is specified and
610 signature is not created.
611 (epg-encrypt-string): Ditto.
613 2006-04-22 Daiki Ueno <ueno@unixuser.org>
615 * epa.el (epa-key-widget-value-create): Decode DN.
616 (epa-list-keys): Add the PROTOCOL argument.
617 (epa-select-keys): Require CONTEXT as the first argument.
619 * epg.el (epg-gpgsm-program): New user option.
620 (epg-dn-type-alist): New variable.
621 (epg-start): Don't specify --command-fd if protocol is CMS.
622 (epg-list-keys): Require CONTEXT as the first argument.
623 (epg-dn-from-string): New function.
624 (epg-decode-dn): New function.
626 2006-04-21 Daiki Ueno <ueno@unixuser.org>
628 * epa.el (epa-sign-keys): New command.
630 * epg.el (epg-start-sign-keys): New function.
631 (epg-sign-keys): New function.
632 (epg-status-GET_HIDDEN): Enable local quit.
633 (epg-status-GET_BOOL): Ditto.
634 (epg-status-GET_LINE): Ditto.
636 2006-04-20 Daiki Ueno <ueno@unixuser.org>
638 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
641 2006-04-20 Daiki Ueno <ueno@unixuser.org>
643 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
644 (pgg-epg-passphrase-callback): New function.
646 * epa.el (epa-select-keys): Added "Cancel" button.
648 2006-04-20 Daiki Ueno <ueno@unixuser.org>
650 * epg.el (epg-signature-to-string): New function.
652 2006-04-20 Daiki Ueno <ueno@unixuser.org>
654 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
656 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
659 * epa.el (epa-select-keys): Added MODE argument.
660 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
662 * epg.el (epg-status-SIG_CREATED): New function.
663 (epg-start-sign): epg-context-signers is now a list of key objects.
664 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
666 2006-04-19 Daiki Ueno <ueno@unixuser.org>
668 * epa.el (epa-verify-file): Show results in minibuffer.
669 * epg.el (epg-debug-buffer): New variable.
670 (epg-flush): New function.
672 2006-04-18 Daiki Ueno <ueno@unixuser.org>
674 * epa.el (epa-export-keys): New command.
675 * epg.el (epg-start-export-keys): Accept a list of epg-key object
678 2006-04-18 Daiki Ueno <ueno@unixuser.org>
680 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
681 (epa-import-key): New command.
683 * epg.el (epg-delete-problem-alist): New constant.
684 (epg-status-DELETE_PROBLEM): New function.
685 (epg-start-delete-key): New function.
686 (epg-delete-key): New function.
687 (epg-wait-for-completion): Add the NO-EOF argument.
689 2006-04-18 Daiki Ueno <ueno@unixuser.org>
691 * epg.el (epg-start): Insert the command-line arguments to the
693 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
694 (epg-start-delete-key): New function.
695 (epg-delete-key): New function.
697 * epa.el (epa-key): New widget.
698 (epa-key-widget-action): New function.
699 (epa-key-widget-value-create): New function.
700 (epa-key-widget-button-face-get): New function.
701 (epa-key-widget-help-echo): New function.
703 2006-04-17 Daiki Ueno <ueno@unixuser.org>
705 * epa-file.el (epa-file-write-region): Check if START is a string.
707 2006-04-17 Daiki Ueno <ueno@unixuser.org>
709 * epa-file.el: Rewritten with file-name-handler.
710 (epa-file-handler): New variable.
711 (epa-file-enable): New command.
712 (epa-file-disable): New command.
714 * epa-setup.el: Call epa-file-enable.
716 2006-04-17 Daiki Ueno <ueno@unixuser.org>
718 * epa-file.el (epa-passphrase): New variable.
719 (epa-file-passphrase-callback-function): New function.
720 (epa-find-file): Reset buffer-undo-list; set
721 buffer-file-coding-system to last-coding-system-used after
724 2006-04-17 Daiki Ueno <ueno@unixuser.org>
726 * epa-file.el (epa-write-file): Try to write region to "/" to get
727 last-coding-system-used to be set.
729 2006-04-17 Daiki Ueno <ueno@unixuser.org>
731 * epa-file.el: New implementation of epf.el.
735 2006-04-17 Daiki Ueno <ueno@unixuser.org>
737 * epa.el (epa-verify-file): Display verify result.
739 * epg.el (epg-invalid-recipients-alist): New variable.
740 (epg-status-INV_RECP): New function.
741 (epg-status-NO_RECP): New function.
743 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
744 epa-verify-file, epa-sign-file, and epa-encrypt-file.
745 (epa-decrypt-file): New function imported from epa-dired.el.
746 (epa-verify-file): New function imported from epa-dired.el.
747 (epa-sign-file): New function imported from epa-dired.el.
748 (epa-encrypt-file): New function imported from epa-dired.el.
750 2006-04-16 Daiki Ueno <ueno@unixuser.org>
752 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
754 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
756 2006-04-16 Daiki Ueno <ueno@unixuser.org>
758 * epa-setup.el: New file.
759 * epa-dired.el: New file.
761 * epg.el (epg-colons-pub-spec): Abolished.
762 (epg-colons-sec-spec): Abolished.
763 (epg-colons-uid-spec): Abolished.
764 (epg-colons-fpr-spec): Abolished.
765 (epg-key-validity-alist): New variable.
766 (epg-key-capablity-alist): New variable.
767 (epg-make-key): New object epg-key.
768 (epg-make-sub-key): New object epg-sub-key.
769 (epg-make-user-id): New object epg-user-id.
770 (epg-list-keys-1): Renamed from epg-list-keys.
771 (epg-list-keys): Rewritten.
773 2006-04-15 Daiki Ueno <ueno@unixuser.org>
775 * epg.el (epg-list-keys): Make the NAME argument optional.
777 2006-04-13 Daiki Ueno <ueno@unixuser.org>
779 * epa.el: Added header.
781 * epg.el (epg-list-keys): Specify --with-fingerprint.
782 (epg-colons-fpr-spec): New variable.
783 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
785 (epg-colons-sec-spec): Ditto.
786 (epg-colons-uid-spec): Renamed trust -> validity.
788 2006-04-13 Daiki Ueno <ueno@unixuser.org>
792 * epg.el (epg-cipher-algorithm-alist): New constant.
793 (epg-pubkey-algorithm-alist): New constant.
794 (epg-digest-algorithm-alist): New constant.
795 (epg-compress-algorithm-alist): New constant.
796 (epg-configuration): New function.
797 (epg-start): Don't specify --yes.
799 2006-04-13 Daiki Ueno <ueno@unixuser.org>
801 * epg.el (epg-make-data-from-file): New function.
802 (epg-make-data-from-string): New function.
803 (epg-data-file): New function.
804 (epg-data-string): New function.
805 (epg-start-decrypt): Get a cipher text from a data object.
806 (epg-delete-output-file): New function.
807 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
809 (epg-start-verify): Get a signature and signed-text from a data
811 (epg-verify-file): Added the 3rd argument PLAIN to specify where
812 the output goes; return the plain text if PLAIN is nil.
813 (epg-verify-string): Return the plain text.
814 (epg-start-sign): Get a plain text from a data object.
815 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
817 (epg-start-encrypt): Get a plain text from a data object.
818 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
820 (epg-start-import-keys): Get keys from a data object.
821 (epg-import-keys-1): New function.
822 (epg-import-keys-from-file): Use it.
823 (epg-import-keys-from-string): Use it.
825 2006-04-12 Daiki Ueno <ueno@unixuser.org>
827 * epf.el: Renamed from epg-file.el.
829 2006-04-12 Daiki Ueno <ueno@unixuser.org>
831 * epg.el (epg-status-GET_BOOL): New function.
832 (epg-status-GET_LINE): New function.
833 (epg-prompt-alist): New variable, to be filled.
835 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
836 * epg.el (epg-signature-fingerprint): New function.
837 (epg-signature-set-fingerprint): New function.
838 (epg-status-VALIDSIG): New function.
840 * epg.el (epg-reset): Don't reset result.
841 (epg-start-decrypt): Reset result before epg-start.
842 (epg-start-verify): Ditto.
843 (epg-start-sign): Ditto.
844 (epg-start-encrypt): Ditto.
845 (epg-start-export-keys): Ditto.
846 (epg-start-import-keys): Ditto.
848 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
849 * pgg-epg.el: New file.
851 * epg.el (epg-start-export-keys): New function.
852 (epg-export-keys): New function.
853 (epg-start-import-keys): New function.
854 (epg-import-keys): New function.
855 (epg-verify-file): New function.
857 * epg-file.el (epg-file-write-region): Support public key encryption.
859 * epg.el (epg-passphrase-callback-function): Always display key-id.