1 2006-12-19 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-export-keys-to-file): Fixed a typo.
5 * epa.el (epa-sign-region): --armor & --textmode.
6 (epa-encrypt-region): Ditto.
7 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
9 (epa-import-keys-region): New command.
10 (epa-insert-keys): New command.
11 (epa--insert-keys): Renamed from epa-insert-keys.
13 2006-12-11 Daiki Ueno <ueno@unixuser.org>
15 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
16 decode-coding-string if it is not bound.
18 * epa-file.el (epa-file--encode-coding-string): New alias.
19 (epa-file--decode-coding-string): New alias.
20 (epa-file-write-region): Use epa-file--encode-coding-string.
21 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
23 * epa.el (epa--encode-coding-string): New alias.
24 (epa--decode-coding-string): New alias.
25 (epa-verify-region): Use epa--encode-coding-string.
26 (epa-sign-region): Ditto; use epa--decode-coding-string.
27 (epa-encrypt-region): Use epa--encode-coding-string.
29 * epg.el (epg--encode-coding-string): New alias.
30 (epg--status-GET_HIDDEN): Use it.
32 2006-11-29 Daiki Ueno <ueno@unixuser.org>
34 * EasyPG: Version 0.0.8 released.
35 * epg-config.el (epg-version-number): Bump up.
36 * configure.ac: Bump up version.
38 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
40 * epa-file.el (epa-file-encrypt-to): New file local variable.
41 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
43 2006-11-26 Daiki Ueno <ueno@unixuser.org>
45 * epa.el (epa-sign-file): Query signature type at a time.
46 (epa-decrypt-file): Display output file name on completion.
47 (epa-sign-file): Ditto.
48 (epa-encrypt-file): Ditto.
50 2006-11-25 Daiki Ueno <ueno@unixuser.org>
52 * epa.el (epa-keys-mode): Don't call widget-setup.
53 (epa-list-keys): Call widget-setup here.
54 (epa-select-keys): Ditto.
56 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
58 * epg.el (epg-delete-keys): Remove redundant argument for `error'
59 and fix a close parenthesis.
61 2006-11-24 Daiki Ueno <ueno@unixuser.org>
63 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
64 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
65 cf. <emacs-mime-ja:02090>
67 2006-11-23 Daiki Ueno <ueno@unixuser.org>
69 * epa.el (epa-sign-region): Query signature type at a time.
71 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
73 * epg.el (epg-context-set-passphrase-callback): Add optional
75 (epg-context-set-progress-callback): Ditto.
77 2006-11-14 Daiki Ueno <ueno@unixuser.org>
79 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
80 (epa--show-key): Ditto.
81 Reported by Werner Koch <wk@gnupg.org>.
83 * epg.el (epg--start): Don't specify --enable-progress-filter for
85 (epg--status-PROGRESS): Check if progress-callback is set.
87 2006-11-12 Daiki Ueno <ueno@unixuser.org>
89 * epg.el (epg-error): New error.
90 (epg--check-error-for-decrypt): New function.
91 (epg-decrypt-file): Use it.
92 (epg-decrypt-string): Use it.
93 (epg--start): Added a very basic test to check whether to specify
96 * epa.el (epa-decrypt-file): Expand file name.
97 (epa-verify-file): Ditto.
98 (epa-import-keys): Ditto.
100 2006-11-12 Daiki Ueno <ueno@unixuser.org>
102 * epg.el (epg-delete-keys): Decode delete-problem.
104 * epa.el (epa-popup-info-window): Turn on by default.
105 (epa-display-info): Split selected window instead of pop-to-buffer.
107 2006-11-12 Daiki Ueno <ueno@unixuser.org>
109 * epa.el (epa-display-info): Generalized; renamed from
110 epa-display-verify-result.
111 (epa-decrypt-file): Use it.
112 (epa-verify-file): Use it.
113 (epa-decrypt-region): Use it.
114 (epa-verify-region): Use it.
115 (epa-import-keys): Show import result.
116 (epa-display-verify-result): Make it obsolete.
118 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
120 (epg-sign-keys): Make it obsolete.
121 (epg-make-import-status): New object epg-import-status.
122 (epg-make-import-result): New object epg-import-result.
123 (epg--status-IMPORT_RES): New function.
124 (epg-import-result-to-string): New function.
126 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
127 (epa-sign-keys): Make it obsolete.
129 2006-11-11 Daiki Ueno <ueno@unixuser.org>
131 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
132 mode is set for a cleartext signature.
133 (epg-make-context): New slot "sig-notations".
134 (epg--args-from-sig-notations): New function.
135 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
137 (epg-start-encrypt): Ditto.
138 (epg-make-signature): New slot "notations".
139 (epg--status-NOTATION_NAME): New function.
140 (epg--status-NOTATION_DATA): New function.
141 (epg--status-POLICY_URL): New function.
143 2006-10-29 Daiki Ueno <ueno@unixuser.org>
145 * EasyPG: Version 0.0.7 released.
146 * epg-config.el (epg-version-number): Bump up.
147 * configure.ac: Bump up version.
149 2006-10-29 Daiki Ueno <ueno@unixuser.org>
152 (epa-file-cache-passphrase-for-symmetric-encryption): New user
155 2006-10-12 Daiki Ueno <ueno@unixuser.org>
157 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
158 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
160 2006-09-29 Daiki Ueno <ueno@unixuser.org>
162 * EasyPG: Version 0.0.6 released.
163 * epg.el (epg-version-number): Bump up.
164 * configure.ac: Bump up version.
166 2006-09-29 Daiki Ueno <ueno@unixuser.org>
168 * epa.el (epa-verify-cleartext-in-region): Renamed from
169 epa-verify-armor-in-region.
171 * epg.el (epg-passphrase-callback-function): Suggest to use
172 epa-passphrase-callback-function instead.
173 (epg-start-verify): Don't specify --verify if SIGNATURE is a
174 normal or a clear text signature.
175 (epg-verify-file): Mention that the plaintext will be stored into
176 the file PLAIN after successful verification.
177 (epg-verify-string): Mention that the plaintext will be returned
178 after successful verification.
180 2006-09-27 Daiki Ueno <ueno@unixuser.org>
182 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
183 (epa-file-write-region): Ditto.
185 * epa.el (epa-decrypt-file): Set callbacks.
186 (epa-sign-file): Ditto.
187 (epa-encrypt-file): Ditto.
188 (epa-decrypt-region): Ditto.
189 (epa-sign-region): Ditto.
190 (epa-encrypt-region): Ditto.
191 (epa-sign-keys): Ditto.
193 * epg.el (epg-progress-callback-function): Removed.
195 2006-09-24 Daiki Ueno <ueno@unixuser.org>
197 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
198 (epa-progress-callback-function): Ditto.
199 * epg.el (epg-passphrase-callback-function): Made it obsolete.
200 (epg-progress-callback-function): Ditto.
202 2006-09-23 Daiki Ueno <ueno@unixuser.org>
204 * epg.el (epg-start-decrypt): Append "--" to the end of options.
205 (epg-start-verify): Ditto.
206 (epg-start-sign): Ditto.
207 (epg-start-encrypt): Ditto.
208 (epg-start-import-keys): Ditto.
209 (epg-start-generate-key): Ditto.
211 2006-09-23 Daiki Ueno <ueno@unixuser.org>
213 * epg.el (epg-make-context): Don't set progress-callback by
215 (epg--start): Don't specify --enable-progress-filter if
216 progress-callback is not set.
217 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
220 2006-09-15 Daiki Ueno <ueno@unixuser.org>
222 * epg.el (epg-progress-callback-function): Show the percentage.
224 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
226 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
228 2006-09-13 Daiki Ueno <ueno@unixuser.org>
230 * epg-config.el (epg-passphrase-coding-system): Renamed from
231 epg-locale-coding-system.
233 2006-09-11 Daiki Ueno <ueno@unixuser.org>
235 * epa-file.el (epa-file-decode-and-insert): New function which
236 utilizes decode-coding-inserted-region if available.
237 (epa-file-insert-file-contents): Use it.
239 * epg.el (epg--start): Specify --enable-progress-filter in
241 (epg-progress-callback-function): Remove a couple of %%'s.
243 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
245 * epg-config.el (epg-configuration): Fixed the last change;
246 collect configuration other than group and algorithm.
248 2006-09-05 Daiki Ueno <ueno@unixuser.org>
250 * epg-config.el (epg-debug): Moved from epg.el.
251 (epg-configuration): Parse group configuration.
252 (epg-expand-group): New function.
254 2006-09-04 Daiki Ueno <ueno@unixuser.org>
256 * EasyPG: Version 0.0.5 released.
257 * epg.el (epg-version-number): Bump up.
258 * configure.ac: Bump up version.
260 2006-09-04 Daiki Ueno <ueno@unixuser.org>
262 * epg-config.el (epg-locale-coding-system): New user option.
264 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
265 (epg--clear-string): New function.
266 (epg--status-GET_HIDDEN): Encode passphrase with
267 terminal-coding-system.
269 * epg-config.el (epg-gpg-minimum-version): New constant.
270 (epg-config--parse-version): New function.
271 (epg-config--compare-version): New function.
272 (epg-configuration): Respect epg-gpg-home-directory.
274 2006-09-03 Daiki Ueno <ueno@unixuser.org>
276 * epg-config.el: New file; moved GnuPG configuration check from
279 2006-09-02 Daiki Ueno <ueno@unixuser.org>
281 * epg.el (epg-check-configuration): New function.
282 (epg-gpg-home-directory): New user option.
284 * pgg-epg.el (pgg-epg-lookup-key): New function.
286 2006-07-29 Daiki Ueno <ueno@unixuser.org>
288 * EasyPG: Version 0.0.4 released.
289 * epg.el (epg-version-number): Bump up.
290 * configure.ac: Bump up version.
292 2006-07-29 Daiki Ueno <ueno@unixuser.org>
294 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
296 2006-07-28 Daiki Ueno <ueno@unixuser.org>
298 * epg.el (epg-start-encrypt): Extract primary key ID from
300 Thanks to Steve Youngs <steve@sxemacs.org>
302 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
303 give CONTEXT to epg-list-keys.
304 Thanks to Steve Youngs <steve@sxemacs.org>
306 2006-07-18 Daiki Ueno <ueno@unixuser.org>
308 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
309 epg-process-filter-running instead of epg-pgp50i-status; Don't
310 save-excursion during handler execution.
311 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
312 don't allow process input.
313 (epg-pgp50i--parse-time): New function.
314 (epg-pgp50i--status-BAD_SIGNATURE): New function.
316 * epg.el (epg--process-filter): Don't save-excursion during
319 2006-07-18 Daiki Ueno <ueno@unixuser.org>
321 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
323 * epg.el (epg-process-filter-running): New variable.
324 (epg--start): Setup epg-process-filter-running.
325 (epg--process-filter): Allow only one status handler to run at a
326 time; update epg-read-point everytime the point changes.
328 2006-07-14 Daiki Ueno <ueno@unixuser.org>
330 * epg-pgp50i.el: New file.
332 2006-07-13 Daiki Ueno <ueno@unixuser.org>
334 * acinclude.m4 (AC_PATH_GPG): New macro.
335 * configure.ac: Check gpg version.
336 Suggested by Max Froumentin <max@lapin-bleu.net>
338 2006-07-10 Daiki Ueno <ueno@unixuser.org>
340 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
341 (epg-signature-to-string): Remove a trailing whitespace.
343 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
344 (epa-toggle-mark): New command.
346 2006-07-04 Daiki Ueno <ueno@unixuser.org>
348 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
349 with pgg-default-user-id.
350 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
352 2006-07-01 Daiki Ueno <ueno@unixuser.org>
354 * epa.el (epa-select-keys): If SECRET is specified, select a
355 primary secret key by default.
357 2006-06-29 Daiki Ueno <ueno@unixuser.org>
359 * EasyPG: Version 0.0.3 released.
360 * epg.el (epg-version-number): Bump up.
361 * configure.ac: Bump up version.
363 2006-06-12 Daiki Ueno <ueno@unixuser.org>
365 * epa-file.el (epa-file-insert-file-contents): Don't move the
366 point to the end of the inserted region.
367 Reported by doug <douglas.bagley@gmail.com>
369 2006-06-01 Daiki Ueno <ueno@unixuser.org>
371 * epa-file.el (epa-file-insert-file-contents): Support partial read.
373 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
375 * epa-file.el (epa-file-write-region): Encode the plain text with
376 coding-system-for-write.
378 2006-05-30 Daiki Ueno <ueno@unixuser.org>
380 * epa-file.el (epa-file-insert-file-contents):
381 Decode the decrypted text with coding-system-for-read.
383 2006-05-29 Daiki Ueno <ueno@unixuser.org>
385 * EasyPG: Version 0.0.2 released.
386 * epg.el (epg-version-number): Bump up.
387 * configure.ac: Bump up version.
389 2006-05-29 Daiki Ueno <ueno@unixuser.org>
391 * epg.el (epg--time-from-seconds): New function.
392 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
393 (epg--status-VALIDSIG): Ditto.
394 (epg--status-KEYEXPIRED): Ditto.
396 2006-05-28 Daiki Ueno <ueno@unixuser.org>
398 * epg.el (epg-start-import-keys): Don't specify filename if keys
401 2006-05-27 Daiki Ueno <ueno@unixuser.org>
403 * epg.el (epg--process-filter): Pass epg-context instead of
404 process to status handlers.
405 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
406 matches with the given key-id.
408 2006-05-26 Daiki Ueno <ueno@unixuser.org>
410 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
411 status from 'error to 'no-pubkey.
412 (epg--status-ERRSIG): Just add 'error signature to the verify result.
414 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
415 disable inhibit-quit here; make text-properties nonsticky.
416 (epa-popup-info-window): New user option.
417 (epa-info-window-height): New user option.
418 (epa-display-verify-result): New function.
419 (epa-decrypt-file): Use it.
420 (epa-verify-file): Use it.
421 (epa-decrypt-region): Use it.
422 (epa-verify-region): Use it.
424 * epg.el (epg-make-context): New slot "operation".
425 (epg-passphrase-callback-function): Confirm passphrase when
426 performing symmetric encryption.
428 2006-05-25 Daiki Ueno <ueno@unixuser.org>
430 * epa.el (epa-decrypt-file): Display verify result if the message
432 (epa-decrypt-region): New command.
433 (epa-verify-region): New command.
434 (epa-decrypt-armor-in-region): New command.
435 (epa-verify-armor-in-region): New command.
436 (epa-sign-region): New command.
437 (epa-encrypt-region): New command.
439 2006-05-11 Daiki Ueno <ueno@unixuser.org>
441 * epa.el (epa-armor): New user option.
442 (epa-textmode): New user option.
444 2006-05-02 Daiki Ueno <ueno@unixuser.org>
446 * epg.el (epg-make-key-signature): New object epg-key-signature.
447 (epg-list-keys): Collect key signatures.
448 (epg-make-sub-key): Renamed secret -> secret-p.
449 (epg-list-keys-postprocess-one-key): Abolished.
450 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
451 signatures by itself.
452 (epg-no-data-reason-alist): New constant.
453 (epg-unexpected-reason-alist): New constant.
455 2006-05-01 Daiki Ueno <ueno@unixuser.org>
457 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
458 (epg-delete-problem-reason-alist): Renamed.
459 (epg-import-ok-reason-alist): New constant.
460 (epg-import-problem-reason-alist): New constant.
461 (epg-status-IMPORTED): New function.
462 (epg-status-IMPORT_OK): New function.
463 (epg-status-IMPORT_PROBLEM): New function.
464 (epg-start-import-keys): Don't use a temporary output file.
465 (epg-start-receive-keys): New function.
466 (epg-import-keys-from-server): New function.
467 (epg-receive-keys): Alias to epg-import-keys-from-server.
469 2006-05-01 Daiki Ueno <ueno@unixuser.org>
471 * epg.el (epg-start): Signal an error if the process of CONTEXT is
472 already running for other operations.
473 (epg-flush): Abolished.
474 (epg-start-generate-key): New function.
475 (epg-generate-key-from-file): New function.
476 (epg-generate-key-from-string): New function.
477 (epg-status-KEY_CREATED): New function.
478 (epg-status-KEY_NOT_CREATED): New function.
479 (epg-new-signature-type-alist): New variable.
480 (epg-make-new-signature): New object epg-new-signature.
481 (epg-status-SIG_CREATED): Set epg-new-signature object.
482 (epg-new-signature-to-string): New function.
483 (epg-make-signature): Added slots for signature class and version.
484 (epg-start-sign): Fixed rule of the MODE argument.
486 2006-04-30 Daiki Ueno <ueno@unixuser.org>
488 * epa.el (epa-delete-keys): Support deletion of secret keys.
490 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
493 * epg.el (epg-read-output): Don't convert line endings of the
495 (epg-cancel): Set 'error result.
497 2006-04-29 Daiki Ueno <ueno@unixuser.org>
499 * epg.el (epg-make-signature): Removed user-id; added
500 creation-time, expiration-time, pubkey-algorithm,
502 (epg-process-sentinel): Abolished.
503 (epg-signature-to-string): Decode DN.
504 (epg-list-keys): Cache user-id in epg-user-id-alist.
505 (epg-make-user-id): Renamed name -> string.
507 2006-04-29 Daiki Ueno <ueno@unixuser.org>
509 * epg.el (epg-status-ERRSIG): New function.
510 (epg-verify-file): Signal an error if we encounter ERRSIG status.
511 (epg-verify-string): Ditto.
513 2006-04-28 Daiki Ueno <ueno@unixuser.org>
515 * epg.el: Added typecheck to accessors to objects.
517 2006-04-26 Daiki Ueno <ueno@unixuser.org>
519 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
520 argument of passphrase-callback.
521 (epg-status-PROGRESS): Ditto.
523 2006-04-26 Daiki Ueno <ueno@unixuser.org>
525 * epa.el (epa-select-keys): Don't set inhibit-quit when
526 recursive-edit is called.
527 (epg-cancel): New function.
529 2006-04-25 Daiki Ueno <ueno@unixuser.org>
531 * epg.el (epg-process-sentinel): New function; set 'error if gpg
532 process exited abnormally, but we have not received an error
534 (epg-sign-file): Signal an error only when a signature is not
536 (epg-sign-string): Ditto.
537 (epg-encrypt-file): Signal an error if SIGN is specified and
538 signature is not created.
539 (epg-encrypt-string): Ditto.
541 2006-04-22 Daiki Ueno <ueno@unixuser.org>
543 * epa.el (epa-key-widget-value-create): Decode DN.
544 (epa-list-keys): Add the PROTOCOL argument.
545 (epa-select-keys): Require CONTEXT as the first argument.
547 * epg.el (epg-gpgsm-program): New user option.
548 (epg-dn-type-alist): New variable.
549 (epg-start): Don't specify --command-fd if protocol is CMS.
550 (epg-list-keys): Require CONTEXT as the first argument.
551 (epg-dn-from-string): New function.
552 (epg-decode-dn): New function.
554 2006-04-21 Daiki Ueno <ueno@unixuser.org>
556 * epa.el (epa-sign-keys): New command.
558 * epg.el (epg-start-sign-keys): New function.
559 (epg-sign-keys): New function.
560 (epg-status-GET_HIDDEN): Enable local quit.
561 (epg-status-GET_BOOL): Ditto.
562 (epg-status-GET_LINE): Ditto.
564 2006-04-20 Daiki Ueno <ueno@unixuser.org>
566 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
569 2006-04-20 Daiki Ueno <ueno@unixuser.org>
571 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
572 (pgg-epg-passphrase-callback): New function.
574 * epa.el (epa-select-keys): Added "Cancel" button.
576 2006-04-20 Daiki Ueno <ueno@unixuser.org>
578 * epg.el (epg-signature-to-string): New function.
580 2006-04-20 Daiki Ueno <ueno@unixuser.org>
582 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
584 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
587 * epa.el (epa-select-keys): Added MODE argument.
588 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
590 * epg.el (epg-status-SIG_CREATED): New function.
591 (epg-start-sign): epg-context-signers is now a list of key objects.
592 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
594 2006-04-19 Daiki Ueno <ueno@unixuser.org>
596 * epa.el (epa-verify-file): Show results in minibuffer.
597 * epg.el (epg-debug-buffer): New variable.
598 (epg-flush): New function.
600 2006-04-18 Daiki Ueno <ueno@unixuser.org>
602 * epa.el (epa-export-keys): New command.
603 * epg.el (epg-start-export-keys): Accept a list of epg-key object
606 2006-04-18 Daiki Ueno <ueno@unixuser.org>
608 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
609 (epa-import-key): New command.
611 * epg.el (epg-delete-problem-alist): New constant.
612 (epg-status-DELETE_PROBLEM): New function.
613 (epg-start-delete-key): New function.
614 (epg-delete-key): New function.
615 (epg-wait-for-completion): Add the NO-EOF argument.
617 2006-04-18 Daiki Ueno <ueno@unixuser.org>
619 * epg.el (epg-start): Insert the command-line arguments to the
621 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
622 (epg-start-delete-key): New function.
623 (epg-delete-key): New function.
625 * epa.el (epa-key): New widget.
626 (epa-key-widget-action): New function.
627 (epa-key-widget-value-create): New function.
628 (epa-key-widget-button-face-get): New function.
629 (epa-key-widget-help-echo): New function.
631 2006-04-17 Daiki Ueno <ueno@unixuser.org>
633 * epa-file.el (epa-file-write-region): Check if START is a string.
635 2006-04-17 Daiki Ueno <ueno@unixuser.org>
637 * epa-file.el: Rewritten with file-name-handler.
638 (epa-file-handler): New variable.
639 (epa-file-enable): New command.
640 (epa-file-disable): New command.
642 * epa-setup.el: Call epa-file-enable.
644 2006-04-17 Daiki Ueno <ueno@unixuser.org>
646 * epa-file.el (epa-passphrase): New variable.
647 (epa-file-passphrase-callback-function): New function.
648 (epa-find-file): Reset buffer-undo-list; set
649 buffer-file-coding-system to last-coding-system-used after
652 2006-04-17 Daiki Ueno <ueno@unixuser.org>
654 * epa-file.el (epa-write-file): Try to write region to "/" to get
655 last-coding-system-used to be set.
657 2006-04-17 Daiki Ueno <ueno@unixuser.org>
659 * epa-file.el: New implementation of epf.el.
663 2006-04-17 Daiki Ueno <ueno@unixuser.org>
665 * epa.el (epa-verify-file): Display verify result.
667 * epg.el (epg-invalid-recipients-alist): New variable.
668 (epg-status-INV_RECP): New function.
669 (epg-status-NO_RECP): New function.
671 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
672 epa-verify-file, epa-sign-file, and epa-encrypt-file.
673 (epa-decrypt-file): New function imported from epa-dired.el.
674 (epa-verify-file): New function imported from epa-dired.el.
675 (epa-sign-file): New function imported from epa-dired.el.
676 (epa-encrypt-file): New function imported from epa-dired.el.
678 2006-04-16 Daiki Ueno <ueno@unixuser.org>
680 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
682 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
684 2006-04-16 Daiki Ueno <ueno@unixuser.org>
686 * epa-setup.el: New file.
687 * epa-dired.el: New file.
689 * epg.el (epg-colons-pub-spec): Abolished.
690 (epg-colons-sec-spec): Abolished.
691 (epg-colons-uid-spec): Abolished.
692 (epg-colons-fpr-spec): Abolished.
693 (epg-key-validity-alist): New variable.
694 (epg-key-capablity-alist): New variable.
695 (epg-make-key): New object epg-key.
696 (epg-make-sub-key): New object epg-sub-key.
697 (epg-make-user-id): New object epg-user-id.
698 (epg-list-keys-1): Renamed from epg-list-keys.
699 (epg-list-keys): Rewritten.
701 2006-04-15 Daiki Ueno <ueno@unixuser.org>
703 * epg.el (epg-list-keys): Make the NAME argument optional.
705 2006-04-13 Daiki Ueno <ueno@unixuser.org>
707 * epa.el: Added header.
709 * epg.el (epg-list-keys): Specify --with-fingerprint.
710 (epg-colons-fpr-spec): New variable.
711 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
713 (epg-colons-sec-spec): Ditto.
714 (epg-colons-uid-spec): Renamed trust -> validity.
716 2006-04-13 Daiki Ueno <ueno@unixuser.org>
720 * epg.el (epg-cipher-algorithm-alist): New constant.
721 (epg-pubkey-algorithm-alist): New constant.
722 (epg-digest-algorithm-alist): New constant.
723 (epg-compress-algorithm-alist): New constant.
724 (epg-configuration): New function.
725 (epg-start): Don't specify --yes.
727 2006-04-13 Daiki Ueno <ueno@unixuser.org>
729 * epg.el (epg-make-data-from-file): New function.
730 (epg-make-data-from-string): New function.
731 (epg-data-file): New function.
732 (epg-data-string): New function.
733 (epg-start-decrypt): Get a cipher text from a data object.
734 (epg-delete-output-file): New function.
735 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
737 (epg-start-verify): Get a signature and signed-text from a data
739 (epg-verify-file): Added the 3rd argument PLAIN to specify where
740 the output goes; return the plain text if PLAIN is nil.
741 (epg-verify-string): Return the plain text.
742 (epg-start-sign): Get a plain text from a data object.
743 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
745 (epg-start-encrypt): Get a plain text from a data object.
746 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
748 (epg-start-import-keys): Get keys from a data object.
749 (epg-import-keys-1): New function.
750 (epg-import-keys-from-file): Use it.
751 (epg-import-keys-from-string): Use it.
753 2006-04-12 Daiki Ueno <ueno@unixuser.org>
755 * epf.el: Renamed from epg-file.el.
757 2006-04-12 Daiki Ueno <ueno@unixuser.org>
759 * epg.el (epg-status-GET_BOOL): New function.
760 (epg-status-GET_LINE): New function.
761 (epg-prompt-alist): New variable, to be filled.
763 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
764 * epg.el (epg-signature-fingerprint): New function.
765 (epg-signature-set-fingerprint): New function.
766 (epg-status-VALIDSIG): New function.
768 * epg.el (epg-reset): Don't reset result.
769 (epg-start-decrypt): Reset result before epg-start.
770 (epg-start-verify): Ditto.
771 (epg-start-sign): Ditto.
772 (epg-start-encrypt): Ditto.
773 (epg-start-export-keys): Ditto.
774 (epg-start-import-keys): Ditto.
776 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
777 * pgg-epg.el: New file.
779 * epg.el (epg-start-export-keys): New function.
780 (epg-export-keys): New function.
781 (epg-start-import-keys): New function.
782 (epg-import-keys): New function.
783 (epg-verify-file): New function.
785 * epg-file.el (epg-file-write-region): Support public key encryption.
787 * epg.el (epg-passphrase-callback-function): Always display key-id.