1 2006-09-29 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-verify-cleartext-in-region): Renamed from
4 epa-verify-armor-in-region.
6 * epg.el (epg-passphrase-callback-function): Suggest to use
7 epa-passphrase-callback-function instead.
8 (epg-start-verify): Don't specify --verify if SIGNATURE is a
9 normal or a clear text signature.
10 (epg-verify-file): Mention that the plaintext will be stored into
11 the file PLAIN after successful verification.
12 (epg-verify-string): Mention that the plaintext will be returned
13 after successful verification.
15 2006-09-27 Daiki Ueno <ueno@unixuser.org>
17 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
18 (epa-file-write-region): Ditto.
20 * epa.el (epa-decrypt-file): Set callbacks.
21 (epa-sign-file): Ditto.
22 (epa-encrypt-file): Ditto.
23 (epa-decrypt-region): Ditto.
24 (epa-sign-region): Ditto.
25 (epa-encrypt-region): Ditto.
26 (epa-sign-keys): Ditto.
28 * epg.el (epg-progress-callback-function): Removed.
30 2006-09-24 Daiki Ueno <ueno@unixuser.org>
32 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
33 (epa-progress-callback-function): Ditto.
34 * epg.el (epg-passphrase-callback-function): Made it obsolete.
35 (epg-progress-callback-function): Ditto.
37 2006-09-23 Daiki Ueno <ueno@unixuser.org>
39 * epg.el (epg-start-decrypt): Append "--" to the end of options.
40 (epg-start-verify): Ditto.
41 (epg-start-sign): Ditto.
42 (epg-start-encrypt): Ditto.
43 (epg-start-import-keys): Ditto.
44 (epg-start-generate-key): Ditto.
46 2006-09-23 Daiki Ueno <ueno@unixuser.org>
48 * epg.el (epg-make-context): Don't set progress-callback by
50 (epg--start): Don't specify --enable-progress-filter if
51 progress-callback is not set.
52 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
55 2006-09-15 Daiki Ueno <ueno@unixuser.org>
57 * epg.el (epg-progress-callback-function): Show the percentage.
59 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
61 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
63 2006-09-13 Daiki Ueno <ueno@unixuser.org>
65 * epg-config.el (epg-passphrase-coding-system): Renamed from
66 epg-locale-coding-system.
68 2006-09-11 Daiki Ueno <ueno@unixuser.org>
70 * epa-file.el (epa-file-decode-and-insert): New function which
71 utilizes decode-coding-inserted-region if available.
72 (epa-file-insert-file-contents): Use it.
74 * epg.el (epg--start): Specify --enable-progress-filter in
76 (epg-progress-callback-function): Remove a couple of %%'s.
78 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
80 * epg-config.el (epg-configuration): Fixed the last change;
81 collect configuration other than group and algorithm.
83 2006-09-05 Daiki Ueno <ueno@unixuser.org>
85 * epg-config.el (epg-debug): Moved from epg.el.
86 (epg-configuration): Parse group configuration.
87 (epg-expand-group): New function.
89 2006-09-04 Daiki Ueno <ueno@unixuser.org>
91 * EasyPG: Version 0.0.5 released.
92 * epg.el (epg-version-number): Bump up.
93 * configure.ac: Bump up version.
95 2006-09-04 Daiki Ueno <ueno@unixuser.org>
97 * epg-config.el (epg-locale-coding-system): New user option.
99 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
100 (epg--clear-string): New function.
101 (epg--status-GET_HIDDEN): Encode passphrase with
102 terminal-coding-system.
104 * epg-config.el (epg-gpg-minimum-version): New constant.
105 (epg-config--parse-version): New function.
106 (epg-config--compare-version): New function.
107 (epg-configuration): Respect epg-gpg-home-directory.
109 2006-09-03 Daiki Ueno <ueno@unixuser.org>
111 * epg-config.el: New file; moved GnuPG configuration check from
114 2006-09-02 Daiki Ueno <ueno@unixuser.org>
116 * epg.el (epg-check-configuration): New function.
117 (epg-gpg-home-directory): New user option.
119 * pgg-epg.el (pgg-epg-lookup-key): New function.
121 2006-07-29 Daiki Ueno <ueno@unixuser.org>
123 * EasyPG: Version 0.0.4 released.
124 * epg.el (epg-version-number): Bump up.
125 * configure.ac: Bump up version.
127 2006-07-29 Daiki Ueno <ueno@unixuser.org>
129 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
131 2006-07-28 Daiki Ueno <ueno@unixuser.org>
133 * epg.el (epg-start-encrypt): Extract primary key ID from
135 Thanks to Steve Youngs <steve@sxemacs.org>
137 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
138 give CONTEXT to epg-list-keys.
139 Thanks to Steve Youngs <steve@sxemacs.org>
141 2006-07-18 Daiki Ueno <ueno@unixuser.org>
143 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
144 epg-process-filter-running instead of epg-pgp50i-status; Don't
145 save-excursion during handler execution.
146 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
147 don't allow process input.
148 (epg-pgp50i--parse-time): New function.
149 (epg-pgp50i--status-BAD_SIGNATURE): New function.
151 * epg.el (epg--process-filter): Don't save-excursion during
154 2006-07-18 Daiki Ueno <ueno@unixuser.org>
156 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
158 * epg.el (epg-process-filter-running): New variable.
159 (epg--start): Setup epg-process-filter-running.
160 (epg--process-filter): Allow only one status handler to run at a
161 time; update epg-read-point everytime the point changes.
163 2006-07-14 Daiki Ueno <ueno@unixuser.org>
165 * epg-pgp50i.el: New file.
167 2006-07-13 Daiki Ueno <ueno@unixuser.org>
169 * acinclude.m4 (AC_PATH_GPG): New macro.
170 * configure.ac: Check gpg version.
171 Suggested by Max Froumentin <max@lapin-bleu.net>
173 2006-07-10 Daiki Ueno <ueno@unixuser.org>
175 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
176 (epg-signature-to-string): Remove a trailing whitespace.
178 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
179 (epa-toggle-mark): New command.
181 2006-07-04 Daiki Ueno <ueno@unixuser.org>
183 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
184 with pgg-default-user-id.
185 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
187 2006-07-01 Daiki Ueno <ueno@unixuser.org>
189 * epa.el (epa-select-keys): If SECRET is specified, select a
190 primary secret key by default.
192 2006-06-29 Daiki Ueno <ueno@unixuser.org>
194 * EasyPG: Version 0.0.3 released.
195 * epg.el (epg-version-number): Bump up.
196 * configure.ac: Bump up version.
198 2006-06-12 Daiki Ueno <ueno@unixuser.org>
200 * epa-file.el (epa-file-insert-file-contents): Don't move the
201 point to the end of the inserted region.
202 Reported by doug <douglas.bagley@gmail.com>
204 2006-06-01 Daiki Ueno <ueno@unixuser.org>
206 * epa-file.el (epa-file-insert-file-contents): Support partial read.
208 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
210 * epa-file.el (epa-file-write-region): Encode the plain text with
211 coding-system-for-write.
213 2006-05-30 Daiki Ueno <ueno@unixuser.org>
215 * epa-file.el (epa-file-insert-file-contents):
216 Decode the decrypted text with coding-system-for-read.
218 2006-05-29 Daiki Ueno <ueno@unixuser.org>
220 * EasyPG: Version 0.0.2 released.
221 * epg.el (epg-version-number): Bump up.
222 * configure.ac: Bump up version.
224 2006-05-29 Daiki Ueno <ueno@unixuser.org>
226 * epg.el (epg--time-from-seconds): New function.
227 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
228 (epg--status-VALIDSIG): Ditto.
229 (epg--status-KEYEXPIRED): Ditto.
231 2006-05-28 Daiki Ueno <ueno@unixuser.org>
233 * epg.el (epg-start-import-keys): Don't specify filename if keys
236 2006-05-27 Daiki Ueno <ueno@unixuser.org>
238 * epg.el (epg--process-filter): Pass epg-context instead of
239 process to status handlers.
240 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
241 matches with the given key-id.
243 2006-05-26 Daiki Ueno <ueno@unixuser.org>
245 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
246 status from 'error to 'no-pubkey.
247 (epg--status-ERRSIG): Just add 'error signature to the verify result.
249 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
250 disable inhibit-quit here; make text-properties nonsticky.
251 (epa-popup-info-window): New user option.
252 (epa-info-window-height): New user option.
253 (epa-display-verify-result): New function.
254 (epa-decrypt-file): Use it.
255 (epa-verify-file): Use it.
256 (epa-decrypt-region): Use it.
257 (epa-verify-region): Use it.
259 * epg.el (epg-make-context): New slot "operation".
260 (epg-passphrase-callback-function): Confirm passphrase when
261 performing symmetric encryption.
263 2006-05-25 Daiki Ueno <ueno@unixuser.org>
265 * epa.el (epa-decrypt-file): Display verify result if the message
267 (epa-decrypt-region): New command.
268 (epa-verify-region): New command.
269 (epa-decrypt-armor-in-region): New command.
270 (epa-verify-armor-in-region): New command.
271 (epa-sign-region): New command.
272 (epa-encrypt-region): New command.
274 2006-05-11 Daiki Ueno <ueno@unixuser.org>
276 * epa.el (epa-armor): New user option.
277 (epa-textmode): New user option.
279 2006-05-02 Daiki Ueno <ueno@unixuser.org>
281 * epg.el (epg-make-key-signature): New object epg-key-signature.
282 (epg-list-keys): Collect key signatures.
283 (epg-make-sub-key): Renamed secret -> secret-p.
284 (epg-list-keys-postprocess-one-key): Abolished.
285 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
286 signatures by itself.
287 (epg-no-data-reason-alist): New constant.
288 (epg-unexpected-reason-alist): New constant.
290 2006-05-01 Daiki Ueno <ueno@unixuser.org>
292 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
293 (epg-delete-problem-reason-alist): Renamed.
294 (epg-import-ok-reason-alist): New constant.
295 (epg-import-problem-reason-alist): New constant.
296 (epg-status-IMPORTED): New function.
297 (epg-status-IMPORT_OK): New function.
298 (epg-status-IMPORT_PROBLEM): New function.
299 (epg-start-import-keys): Don't use a temporary output file.
300 (epg-start-receive-keys): New function.
301 (epg-import-keys-from-server): New function.
302 (epg-receive-keys): Alias to epg-import-keys-from-server.
304 2006-05-01 Daiki Ueno <ueno@unixuser.org>
306 * epg.el (epg-start): Signal an error if the process of CONTEXT is
307 already running for other operations.
308 (epg-flush): Abolished.
309 (epg-start-generate-key): New function.
310 (epg-generate-key-from-file): New function.
311 (epg-generate-key-from-string): New function.
312 (epg-status-KEY_CREATED): New function.
313 (epg-status-KEY_NOT_CREATED): New function.
314 (epg-new-signature-type-alist): New variable.
315 (epg-make-new-signature): New object epg-new-signature.
316 (epg-status-SIG_CREATED): Set epg-new-signature object.
317 (epg-new-signature-to-string): New function.
318 (epg-make-signature): Added slots for signature class and version.
319 (epg-start-sign): Fixed rule of the MODE argument.
321 2006-04-30 Daiki Ueno <ueno@unixuser.org>
323 * epa.el (epa-delete-keys): Support deletion of secret keys.
325 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
328 * epg.el (epg-read-output): Don't convert line endings of the
330 (epg-cancel): Set 'error result.
332 2006-04-29 Daiki Ueno <ueno@unixuser.org>
334 * epg.el (epg-make-signature): Removed user-id; added
335 creation-time, expiration-time, pubkey-algorithm,
337 (epg-process-sentinel): Abolished.
338 (epg-signature-to-string): Decode DN.
339 (epg-list-keys): Cache user-id in epg-user-id-alist.
340 (epg-make-user-id): Renamed name -> string.
342 2006-04-29 Daiki Ueno <ueno@unixuser.org>
344 * epg.el (epg-status-ERRSIG): New function.
345 (epg-verify-file): Signal an error if we encounter ERRSIG status.
346 (epg-verify-string): Ditto.
348 2006-04-28 Daiki Ueno <ueno@unixuser.org>
350 * epg.el: Added typecheck to accessors to objects.
352 2006-04-26 Daiki Ueno <ueno@unixuser.org>
354 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
355 argument of passphrase-callback.
356 (epg-status-PROGRESS): Ditto.
358 2006-04-26 Daiki Ueno <ueno@unixuser.org>
360 * epa.el (epa-select-keys): Don't set inhibit-quit when
361 recursive-edit is called.
362 (epg-cancel): New function.
364 2006-04-25 Daiki Ueno <ueno@unixuser.org>
366 * epg.el (epg-process-sentinel): New function; set 'error if gpg
367 process exited abnormally, but we have not received an error
369 (epg-sign-file): Signal an error only when a signature is not
371 (epg-sign-string): Ditto.
372 (epg-encrypt-file): Signal an error if SIGN is specified and
373 signature is not created.
374 (epg-encrypt-string): Ditto.
376 2006-04-22 Daiki Ueno <ueno@unixuser.org>
378 * epa.el (epa-key-widget-value-create): Decode DN.
379 (epa-list-keys): Add the PROTOCOL argument.
380 (epa-select-keys): Require CONTEXT as the first argument.
382 * epg.el (epg-gpgsm-program): New user option.
383 (epg-dn-type-alist): New variable.
384 (epg-start): Don't specify --command-fd if protocol is CMS.
385 (epg-list-keys): Require CONTEXT as the first argument.
386 (epg-dn-from-string): New function.
387 (epg-decode-dn): New function.
389 2006-04-21 Daiki Ueno <ueno@unixuser.org>
391 * epa.el (epa-sign-keys): New command.
393 * epg.el (epg-start-sign-keys): New function.
394 (epg-sign-keys): New function.
395 (epg-status-GET_HIDDEN): Enable local quit.
396 (epg-status-GET_BOOL): Ditto.
397 (epg-status-GET_LINE): Ditto.
399 2006-04-20 Daiki Ueno <ueno@unixuser.org>
401 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
404 2006-04-20 Daiki Ueno <ueno@unixuser.org>
406 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
407 (pgg-epg-passphrase-callback): New function.
409 * epa.el (epa-select-keys): Added "Cancel" button.
411 2006-04-20 Daiki Ueno <ueno@unixuser.org>
413 * epg.el (epg-signature-to-string): New function.
415 2006-04-20 Daiki Ueno <ueno@unixuser.org>
417 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
419 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
422 * epa.el (epa-select-keys): Added MODE argument.
423 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
425 * epg.el (epg-status-SIG_CREATED): New function.
426 (epg-start-sign): epg-context-signers is now a list of key objects.
427 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
429 2006-04-19 Daiki Ueno <ueno@unixuser.org>
431 * epa.el (epa-verify-file): Show results in minibuffer.
432 * epg.el (epg-debug-buffer): New variable.
433 (epg-flush): New function.
435 2006-04-18 Daiki Ueno <ueno@unixuser.org>
437 * epa.el (epa-export-keys): New command.
438 * epg.el (epg-start-export-keys): Accept a list of epg-key object
441 2006-04-18 Daiki Ueno <ueno@unixuser.org>
443 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
444 (epa-import-key): New command.
446 * epg.el (epg-delete-problem-alist): New constant.
447 (epg-status-DELETE_PROBLEM): New function.
448 (epg-start-delete-key): New function.
449 (epg-delete-key): New function.
450 (epg-wait-for-completion): Add the NO-EOF argument.
452 2006-04-18 Daiki Ueno <ueno@unixuser.org>
454 * epg.el (epg-start): Insert the command-line arguments to the
456 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
457 (epg-start-delete-key): New function.
458 (epg-delete-key): New function.
460 * epa.el (epa-key): New widget.
461 (epa-key-widget-action): New function.
462 (epa-key-widget-value-create): New function.
463 (epa-key-widget-button-face-get): New function.
464 (epa-key-widget-help-echo): New function.
466 2006-04-17 Daiki Ueno <ueno@unixuser.org>
468 * epa-file.el (epa-file-write-region): Check if START is a string.
470 2006-04-17 Daiki Ueno <ueno@unixuser.org>
472 * epa-file.el: Rewritten with file-name-handler.
473 (epa-file-handler): New variable.
474 (epa-file-enable): New command.
475 (epa-file-disable): New command.
477 * epa-setup.el: Call epa-file-enable.
479 2006-04-17 Daiki Ueno <ueno@unixuser.org>
481 * epa-file.el (epa-passphrase): New variable.
482 (epa-file-passphrase-callback-function): New function.
483 (epa-find-file): Reset buffer-undo-list; set
484 buffer-file-coding-system to last-coding-system-used after
487 2006-04-17 Daiki Ueno <ueno@unixuser.org>
489 * epa-file.el (epa-write-file): Try to write region to "/" to get
490 last-coding-system-used to be set.
492 2006-04-17 Daiki Ueno <ueno@unixuser.org>
494 * epa-file.el: New implementation of epf.el.
498 2006-04-17 Daiki Ueno <ueno@unixuser.org>
500 * epa.el (epa-verify-file): Display verify result.
502 * epg.el (epg-invalid-recipients-alist): New variable.
503 (epg-status-INV_RECP): New function.
504 (epg-status-NO_RECP): New function.
506 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
507 epa-verify-file, epa-sign-file, and epa-encrypt-file.
508 (epa-decrypt-file): New function imported from epa-dired.el.
509 (epa-verify-file): New function imported from epa-dired.el.
510 (epa-sign-file): New function imported from epa-dired.el.
511 (epa-encrypt-file): New function imported from epa-dired.el.
513 2006-04-16 Daiki Ueno <ueno@unixuser.org>
515 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
517 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
519 2006-04-16 Daiki Ueno <ueno@unixuser.org>
521 * epa-setup.el: New file.
522 * epa-dired.el: New file.
524 * epg.el (epg-colons-pub-spec): Abolished.
525 (epg-colons-sec-spec): Abolished.
526 (epg-colons-uid-spec): Abolished.
527 (epg-colons-fpr-spec): Abolished.
528 (epg-key-validity-alist): New variable.
529 (epg-key-capablity-alist): New variable.
530 (epg-make-key): New object epg-key.
531 (epg-make-sub-key): New object epg-sub-key.
532 (epg-make-user-id): New object epg-user-id.
533 (epg-list-keys-1): Renamed from epg-list-keys.
534 (epg-list-keys): Rewritten.
536 2006-04-15 Daiki Ueno <ueno@unixuser.org>
538 * epg.el (epg-list-keys): Make the NAME argument optional.
540 2006-04-13 Daiki Ueno <ueno@unixuser.org>
542 * epa.el: Added header.
544 * epg.el (epg-list-keys): Specify --with-fingerprint.
545 (epg-colons-fpr-spec): New variable.
546 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
548 (epg-colons-sec-spec): Ditto.
549 (epg-colons-uid-spec): Renamed trust -> validity.
551 2006-04-13 Daiki Ueno <ueno@unixuser.org>
555 * epg.el (epg-cipher-algorithm-alist): New constant.
556 (epg-pubkey-algorithm-alist): New constant.
557 (epg-digest-algorithm-alist): New constant.
558 (epg-compress-algorithm-alist): New constant.
559 (epg-configuration): New function.
560 (epg-start): Don't specify --yes.
562 2006-04-13 Daiki Ueno <ueno@unixuser.org>
564 * epg.el (epg-make-data-from-file): New function.
565 (epg-make-data-from-string): New function.
566 (epg-data-file): New function.
567 (epg-data-string): New function.
568 (epg-start-decrypt): Get a cipher text from a data object.
569 (epg-delete-output-file): New function.
570 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
572 (epg-start-verify): Get a signature and signed-text from a data
574 (epg-verify-file): Added the 3rd argument PLAIN to specify where
575 the output goes; return the plain text if PLAIN is nil.
576 (epg-verify-string): Return the plain text.
577 (epg-start-sign): Get a plain text from a data object.
578 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
580 (epg-start-encrypt): Get a plain text from a data object.
581 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
583 (epg-start-import-keys): Get keys from a data object.
584 (epg-import-keys-1): New function.
585 (epg-import-keys-from-file): Use it.
586 (epg-import-keys-from-string): Use it.
588 2006-04-12 Daiki Ueno <ueno@unixuser.org>
590 * epf.el: Renamed from epg-file.el.
592 2006-04-12 Daiki Ueno <ueno@unixuser.org>
594 * epg.el (epg-status-GET_BOOL): New function.
595 (epg-status-GET_LINE): New function.
596 (epg-prompt-alist): New variable, to be filled.
598 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
599 * epg.el (epg-signature-fingerprint): New function.
600 (epg-signature-set-fingerprint): New function.
601 (epg-status-VALIDSIG): New function.
603 * epg.el (epg-reset): Don't reset result.
604 (epg-start-decrypt): Reset result before epg-start.
605 (epg-start-verify): Ditto.
606 (epg-start-sign): Ditto.
607 (epg-start-encrypt): Ditto.
608 (epg-start-export-keys): Ditto.
609 (epg-start-import-keys): Ditto.
611 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
612 * pgg-epg.el: New file.
614 * epg.el (epg-start-export-keys): New function.
615 (epg-export-keys): New function.
616 (epg-start-import-keys): New function.
617 (epg-import-keys): New function.
618 (epg-verify-file): New function.
620 * epg-file.el (epg-file-write-region): Support public key encryption.
622 * epg.el (epg-passphrase-callback-function): Always display key-id.