1 2007-03-20 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-display-info): Generate new *Info* buffer if buffer
5 (epa-verify-cleartext-in-region): s/armor/cleartext/g.
7 * Makefile.am (info_TEXINFOS): Added epa.texi.
10 2007-03-19 Daiki Ueno <ueno@unixuser.org>
12 * epg.el (epg--decode-percent-escape): New function.
14 2007-03-08 Daiki Ueno <ueno@unixuser.org>
16 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
18 2007-03-08 Daiki Ueno <ueno@unixuser.org>
20 * epa-mail.el (epa-mail-mode-hook): New variable.
21 (epa-mail-mode-on-hook): New variable.
22 (epa-mail-mode-off-hook): New variable.
24 * epg.el (epg--start): Make the process-buffer unibyte.
25 (epg--status-USERID_HINT): Decode user-id.
26 (epg--status-IMPORTED): Decode user-id.
28 2007-03-07 Daiki Ueno <ueno@unixuser.org>
30 * epg.el (epg--start): Don't specify --use-agent if the protocol
31 is CMS; set coding-system-for-read to binary.
32 (epg--status-*SIG): Decode user-id.
34 2007-02-02 Daiki Ueno <ueno@unixuser.org>
36 * epa-file.el (epa-file-write-region): Set a dummy filename
37 for buffer-file-name when calling select-safe-coding-system.
39 2007-01-30 Daiki Ueno <ueno@unixuser.org>
41 * epg.el (epg-last-status): New variable.
42 (epg--process-filter): Set epg-last-status after calling a status
44 (epg--prompt-GET_BOOL): New function.
45 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
46 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
49 2007-01-29 Daiki Ueno <ueno@unixuser.org>
51 * EasyPG: Version 0.0.10 released.
52 * configure.ac: Bump up version.
54 2007-01-29 Daiki Ueno <ueno@unixuser.org>
56 * epg-config.el: Require epg-package-info.
57 * configure.ac: Generate epg-package-info.el.
58 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
59 * COMPILE (epg-modules): Added epg-package-info.
60 * epg-package-info.el.in: New file.
62 2007-01-29 Daiki Ueno <ueno@unixuser.org>
64 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
65 * epa.el: Removed epa-*-mail stuff.
66 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
67 * COMPILE (epg-modules): Added epa-mail.
68 * epa-mail.el: New file.
70 2007-01-05 Daiki Ueno <ueno@unixuser.org>
72 * epg-pgp50i.el: Removed.
74 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
75 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
78 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
80 (epg--make-sub-key-1): Ditto.
81 (epg--decode-hexstring): "\\x" -> "\\\\x".
82 (epg--decode-quotedstring): Ditto.
84 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
85 recipient whose public key is not available.
86 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
87 recipient whose public key is not available.
89 2007-01-04 Daiki Ueno <ueno@unixuser.org>
91 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
92 (epa-verify-mail): Renamed from epa-verify.
93 (epa-sign-mail): Renamed from epa-sign.
94 (epa-encrypt-mail): Renamed from epa-encrypt.
95 (epa-import-mail): Renamed from epa-import.
97 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
99 * epg.el (epg-signature-to-string): Print creation-time and used
101 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
102 fallback to use a temp file as an input.
103 (epg-encrypt-string): Ditto.
105 2006-12-31 Daiki Ueno <ueno@unixuser.org>
107 * epa.el (epa-mail-modes): New user option.
108 (epa--mail-mode-p): New function.
110 (epa-encrypt): Use it.
111 (epa--find-coding-system-for-mime-charset): New function.
112 (epa-decrypt-armor-in-region): Use it.
113 (epa-progress-callback-function): Use handback as the prompt.
114 (epa-encrypt-region): Take 4th argument SIGN.
115 (epa-encrypt): Ditto.
117 2006-12-31 Daiki Ueno <ueno@unixuser.org>
119 * epa.el (epa--derived-mode-p): New alias.
121 (epa-encrypt): Use it.
123 2006-12-31 Daiki Ueno <ueno@unixuser.org>
125 * epa.el (epa--read-signature-type): New function.
126 (epa-decrypt): New command.
127 (epa-verify): New command.
128 (epa-sign): New command.
129 (epa-encrypt): New command.
130 (epa-import-armor-in-region): New command.
131 (epa-import): New command.
132 (epa-decrypt-region): Confirm user to replace the region.
133 (epa-display-info): Delete "*Info*" window.
135 2006-12-29 Daiki Ueno <ueno@unixuser.org>
137 * EasyPG: Version 0.0.9 released.
138 * epg-config.el (epg-version-number): Bump up.
139 * configure.ac: Bump up version.
141 2006-12-28 Daiki Ueno <ueno@unixuser.org>
143 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
144 is given; ask signature type only when a prefix arg is given.
145 (epa-sign-region): Ditto.
147 2006-12-26 Daiki Ueno <ueno@unixuser.org>
149 * epg-config.el (epg-passphrase-coding-system): Default to nil.
151 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
153 * epa.el (epa--format-fingerprint-1): New function.
154 (epa--format-fingerprint): Ditto.
155 (epa--show-key): Use it.
157 2006-12-20 Daiki Ueno <ueno@unixuser.org>
159 * epa-file.el (epa-file-write-region): Don't attempt to write the
160 region to "/" to determine safe coding-system.
162 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
163 (epa-sign-file): Save the output to *.p7s or *.p7m file if
165 (epa-encrypt-file): Ditto.
166 (epa-last-coding-system-specified): New variable.
167 (epa-decrypt-region): Try to decode with the
168 epa-coding-system-used text property.
169 (epa--select-safe-coding-system): New function.
170 (epa-verify-region): Try to decode with the epa-coding-system-used
172 (epa-sign-region): Query user to select coding-system to encode;
173 set the epa-coding-system-used text property on the result.
174 (epa-encrypt-region): Ditto.
176 2006-12-19 Daiki Ueno <ueno@unixuser.org>
178 * epg.el (epg-export-keys-to-file): Fixed a typo.
180 * epa.el (epa-protocol): New user option.
181 (epa-sign-region): --armor & --textmode.
182 (epa-encrypt-region): Ditto.
183 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
185 (epa-import-keys-region): New command.
186 (epa-insert-keys): New command.
187 (epa--insert-keys): Renamed from epa-insert-keys.
189 2006-12-11 Daiki Ueno <ueno@unixuser.org>
191 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
192 decode-coding-string if it is not bound.
194 * epa-file.el (epa-file--encode-coding-string): New alias.
195 (epa-file--decode-coding-string): New alias.
196 (epa-file-write-region): Use epa-file--encode-coding-string.
197 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
199 * epa.el (epa--encode-coding-string): New alias.
200 (epa--decode-coding-string): New alias.
201 (epa-verify-region): Use epa--encode-coding-string.
202 (epa-sign-region): Ditto; use epa--decode-coding-string.
203 (epa-encrypt-region): Use epa--encode-coding-string.
205 * epg.el (epg--encode-coding-string): New alias.
206 (epg--status-GET_HIDDEN): Use it.
208 2006-11-29 Daiki Ueno <ueno@unixuser.org>
210 * EasyPG: Version 0.0.8 released.
211 * epg-config.el (epg-version-number): Bump up.
212 * configure.ac: Bump up version.
214 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
216 * epa-file.el (epa-file-encrypt-to): New file local variable.
217 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
219 2006-11-26 Daiki Ueno <ueno@unixuser.org>
221 * epa.el (epa-sign-file): Query signature type at a time.
222 (epa-decrypt-file): Display output file name on completion.
223 (epa-sign-file): Ditto.
224 (epa-encrypt-file): Ditto.
226 2006-11-25 Daiki Ueno <ueno@unixuser.org>
228 * epa.el (epa-keys-mode): Don't call widget-setup.
229 (epa-list-keys): Call widget-setup here.
230 (epa-select-keys): Ditto.
232 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
234 * epg.el (epg-delete-keys): Remove redundant argument for `error'
235 and fix a close parenthesis.
237 2006-11-24 Daiki Ueno <ueno@unixuser.org>
239 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
240 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
241 cf. <emacs-mime-ja:02090>
243 2006-11-23 Daiki Ueno <ueno@unixuser.org>
245 * epa.el (epa-sign-region): Query signature type at a time.
247 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
249 * epg.el (epg-context-set-passphrase-callback): Add optional
251 (epg-context-set-progress-callback): Ditto.
253 2006-11-14 Daiki Ueno <ueno@unixuser.org>
255 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
256 (epa--show-key): Ditto.
257 Reported by Werner Koch <wk@gnupg.org>.
259 * epg.el (epg--start): Don't specify --enable-progress-filter for
261 (epg--status-PROGRESS): Check if progress-callback is set.
263 2006-11-12 Daiki Ueno <ueno@unixuser.org>
265 * epg.el (epg-error): New error.
266 (epg--check-error-for-decrypt): New function.
267 (epg-decrypt-file): Use it.
268 (epg-decrypt-string): Use it.
269 (epg--start): Added a very basic test to check whether to specify
272 * epa.el (epa-decrypt-file): Expand file name.
273 (epa-verify-file): Ditto.
274 (epa-import-keys): Ditto.
276 2006-11-12 Daiki Ueno <ueno@unixuser.org>
278 * epg.el (epg-delete-keys): Decode delete-problem.
280 * epa.el (epa-popup-info-window): Turn on by default.
281 (epa-display-info): Split selected window instead of pop-to-buffer.
283 2006-11-12 Daiki Ueno <ueno@unixuser.org>
285 * epa.el (epa-display-info): Generalized; renamed from
286 epa-display-verify-result.
287 (epa-decrypt-file): Use it.
288 (epa-verify-file): Use it.
289 (epa-decrypt-region): Use it.
290 (epa-verify-region): Use it.
291 (epa-import-keys): Show import result.
292 (epa-display-verify-result): Make it obsolete.
294 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
296 (epg-sign-keys): Make it obsolete.
297 (epg-make-import-status): New object epg-import-status.
298 (epg-make-import-result): New object epg-import-result.
299 (epg--status-IMPORT_RES): New function.
300 (epg-import-result-to-string): New function.
302 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
303 (epa-sign-keys): Make it obsolete.
305 2006-11-11 Daiki Ueno <ueno@unixuser.org>
307 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
308 mode is set for a cleartext signature.
309 (epg-make-context): New slot "sig-notations".
310 (epg--args-from-sig-notations): New function.
311 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
313 (epg-start-encrypt): Ditto.
314 (epg-make-signature): New slot "notations".
315 (epg--status-NOTATION_NAME): New function.
316 (epg--status-NOTATION_DATA): New function.
317 (epg--status-POLICY_URL): New function.
319 2006-10-29 Daiki Ueno <ueno@unixuser.org>
321 * EasyPG: Version 0.0.7 released.
322 * epg-config.el (epg-version-number): Bump up.
323 * configure.ac: Bump up version.
325 2006-10-29 Daiki Ueno <ueno@unixuser.org>
328 (epa-file-cache-passphrase-for-symmetric-encryption): New user
331 2006-10-12 Daiki Ueno <ueno@unixuser.org>
333 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
334 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
336 2006-09-29 Daiki Ueno <ueno@unixuser.org>
338 * EasyPG: Version 0.0.6 released.
339 * epg.el (epg-version-number): Bump up.
340 * configure.ac: Bump up version.
342 2006-09-29 Daiki Ueno <ueno@unixuser.org>
344 * epa.el (epa-verify-cleartext-in-region): Renamed from
345 epa-verify-armor-in-region.
347 * epg.el (epg-passphrase-callback-function): Suggest to use
348 epa-passphrase-callback-function instead.
349 (epg-start-verify): Don't specify --verify if SIGNATURE is a
350 normal or a clear text signature.
351 (epg-verify-file): Mention that the plaintext will be stored into
352 the file PLAIN after successful verification.
353 (epg-verify-string): Mention that the plaintext will be returned
354 after successful verification.
356 2006-09-27 Daiki Ueno <ueno@unixuser.org>
358 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
359 (epa-file-write-region): Ditto.
361 * epa.el (epa-decrypt-file): Set callbacks.
362 (epa-sign-file): Ditto.
363 (epa-encrypt-file): Ditto.
364 (epa-decrypt-region): Ditto.
365 (epa-sign-region): Ditto.
366 (epa-encrypt-region): Ditto.
367 (epa-sign-keys): Ditto.
369 * epg.el (epg-progress-callback-function): Removed.
371 2006-09-24 Daiki Ueno <ueno@unixuser.org>
373 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
374 (epa-progress-callback-function): Ditto.
375 * epg.el (epg-passphrase-callback-function): Made it obsolete.
376 (epg-progress-callback-function): Ditto.
378 2006-09-23 Daiki Ueno <ueno@unixuser.org>
380 * epg.el (epg-start-decrypt): Append "--" to the end of options.
381 (epg-start-verify): Ditto.
382 (epg-start-sign): Ditto.
383 (epg-start-encrypt): Ditto.
384 (epg-start-import-keys): Ditto.
385 (epg-start-generate-key): Ditto.
387 2006-09-23 Daiki Ueno <ueno@unixuser.org>
389 * epg.el (epg-make-context): Don't set progress-callback by
391 (epg--start): Don't specify --enable-progress-filter if
392 progress-callback is not set.
393 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
396 2006-09-15 Daiki Ueno <ueno@unixuser.org>
398 * epg.el (epg-progress-callback-function): Show the percentage.
400 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
402 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
404 2006-09-13 Daiki Ueno <ueno@unixuser.org>
406 * epg-config.el (epg-passphrase-coding-system): Renamed from
407 epg-locale-coding-system.
409 2006-09-11 Daiki Ueno <ueno@unixuser.org>
411 * epa-file.el (epa-file-decode-and-insert): New function which
412 utilizes decode-coding-inserted-region if available.
413 (epa-file-insert-file-contents): Use it.
415 * epg.el (epg--start): Specify --enable-progress-filter in
417 (epg-progress-callback-function): Remove a couple of %%'s.
419 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
421 * epg-config.el (epg-configuration): Fixed the last change;
422 collect configuration other than group and algorithm.
424 2006-09-05 Daiki Ueno <ueno@unixuser.org>
426 * epg-config.el (epg-debug): Moved from epg.el.
427 (epg-configuration): Parse group configuration.
428 (epg-expand-group): New function.
430 2006-09-04 Daiki Ueno <ueno@unixuser.org>
432 * EasyPG: Version 0.0.5 released.
433 * epg.el (epg-version-number): Bump up.
434 * configure.ac: Bump up version.
436 2006-09-04 Daiki Ueno <ueno@unixuser.org>
438 * epg-config.el (epg-locale-coding-system): New user option.
440 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
441 (epg--clear-string): New function.
442 (epg--status-GET_HIDDEN): Encode passphrase with
443 terminal-coding-system.
445 * epg-config.el (epg-gpg-minimum-version): New constant.
446 (epg-config--parse-version): New function.
447 (epg-config--compare-version): New function.
448 (epg-configuration): Respect epg-gpg-home-directory.
450 2006-09-03 Daiki Ueno <ueno@unixuser.org>
452 * epg-config.el: New file; moved GnuPG configuration check from
455 2006-09-02 Daiki Ueno <ueno@unixuser.org>
457 * epg.el (epg-check-configuration): New function.
458 (epg-gpg-home-directory): New user option.
460 * pgg-epg.el (pgg-epg-lookup-key): New function.
462 2006-07-29 Daiki Ueno <ueno@unixuser.org>
464 * EasyPG: Version 0.0.4 released.
465 * epg.el (epg-version-number): Bump up.
466 * configure.ac: Bump up version.
468 2006-07-29 Daiki Ueno <ueno@unixuser.org>
470 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
472 2006-07-28 Daiki Ueno <ueno@unixuser.org>
474 * epg.el (epg-start-encrypt): Extract primary key ID from
476 Thanks to Steve Youngs <steve@sxemacs.org>
478 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
479 give CONTEXT to epg-list-keys.
480 Thanks to Steve Youngs <steve@sxemacs.org>
482 2006-07-18 Daiki Ueno <ueno@unixuser.org>
484 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
485 epg-process-filter-running instead of epg-pgp50i-status; Don't
486 save-excursion during handler execution.
487 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
488 don't allow process input.
489 (epg-pgp50i--parse-time): New function.
490 (epg-pgp50i--status-BAD_SIGNATURE): New function.
492 * epg.el (epg--process-filter): Don't save-excursion during
495 2006-07-18 Daiki Ueno <ueno@unixuser.org>
497 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
499 * epg.el (epg-process-filter-running): New variable.
500 (epg--start): Setup epg-process-filter-running.
501 (epg--process-filter): Allow only one status handler to run at a
502 time; update epg-read-point everytime the point changes.
504 2006-07-14 Daiki Ueno <ueno@unixuser.org>
506 * epg-pgp50i.el: New file.
508 2006-07-13 Daiki Ueno <ueno@unixuser.org>
510 * acinclude.m4 (AC_PATH_GPG): New macro.
511 * configure.ac: Check gpg version.
512 Suggested by Max Froumentin <max@lapin-bleu.net>
514 2006-07-10 Daiki Ueno <ueno@unixuser.org>
516 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
517 (epg-signature-to-string): Remove a trailing whitespace.
519 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
520 (epa-toggle-mark): New command.
522 2006-07-04 Daiki Ueno <ueno@unixuser.org>
524 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
525 with pgg-default-user-id.
526 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
528 2006-07-01 Daiki Ueno <ueno@unixuser.org>
530 * epa.el (epa-select-keys): If SECRET is specified, select a
531 primary secret key by default.
533 2006-06-29 Daiki Ueno <ueno@unixuser.org>
535 * EasyPG: Version 0.0.3 released.
536 * epg.el (epg-version-number): Bump up.
537 * configure.ac: Bump up version.
539 2006-06-12 Daiki Ueno <ueno@unixuser.org>
541 * epa-file.el (epa-file-insert-file-contents): Don't move the
542 point to the end of the inserted region.
543 Reported by doug <douglas.bagley@gmail.com>
545 2006-06-01 Daiki Ueno <ueno@unixuser.org>
547 * epa-file.el (epa-file-insert-file-contents): Support partial read.
549 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
551 * epa-file.el (epa-file-write-region): Encode the plain text with
552 coding-system-for-write.
554 2006-05-30 Daiki Ueno <ueno@unixuser.org>
556 * epa-file.el (epa-file-insert-file-contents):
557 Decode the decrypted text with coding-system-for-read.
559 2006-05-29 Daiki Ueno <ueno@unixuser.org>
561 * EasyPG: Version 0.0.2 released.
562 * epg.el (epg-version-number): Bump up.
563 * configure.ac: Bump up version.
565 2006-05-29 Daiki Ueno <ueno@unixuser.org>
567 * epg.el (epg--time-from-seconds): New function.
568 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
569 (epg--status-VALIDSIG): Ditto.
570 (epg--status-KEYEXPIRED): Ditto.
572 2006-05-28 Daiki Ueno <ueno@unixuser.org>
574 * epg.el (epg-start-import-keys): Don't specify filename if keys
577 2006-05-27 Daiki Ueno <ueno@unixuser.org>
579 * epg.el (epg--process-filter): Pass epg-context instead of
580 process to status handlers.
581 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
582 matches with the given key-id.
584 2006-05-26 Daiki Ueno <ueno@unixuser.org>
586 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
587 status from 'error to 'no-pubkey.
588 (epg--status-ERRSIG): Just add 'error signature to the verify result.
590 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
591 disable inhibit-quit here; make text-properties nonsticky.
592 (epa-popup-info-window): New user option.
593 (epa-info-window-height): New user option.
594 (epa-display-verify-result): New function.
595 (epa-decrypt-file): Use it.
596 (epa-verify-file): Use it.
597 (epa-decrypt-region): Use it.
598 (epa-verify-region): Use it.
600 * epg.el (epg-make-context): New slot "operation".
601 (epg-passphrase-callback-function): Confirm passphrase when
602 performing symmetric encryption.
604 2006-05-25 Daiki Ueno <ueno@unixuser.org>
606 * epa.el (epa-decrypt-file): Display verify result if the message
608 (epa-decrypt-region): New command.
609 (epa-verify-region): New command.
610 (epa-decrypt-armor-in-region): New command.
611 (epa-verify-armor-in-region): New command.
612 (epa-sign-region): New command.
613 (epa-encrypt-region): New command.
615 2006-05-11 Daiki Ueno <ueno@unixuser.org>
617 * epa.el (epa-armor): New user option.
618 (epa-textmode): New user option.
620 2006-05-02 Daiki Ueno <ueno@unixuser.org>
622 * epg.el (epg-make-key-signature): New object epg-key-signature.
623 (epg-list-keys): Collect key signatures.
624 (epg-make-sub-key): Renamed secret -> secret-p.
625 (epg-list-keys-postprocess-one-key): Abolished.
626 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
627 signatures by itself.
628 (epg-no-data-reason-alist): New constant.
629 (epg-unexpected-reason-alist): New constant.
631 2006-05-01 Daiki Ueno <ueno@unixuser.org>
633 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
634 (epg-delete-problem-reason-alist): Renamed.
635 (epg-import-ok-reason-alist): New constant.
636 (epg-import-problem-reason-alist): New constant.
637 (epg-status-IMPORTED): New function.
638 (epg-status-IMPORT_OK): New function.
639 (epg-status-IMPORT_PROBLEM): New function.
640 (epg-start-import-keys): Don't use a temporary output file.
641 (epg-start-receive-keys): New function.
642 (epg-import-keys-from-server): New function.
643 (epg-receive-keys): Alias to epg-import-keys-from-server.
645 2006-05-01 Daiki Ueno <ueno@unixuser.org>
647 * epg.el (epg-start): Signal an error if the process of CONTEXT is
648 already running for other operations.
649 (epg-flush): Abolished.
650 (epg-start-generate-key): New function.
651 (epg-generate-key-from-file): New function.
652 (epg-generate-key-from-string): New function.
653 (epg-status-KEY_CREATED): New function.
654 (epg-status-KEY_NOT_CREATED): New function.
655 (epg-new-signature-type-alist): New variable.
656 (epg-make-new-signature): New object epg-new-signature.
657 (epg-status-SIG_CREATED): Set epg-new-signature object.
658 (epg-new-signature-to-string): New function.
659 (epg-make-signature): Added slots for signature class and version.
660 (epg-start-sign): Fixed rule of the MODE argument.
662 2006-04-30 Daiki Ueno <ueno@unixuser.org>
664 * epa.el (epa-delete-keys): Support deletion of secret keys.
666 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
669 * epg.el (epg-read-output): Don't convert line endings of the
671 (epg-cancel): Set 'error result.
673 2006-04-29 Daiki Ueno <ueno@unixuser.org>
675 * epg.el (epg-make-signature): Removed user-id; added
676 creation-time, expiration-time, pubkey-algorithm,
678 (epg-process-sentinel): Abolished.
679 (epg-signature-to-string): Decode DN.
680 (epg-list-keys): Cache user-id in epg-user-id-alist.
681 (epg-make-user-id): Renamed name -> string.
683 2006-04-29 Daiki Ueno <ueno@unixuser.org>
685 * epg.el (epg-status-ERRSIG): New function.
686 (epg-verify-file): Signal an error if we encounter ERRSIG status.
687 (epg-verify-string): Ditto.
689 2006-04-28 Daiki Ueno <ueno@unixuser.org>
691 * epg.el: Added typecheck to accessors to objects.
693 2006-04-26 Daiki Ueno <ueno@unixuser.org>
695 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
696 argument of passphrase-callback.
697 (epg-status-PROGRESS): Ditto.
699 2006-04-26 Daiki Ueno <ueno@unixuser.org>
701 * epa.el (epa-select-keys): Don't set inhibit-quit when
702 recursive-edit is called.
703 (epg-cancel): New function.
705 2006-04-25 Daiki Ueno <ueno@unixuser.org>
707 * epg.el (epg-process-sentinel): New function; set 'error if gpg
708 process exited abnormally, but we have not received an error
710 (epg-sign-file): Signal an error only when a signature is not
712 (epg-sign-string): Ditto.
713 (epg-encrypt-file): Signal an error if SIGN is specified and
714 signature is not created.
715 (epg-encrypt-string): Ditto.
717 2006-04-22 Daiki Ueno <ueno@unixuser.org>
719 * epa.el (epa-key-widget-value-create): Decode DN.
720 (epa-list-keys): Add the PROTOCOL argument.
721 (epa-select-keys): Require CONTEXT as the first argument.
723 * epg.el (epg-gpgsm-program): New user option.
724 (epg-dn-type-alist): New variable.
725 (epg-start): Don't specify --command-fd if protocol is CMS.
726 (epg-list-keys): Require CONTEXT as the first argument.
727 (epg-dn-from-string): New function.
728 (epg-decode-dn): New function.
730 2006-04-21 Daiki Ueno <ueno@unixuser.org>
732 * epa.el (epa-sign-keys): New command.
734 * epg.el (epg-start-sign-keys): New function.
735 (epg-sign-keys): New function.
736 (epg-status-GET_HIDDEN): Enable local quit.
737 (epg-status-GET_BOOL): Ditto.
738 (epg-status-GET_LINE): Ditto.
740 2006-04-20 Daiki Ueno <ueno@unixuser.org>
742 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
745 2006-04-20 Daiki Ueno <ueno@unixuser.org>
747 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
748 (pgg-epg-passphrase-callback): New function.
750 * epa.el (epa-select-keys): Added "Cancel" button.
752 2006-04-20 Daiki Ueno <ueno@unixuser.org>
754 * epg.el (epg-signature-to-string): New function.
756 2006-04-20 Daiki Ueno <ueno@unixuser.org>
758 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
760 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
763 * epa.el (epa-select-keys): Added MODE argument.
764 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
766 * epg.el (epg-status-SIG_CREATED): New function.
767 (epg-start-sign): epg-context-signers is now a list of key objects.
768 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
770 2006-04-19 Daiki Ueno <ueno@unixuser.org>
772 * epa.el (epa-verify-file): Show results in minibuffer.
773 * epg.el (epg-debug-buffer): New variable.
774 (epg-flush): New function.
776 2006-04-18 Daiki Ueno <ueno@unixuser.org>
778 * epa.el (epa-export-keys): New command.
779 * epg.el (epg-start-export-keys): Accept a list of epg-key object
782 2006-04-18 Daiki Ueno <ueno@unixuser.org>
784 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
785 (epa-import-key): New command.
787 * epg.el (epg-delete-problem-alist): New constant.
788 (epg-status-DELETE_PROBLEM): New function.
789 (epg-start-delete-key): New function.
790 (epg-delete-key): New function.
791 (epg-wait-for-completion): Add the NO-EOF argument.
793 2006-04-18 Daiki Ueno <ueno@unixuser.org>
795 * epg.el (epg-start): Insert the command-line arguments to the
797 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
798 (epg-start-delete-key): New function.
799 (epg-delete-key): New function.
801 * epa.el (epa-key): New widget.
802 (epa-key-widget-action): New function.
803 (epa-key-widget-value-create): New function.
804 (epa-key-widget-button-face-get): New function.
805 (epa-key-widget-help-echo): New function.
807 2006-04-17 Daiki Ueno <ueno@unixuser.org>
809 * epa-file.el (epa-file-write-region): Check if START is a string.
811 2006-04-17 Daiki Ueno <ueno@unixuser.org>
813 * epa-file.el: Rewritten with file-name-handler.
814 (epa-file-handler): New variable.
815 (epa-file-enable): New command.
816 (epa-file-disable): New command.
818 * epa-setup.el: Call epa-file-enable.
820 2006-04-17 Daiki Ueno <ueno@unixuser.org>
822 * epa-file.el (epa-passphrase): New variable.
823 (epa-file-passphrase-callback-function): New function.
824 (epa-find-file): Reset buffer-undo-list; set
825 buffer-file-coding-system to last-coding-system-used after
828 2006-04-17 Daiki Ueno <ueno@unixuser.org>
830 * epa-file.el (epa-write-file): Try to write region to "/" to get
831 last-coding-system-used to be set.
833 2006-04-17 Daiki Ueno <ueno@unixuser.org>
835 * epa-file.el: New implementation of epf.el.
839 2006-04-17 Daiki Ueno <ueno@unixuser.org>
841 * epa.el (epa-verify-file): Display verify result.
843 * epg.el (epg-invalid-recipients-alist): New variable.
844 (epg-status-INV_RECP): New function.
845 (epg-status-NO_RECP): New function.
847 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
848 epa-verify-file, epa-sign-file, and epa-encrypt-file.
849 (epa-decrypt-file): New function imported from epa-dired.el.
850 (epa-verify-file): New function imported from epa-dired.el.
851 (epa-sign-file): New function imported from epa-dired.el.
852 (epa-encrypt-file): New function imported from epa-dired.el.
854 2006-04-16 Daiki Ueno <ueno@unixuser.org>
856 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
858 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
860 2006-04-16 Daiki Ueno <ueno@unixuser.org>
862 * epa-setup.el: New file.
863 * epa-dired.el: New file.
865 * epg.el (epg-colons-pub-spec): Abolished.
866 (epg-colons-sec-spec): Abolished.
867 (epg-colons-uid-spec): Abolished.
868 (epg-colons-fpr-spec): Abolished.
869 (epg-key-validity-alist): New variable.
870 (epg-key-capablity-alist): New variable.
871 (epg-make-key): New object epg-key.
872 (epg-make-sub-key): New object epg-sub-key.
873 (epg-make-user-id): New object epg-user-id.
874 (epg-list-keys-1): Renamed from epg-list-keys.
875 (epg-list-keys): Rewritten.
877 2006-04-15 Daiki Ueno <ueno@unixuser.org>
879 * epg.el (epg-list-keys): Make the NAME argument optional.
881 2006-04-13 Daiki Ueno <ueno@unixuser.org>
883 * epa.el: Added header.
885 * epg.el (epg-list-keys): Specify --with-fingerprint.
886 (epg-colons-fpr-spec): New variable.
887 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
889 (epg-colons-sec-spec): Ditto.
890 (epg-colons-uid-spec): Renamed trust -> validity.
892 2006-04-13 Daiki Ueno <ueno@unixuser.org>
896 * epg.el (epg-cipher-algorithm-alist): New constant.
897 (epg-pubkey-algorithm-alist): New constant.
898 (epg-digest-algorithm-alist): New constant.
899 (epg-compress-algorithm-alist): New constant.
900 (epg-configuration): New function.
901 (epg-start): Don't specify --yes.
903 2006-04-13 Daiki Ueno <ueno@unixuser.org>
905 * epg.el (epg-make-data-from-file): New function.
906 (epg-make-data-from-string): New function.
907 (epg-data-file): New function.
908 (epg-data-string): New function.
909 (epg-start-decrypt): Get a cipher text from a data object.
910 (epg-delete-output-file): New function.
911 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
913 (epg-start-verify): Get a signature and signed-text from a data
915 (epg-verify-file): Added the 3rd argument PLAIN to specify where
916 the output goes; return the plain text if PLAIN is nil.
917 (epg-verify-string): Return the plain text.
918 (epg-start-sign): Get a plain text from a data object.
919 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
921 (epg-start-encrypt): Get a plain text from a data object.
922 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
924 (epg-start-import-keys): Get keys from a data object.
925 (epg-import-keys-1): New function.
926 (epg-import-keys-from-file): Use it.
927 (epg-import-keys-from-string): Use it.
929 2006-04-12 Daiki Ueno <ueno@unixuser.org>
931 * epf.el: Renamed from epg-file.el.
933 2006-04-12 Daiki Ueno <ueno@unixuser.org>
935 * epg.el (epg-status-GET_BOOL): New function.
936 (epg-status-GET_LINE): New function.
937 (epg-prompt-alist): New variable, to be filled.
939 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
940 * epg.el (epg-signature-fingerprint): New function.
941 (epg-signature-set-fingerprint): New function.
942 (epg-status-VALIDSIG): New function.
944 * epg.el (epg-reset): Don't reset result.
945 (epg-start-decrypt): Reset result before epg-start.
946 (epg-start-verify): Ditto.
947 (epg-start-sign): Ditto.
948 (epg-start-encrypt): Ditto.
949 (epg-start-export-keys): Ditto.
950 (epg-start-import-keys): Ditto.
952 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
953 * pgg-epg.el: New file.
955 * epg.el (epg-start-export-keys): New function.
956 (epg-export-keys): New function.
957 (epg-start-import-keys): New function.
958 (epg-import-keys): New function.
959 (epg-verify-file): New function.
961 * epg-file.el (epg-file-write-region): Support public key encryption.
963 * epg.el (epg-passphrase-callback-function): Always display key-id.