1 2007-03-08 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg--start): Make the process-buffer unibyte.
4 (epg--status-USERID_HINT): Decode user-id.
5 (epg--status-IMPORTED): Decode user-id.
7 2007-03-07 Daiki Ueno <ueno@unixuser.org>
9 * epg.el (epg--start): Don't specify --use-agent if the protocol
10 is CMS; set coding-system-for-read to binary.
11 (epg--status-*SIG): Decode user-id.
13 2007-02-02 Daiki Ueno <ueno@unixuser.org>
15 * epa-file.el (epa-file-write-region): Set a dummy filename
16 for buffer-file-name when calling select-safe-coding-system.
18 2007-01-30 Daiki Ueno <ueno@unixuser.org>
20 * epg.el (epg-last-status): New variable.
21 (epg--process-filter): Set epg-last-status after calling a status
23 (epg--prompt-GET_BOOL): New function.
24 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
25 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
28 2007-01-29 Daiki Ueno <ueno@unixuser.org>
30 * EasyPG: Version 0.0.10 released.
31 * configure.ac: Bump up version.
33 2007-01-29 Daiki Ueno <ueno@unixuser.org>
35 * epg-config.el: Require epg-package-info.
36 * configure.ac: Generate epg-package-info.el.
37 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
38 * COMPILE (epg-modules): Added epg-package-info.
39 * epg-package-info.el.in: New file.
41 2007-01-29 Daiki Ueno <ueno@unixuser.org>
43 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
44 * epa.el: Removed epa-*-mail stuff.
45 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
46 * COMPILE (epg-modules): Added epa-mail.
47 * epa-mail.el: New file.
49 2007-01-05 Daiki Ueno <ueno@unixuser.org>
51 * epg-pgp50i.el: Removed.
53 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
54 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
57 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
59 (epg--make-sub-key-1): Ditto.
60 (epg--decode-hexstring): "\\x" -> "\\\\x".
61 (epg--decode-quotedstring): Ditto.
63 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
64 recipient whose public key is not available.
65 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
66 recipient whose public key is not available.
68 2007-01-04 Daiki Ueno <ueno@unixuser.org>
70 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
71 (epa-verify-mail): Renamed from epa-verify.
72 (epa-sign-mail): Renamed from epa-sign.
73 (epa-encrypt-mail): Renamed from epa-encrypt.
74 (epa-import-mail): Renamed from epa-import.
76 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
78 * epg.el (epg-signature-to-string): Print creation-time and used
80 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
81 fallback to use a temp file as an input.
82 (epg-encrypt-string): Ditto.
84 2006-12-31 Daiki Ueno <ueno@unixuser.org>
86 * epa.el (epa-mail-modes): New user option.
87 (epa--mail-mode-p): New function.
89 (epa-encrypt): Use it.
90 (epa--find-coding-system-for-mime-charset): New function.
91 (epa-decrypt-armor-in-region): Use it.
92 (epa-progress-callback-function): Use handback as the prompt.
93 (epa-encrypt-region): Take 4th argument SIGN.
96 2006-12-31 Daiki Ueno <ueno@unixuser.org>
98 * epa.el (epa--derived-mode-p): New alias.
100 (epa-encrypt): Use it.
102 2006-12-31 Daiki Ueno <ueno@unixuser.org>
104 * epa.el (epa--read-signature-type): New function.
105 (epa-decrypt): New command.
106 (epa-verify): New command.
107 (epa-sign): New command.
108 (epa-encrypt): New command.
109 (epa-import-armor-in-region): New command.
110 (epa-import): New command.
111 (epa-decrypt-region): Confirm user to replace the region.
112 (epa-display-info): Delete "*Info*" window.
114 2006-12-29 Daiki Ueno <ueno@unixuser.org>
116 * EasyPG: Version 0.0.9 released.
117 * epg-config.el (epg-version-number): Bump up.
118 * configure.ac: Bump up version.
120 2006-12-28 Daiki Ueno <ueno@unixuser.org>
122 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
123 is given; ask signature type only when a prefix arg is given.
124 (epa-sign-region): Ditto.
126 2006-12-26 Daiki Ueno <ueno@unixuser.org>
128 * epg-config.el (epg-passphrase-coding-system): Default to nil.
130 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
132 * epa.el (epa--format-fingerprint-1): New function.
133 (epa--format-fingerprint): Ditto.
134 (epa--show-key): Use it.
136 2006-12-20 Daiki Ueno <ueno@unixuser.org>
138 * epa-file.el (epa-file-write-region): Don't attempt to write the
139 region to "/" to determine safe coding-system.
141 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
142 (epa-sign-file): Save the output to *.p7s or *.p7m file if
144 (epa-encrypt-file): Ditto.
145 (epa-last-coding-system-specified): New variable.
146 (epa-decrypt-region): Try to decode with the
147 epa-coding-system-used text property.
148 (epa--select-safe-coding-system): New function.
149 (epa-verify-region): Try to decode with the epa-coding-system-used
151 (epa-sign-region): Query user to select coding-system to encode;
152 set the epa-coding-system-used text property on the result.
153 (epa-encrypt-region): Ditto.
155 2006-12-19 Daiki Ueno <ueno@unixuser.org>
157 * epg.el (epg-export-keys-to-file): Fixed a typo.
159 * epa.el (epa-protocol): New user option.
160 (epa-sign-region): --armor & --textmode.
161 (epa-encrypt-region): Ditto.
162 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
164 (epa-import-keys-region): New command.
165 (epa-insert-keys): New command.
166 (epa--insert-keys): Renamed from epa-insert-keys.
168 2006-12-11 Daiki Ueno <ueno@unixuser.org>
170 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
171 decode-coding-string if it is not bound.
173 * epa-file.el (epa-file--encode-coding-string): New alias.
174 (epa-file--decode-coding-string): New alias.
175 (epa-file-write-region): Use epa-file--encode-coding-string.
176 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
178 * epa.el (epa--encode-coding-string): New alias.
179 (epa--decode-coding-string): New alias.
180 (epa-verify-region): Use epa--encode-coding-string.
181 (epa-sign-region): Ditto; use epa--decode-coding-string.
182 (epa-encrypt-region): Use epa--encode-coding-string.
184 * epg.el (epg--encode-coding-string): New alias.
185 (epg--status-GET_HIDDEN): Use it.
187 2006-11-29 Daiki Ueno <ueno@unixuser.org>
189 * EasyPG: Version 0.0.8 released.
190 * epg-config.el (epg-version-number): Bump up.
191 * configure.ac: Bump up version.
193 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
195 * epa-file.el (epa-file-encrypt-to): New file local variable.
196 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
198 2006-11-26 Daiki Ueno <ueno@unixuser.org>
200 * epa.el (epa-sign-file): Query signature type at a time.
201 (epa-decrypt-file): Display output file name on completion.
202 (epa-sign-file): Ditto.
203 (epa-encrypt-file): Ditto.
205 2006-11-25 Daiki Ueno <ueno@unixuser.org>
207 * epa.el (epa-keys-mode): Don't call widget-setup.
208 (epa-list-keys): Call widget-setup here.
209 (epa-select-keys): Ditto.
211 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
213 * epg.el (epg-delete-keys): Remove redundant argument for `error'
214 and fix a close parenthesis.
216 2006-11-24 Daiki Ueno <ueno@unixuser.org>
218 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
219 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
220 cf. <emacs-mime-ja:02090>
222 2006-11-23 Daiki Ueno <ueno@unixuser.org>
224 * epa.el (epa-sign-region): Query signature type at a time.
226 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
228 * epg.el (epg-context-set-passphrase-callback): Add optional
230 (epg-context-set-progress-callback): Ditto.
232 2006-11-14 Daiki Ueno <ueno@unixuser.org>
234 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
235 (epa--show-key): Ditto.
236 Reported by Werner Koch <wk@gnupg.org>.
238 * epg.el (epg--start): Don't specify --enable-progress-filter for
240 (epg--status-PROGRESS): Check if progress-callback is set.
242 2006-11-12 Daiki Ueno <ueno@unixuser.org>
244 * epg.el (epg-error): New error.
245 (epg--check-error-for-decrypt): New function.
246 (epg-decrypt-file): Use it.
247 (epg-decrypt-string): Use it.
248 (epg--start): Added a very basic test to check whether to specify
251 * epa.el (epa-decrypt-file): Expand file name.
252 (epa-verify-file): Ditto.
253 (epa-import-keys): Ditto.
255 2006-11-12 Daiki Ueno <ueno@unixuser.org>
257 * epg.el (epg-delete-keys): Decode delete-problem.
259 * epa.el (epa-popup-info-window): Turn on by default.
260 (epa-display-info): Split selected window instead of pop-to-buffer.
262 2006-11-12 Daiki Ueno <ueno@unixuser.org>
264 * epa.el (epa-display-info): Generalized; renamed from
265 epa-display-verify-result.
266 (epa-decrypt-file): Use it.
267 (epa-verify-file): Use it.
268 (epa-decrypt-region): Use it.
269 (epa-verify-region): Use it.
270 (epa-import-keys): Show import result.
271 (epa-display-verify-result): Make it obsolete.
273 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
275 (epg-sign-keys): Make it obsolete.
276 (epg-make-import-status): New object epg-import-status.
277 (epg-make-import-result): New object epg-import-result.
278 (epg--status-IMPORT_RES): New function.
279 (epg-import-result-to-string): New function.
281 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
282 (epa-sign-keys): Make it obsolete.
284 2006-11-11 Daiki Ueno <ueno@unixuser.org>
286 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
287 mode is set for a cleartext signature.
288 (epg-make-context): New slot "sig-notations".
289 (epg--args-from-sig-notations): New function.
290 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
292 (epg-start-encrypt): Ditto.
293 (epg-make-signature): New slot "notations".
294 (epg--status-NOTATION_NAME): New function.
295 (epg--status-NOTATION_DATA): New function.
296 (epg--status-POLICY_URL): New function.
298 2006-10-29 Daiki Ueno <ueno@unixuser.org>
300 * EasyPG: Version 0.0.7 released.
301 * epg-config.el (epg-version-number): Bump up.
302 * configure.ac: Bump up version.
304 2006-10-29 Daiki Ueno <ueno@unixuser.org>
307 (epa-file-cache-passphrase-for-symmetric-encryption): New user
310 2006-10-12 Daiki Ueno <ueno@unixuser.org>
312 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
313 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
315 2006-09-29 Daiki Ueno <ueno@unixuser.org>
317 * EasyPG: Version 0.0.6 released.
318 * epg.el (epg-version-number): Bump up.
319 * configure.ac: Bump up version.
321 2006-09-29 Daiki Ueno <ueno@unixuser.org>
323 * epa.el (epa-verify-cleartext-in-region): Renamed from
324 epa-verify-armor-in-region.
326 * epg.el (epg-passphrase-callback-function): Suggest to use
327 epa-passphrase-callback-function instead.
328 (epg-start-verify): Don't specify --verify if SIGNATURE is a
329 normal or a clear text signature.
330 (epg-verify-file): Mention that the plaintext will be stored into
331 the file PLAIN after successful verification.
332 (epg-verify-string): Mention that the plaintext will be returned
333 after successful verification.
335 2006-09-27 Daiki Ueno <ueno@unixuser.org>
337 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
338 (epa-file-write-region): Ditto.
340 * epa.el (epa-decrypt-file): Set callbacks.
341 (epa-sign-file): Ditto.
342 (epa-encrypt-file): Ditto.
343 (epa-decrypt-region): Ditto.
344 (epa-sign-region): Ditto.
345 (epa-encrypt-region): Ditto.
346 (epa-sign-keys): Ditto.
348 * epg.el (epg-progress-callback-function): Removed.
350 2006-09-24 Daiki Ueno <ueno@unixuser.org>
352 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
353 (epa-progress-callback-function): Ditto.
354 * epg.el (epg-passphrase-callback-function): Made it obsolete.
355 (epg-progress-callback-function): Ditto.
357 2006-09-23 Daiki Ueno <ueno@unixuser.org>
359 * epg.el (epg-start-decrypt): Append "--" to the end of options.
360 (epg-start-verify): Ditto.
361 (epg-start-sign): Ditto.
362 (epg-start-encrypt): Ditto.
363 (epg-start-import-keys): Ditto.
364 (epg-start-generate-key): Ditto.
366 2006-09-23 Daiki Ueno <ueno@unixuser.org>
368 * epg.el (epg-make-context): Don't set progress-callback by
370 (epg--start): Don't specify --enable-progress-filter if
371 progress-callback is not set.
372 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
375 2006-09-15 Daiki Ueno <ueno@unixuser.org>
377 * epg.el (epg-progress-callback-function): Show the percentage.
379 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
381 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
383 2006-09-13 Daiki Ueno <ueno@unixuser.org>
385 * epg-config.el (epg-passphrase-coding-system): Renamed from
386 epg-locale-coding-system.
388 2006-09-11 Daiki Ueno <ueno@unixuser.org>
390 * epa-file.el (epa-file-decode-and-insert): New function which
391 utilizes decode-coding-inserted-region if available.
392 (epa-file-insert-file-contents): Use it.
394 * epg.el (epg--start): Specify --enable-progress-filter in
396 (epg-progress-callback-function): Remove a couple of %%'s.
398 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
400 * epg-config.el (epg-configuration): Fixed the last change;
401 collect configuration other than group and algorithm.
403 2006-09-05 Daiki Ueno <ueno@unixuser.org>
405 * epg-config.el (epg-debug): Moved from epg.el.
406 (epg-configuration): Parse group configuration.
407 (epg-expand-group): New function.
409 2006-09-04 Daiki Ueno <ueno@unixuser.org>
411 * EasyPG: Version 0.0.5 released.
412 * epg.el (epg-version-number): Bump up.
413 * configure.ac: Bump up version.
415 2006-09-04 Daiki Ueno <ueno@unixuser.org>
417 * epg-config.el (epg-locale-coding-system): New user option.
419 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
420 (epg--clear-string): New function.
421 (epg--status-GET_HIDDEN): Encode passphrase with
422 terminal-coding-system.
424 * epg-config.el (epg-gpg-minimum-version): New constant.
425 (epg-config--parse-version): New function.
426 (epg-config--compare-version): New function.
427 (epg-configuration): Respect epg-gpg-home-directory.
429 2006-09-03 Daiki Ueno <ueno@unixuser.org>
431 * epg-config.el: New file; moved GnuPG configuration check from
434 2006-09-02 Daiki Ueno <ueno@unixuser.org>
436 * epg.el (epg-check-configuration): New function.
437 (epg-gpg-home-directory): New user option.
439 * pgg-epg.el (pgg-epg-lookup-key): New function.
441 2006-07-29 Daiki Ueno <ueno@unixuser.org>
443 * EasyPG: Version 0.0.4 released.
444 * epg.el (epg-version-number): Bump up.
445 * configure.ac: Bump up version.
447 2006-07-29 Daiki Ueno <ueno@unixuser.org>
449 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
451 2006-07-28 Daiki Ueno <ueno@unixuser.org>
453 * epg.el (epg-start-encrypt): Extract primary key ID from
455 Thanks to Steve Youngs <steve@sxemacs.org>
457 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
458 give CONTEXT to epg-list-keys.
459 Thanks to Steve Youngs <steve@sxemacs.org>
461 2006-07-18 Daiki Ueno <ueno@unixuser.org>
463 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
464 epg-process-filter-running instead of epg-pgp50i-status; Don't
465 save-excursion during handler execution.
466 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
467 don't allow process input.
468 (epg-pgp50i--parse-time): New function.
469 (epg-pgp50i--status-BAD_SIGNATURE): New function.
471 * epg.el (epg--process-filter): Don't save-excursion during
474 2006-07-18 Daiki Ueno <ueno@unixuser.org>
476 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
478 * epg.el (epg-process-filter-running): New variable.
479 (epg--start): Setup epg-process-filter-running.
480 (epg--process-filter): Allow only one status handler to run at a
481 time; update epg-read-point everytime the point changes.
483 2006-07-14 Daiki Ueno <ueno@unixuser.org>
485 * epg-pgp50i.el: New file.
487 2006-07-13 Daiki Ueno <ueno@unixuser.org>
489 * acinclude.m4 (AC_PATH_GPG): New macro.
490 * configure.ac: Check gpg version.
491 Suggested by Max Froumentin <max@lapin-bleu.net>
493 2006-07-10 Daiki Ueno <ueno@unixuser.org>
495 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
496 (epg-signature-to-string): Remove a trailing whitespace.
498 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
499 (epa-toggle-mark): New command.
501 2006-07-04 Daiki Ueno <ueno@unixuser.org>
503 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
504 with pgg-default-user-id.
505 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
507 2006-07-01 Daiki Ueno <ueno@unixuser.org>
509 * epa.el (epa-select-keys): If SECRET is specified, select a
510 primary secret key by default.
512 2006-06-29 Daiki Ueno <ueno@unixuser.org>
514 * EasyPG: Version 0.0.3 released.
515 * epg.el (epg-version-number): Bump up.
516 * configure.ac: Bump up version.
518 2006-06-12 Daiki Ueno <ueno@unixuser.org>
520 * epa-file.el (epa-file-insert-file-contents): Don't move the
521 point to the end of the inserted region.
522 Reported by doug <douglas.bagley@gmail.com>
524 2006-06-01 Daiki Ueno <ueno@unixuser.org>
526 * epa-file.el (epa-file-insert-file-contents): Support partial read.
528 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
530 * epa-file.el (epa-file-write-region): Encode the plain text with
531 coding-system-for-write.
533 2006-05-30 Daiki Ueno <ueno@unixuser.org>
535 * epa-file.el (epa-file-insert-file-contents):
536 Decode the decrypted text with coding-system-for-read.
538 2006-05-29 Daiki Ueno <ueno@unixuser.org>
540 * EasyPG: Version 0.0.2 released.
541 * epg.el (epg-version-number): Bump up.
542 * configure.ac: Bump up version.
544 2006-05-29 Daiki Ueno <ueno@unixuser.org>
546 * epg.el (epg--time-from-seconds): New function.
547 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
548 (epg--status-VALIDSIG): Ditto.
549 (epg--status-KEYEXPIRED): Ditto.
551 2006-05-28 Daiki Ueno <ueno@unixuser.org>
553 * epg.el (epg-start-import-keys): Don't specify filename if keys
556 2006-05-27 Daiki Ueno <ueno@unixuser.org>
558 * epg.el (epg--process-filter): Pass epg-context instead of
559 process to status handlers.
560 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
561 matches with the given key-id.
563 2006-05-26 Daiki Ueno <ueno@unixuser.org>
565 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
566 status from 'error to 'no-pubkey.
567 (epg--status-ERRSIG): Just add 'error signature to the verify result.
569 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
570 disable inhibit-quit here; make text-properties nonsticky.
571 (epa-popup-info-window): New user option.
572 (epa-info-window-height): New user option.
573 (epa-display-verify-result): New function.
574 (epa-decrypt-file): Use it.
575 (epa-verify-file): Use it.
576 (epa-decrypt-region): Use it.
577 (epa-verify-region): Use it.
579 * epg.el (epg-make-context): New slot "operation".
580 (epg-passphrase-callback-function): Confirm passphrase when
581 performing symmetric encryption.
583 2006-05-25 Daiki Ueno <ueno@unixuser.org>
585 * epa.el (epa-decrypt-file): Display verify result if the message
587 (epa-decrypt-region): New command.
588 (epa-verify-region): New command.
589 (epa-decrypt-armor-in-region): New command.
590 (epa-verify-armor-in-region): New command.
591 (epa-sign-region): New command.
592 (epa-encrypt-region): New command.
594 2006-05-11 Daiki Ueno <ueno@unixuser.org>
596 * epa.el (epa-armor): New user option.
597 (epa-textmode): New user option.
599 2006-05-02 Daiki Ueno <ueno@unixuser.org>
601 * epg.el (epg-make-key-signature): New object epg-key-signature.
602 (epg-list-keys): Collect key signatures.
603 (epg-make-sub-key): Renamed secret -> secret-p.
604 (epg-list-keys-postprocess-one-key): Abolished.
605 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
606 signatures by itself.
607 (epg-no-data-reason-alist): New constant.
608 (epg-unexpected-reason-alist): New constant.
610 2006-05-01 Daiki Ueno <ueno@unixuser.org>
612 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
613 (epg-delete-problem-reason-alist): Renamed.
614 (epg-import-ok-reason-alist): New constant.
615 (epg-import-problem-reason-alist): New constant.
616 (epg-status-IMPORTED): New function.
617 (epg-status-IMPORT_OK): New function.
618 (epg-status-IMPORT_PROBLEM): New function.
619 (epg-start-import-keys): Don't use a temporary output file.
620 (epg-start-receive-keys): New function.
621 (epg-import-keys-from-server): New function.
622 (epg-receive-keys): Alias to epg-import-keys-from-server.
624 2006-05-01 Daiki Ueno <ueno@unixuser.org>
626 * epg.el (epg-start): Signal an error if the process of CONTEXT is
627 already running for other operations.
628 (epg-flush): Abolished.
629 (epg-start-generate-key): New function.
630 (epg-generate-key-from-file): New function.
631 (epg-generate-key-from-string): New function.
632 (epg-status-KEY_CREATED): New function.
633 (epg-status-KEY_NOT_CREATED): New function.
634 (epg-new-signature-type-alist): New variable.
635 (epg-make-new-signature): New object epg-new-signature.
636 (epg-status-SIG_CREATED): Set epg-new-signature object.
637 (epg-new-signature-to-string): New function.
638 (epg-make-signature): Added slots for signature class and version.
639 (epg-start-sign): Fixed rule of the MODE argument.
641 2006-04-30 Daiki Ueno <ueno@unixuser.org>
643 * epa.el (epa-delete-keys): Support deletion of secret keys.
645 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
648 * epg.el (epg-read-output): Don't convert line endings of the
650 (epg-cancel): Set 'error result.
652 2006-04-29 Daiki Ueno <ueno@unixuser.org>
654 * epg.el (epg-make-signature): Removed user-id; added
655 creation-time, expiration-time, pubkey-algorithm,
657 (epg-process-sentinel): Abolished.
658 (epg-signature-to-string): Decode DN.
659 (epg-list-keys): Cache user-id in epg-user-id-alist.
660 (epg-make-user-id): Renamed name -> string.
662 2006-04-29 Daiki Ueno <ueno@unixuser.org>
664 * epg.el (epg-status-ERRSIG): New function.
665 (epg-verify-file): Signal an error if we encounter ERRSIG status.
666 (epg-verify-string): Ditto.
668 2006-04-28 Daiki Ueno <ueno@unixuser.org>
670 * epg.el: Added typecheck to accessors to objects.
672 2006-04-26 Daiki Ueno <ueno@unixuser.org>
674 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
675 argument of passphrase-callback.
676 (epg-status-PROGRESS): Ditto.
678 2006-04-26 Daiki Ueno <ueno@unixuser.org>
680 * epa.el (epa-select-keys): Don't set inhibit-quit when
681 recursive-edit is called.
682 (epg-cancel): New function.
684 2006-04-25 Daiki Ueno <ueno@unixuser.org>
686 * epg.el (epg-process-sentinel): New function; set 'error if gpg
687 process exited abnormally, but we have not received an error
689 (epg-sign-file): Signal an error only when a signature is not
691 (epg-sign-string): Ditto.
692 (epg-encrypt-file): Signal an error if SIGN is specified and
693 signature is not created.
694 (epg-encrypt-string): Ditto.
696 2006-04-22 Daiki Ueno <ueno@unixuser.org>
698 * epa.el (epa-key-widget-value-create): Decode DN.
699 (epa-list-keys): Add the PROTOCOL argument.
700 (epa-select-keys): Require CONTEXT as the first argument.
702 * epg.el (epg-gpgsm-program): New user option.
703 (epg-dn-type-alist): New variable.
704 (epg-start): Don't specify --command-fd if protocol is CMS.
705 (epg-list-keys): Require CONTEXT as the first argument.
706 (epg-dn-from-string): New function.
707 (epg-decode-dn): New function.
709 2006-04-21 Daiki Ueno <ueno@unixuser.org>
711 * epa.el (epa-sign-keys): New command.
713 * epg.el (epg-start-sign-keys): New function.
714 (epg-sign-keys): New function.
715 (epg-status-GET_HIDDEN): Enable local quit.
716 (epg-status-GET_BOOL): Ditto.
717 (epg-status-GET_LINE): Ditto.
719 2006-04-20 Daiki Ueno <ueno@unixuser.org>
721 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
724 2006-04-20 Daiki Ueno <ueno@unixuser.org>
726 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
727 (pgg-epg-passphrase-callback): New function.
729 * epa.el (epa-select-keys): Added "Cancel" button.
731 2006-04-20 Daiki Ueno <ueno@unixuser.org>
733 * epg.el (epg-signature-to-string): New function.
735 2006-04-20 Daiki Ueno <ueno@unixuser.org>
737 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
739 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
742 * epa.el (epa-select-keys): Added MODE argument.
743 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
745 * epg.el (epg-status-SIG_CREATED): New function.
746 (epg-start-sign): epg-context-signers is now a list of key objects.
747 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
749 2006-04-19 Daiki Ueno <ueno@unixuser.org>
751 * epa.el (epa-verify-file): Show results in minibuffer.
752 * epg.el (epg-debug-buffer): New variable.
753 (epg-flush): New function.
755 2006-04-18 Daiki Ueno <ueno@unixuser.org>
757 * epa.el (epa-export-keys): New command.
758 * epg.el (epg-start-export-keys): Accept a list of epg-key object
761 2006-04-18 Daiki Ueno <ueno@unixuser.org>
763 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
764 (epa-import-key): New command.
766 * epg.el (epg-delete-problem-alist): New constant.
767 (epg-status-DELETE_PROBLEM): New function.
768 (epg-start-delete-key): New function.
769 (epg-delete-key): New function.
770 (epg-wait-for-completion): Add the NO-EOF argument.
772 2006-04-18 Daiki Ueno <ueno@unixuser.org>
774 * epg.el (epg-start): Insert the command-line arguments to the
776 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
777 (epg-start-delete-key): New function.
778 (epg-delete-key): New function.
780 * epa.el (epa-key): New widget.
781 (epa-key-widget-action): New function.
782 (epa-key-widget-value-create): New function.
783 (epa-key-widget-button-face-get): New function.
784 (epa-key-widget-help-echo): New function.
786 2006-04-17 Daiki Ueno <ueno@unixuser.org>
788 * epa-file.el (epa-file-write-region): Check if START is a string.
790 2006-04-17 Daiki Ueno <ueno@unixuser.org>
792 * epa-file.el: Rewritten with file-name-handler.
793 (epa-file-handler): New variable.
794 (epa-file-enable): New command.
795 (epa-file-disable): New command.
797 * epa-setup.el: Call epa-file-enable.
799 2006-04-17 Daiki Ueno <ueno@unixuser.org>
801 * epa-file.el (epa-passphrase): New variable.
802 (epa-file-passphrase-callback-function): New function.
803 (epa-find-file): Reset buffer-undo-list; set
804 buffer-file-coding-system to last-coding-system-used after
807 2006-04-17 Daiki Ueno <ueno@unixuser.org>
809 * epa-file.el (epa-write-file): Try to write region to "/" to get
810 last-coding-system-used to be set.
812 2006-04-17 Daiki Ueno <ueno@unixuser.org>
814 * epa-file.el: New implementation of epf.el.
818 2006-04-17 Daiki Ueno <ueno@unixuser.org>
820 * epa.el (epa-verify-file): Display verify result.
822 * epg.el (epg-invalid-recipients-alist): New variable.
823 (epg-status-INV_RECP): New function.
824 (epg-status-NO_RECP): New function.
826 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
827 epa-verify-file, epa-sign-file, and epa-encrypt-file.
828 (epa-decrypt-file): New function imported from epa-dired.el.
829 (epa-verify-file): New function imported from epa-dired.el.
830 (epa-sign-file): New function imported from epa-dired.el.
831 (epa-encrypt-file): New function imported from epa-dired.el.
833 2006-04-16 Daiki Ueno <ueno@unixuser.org>
835 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
837 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
839 2006-04-16 Daiki Ueno <ueno@unixuser.org>
841 * epa-setup.el: New file.
842 * epa-dired.el: New file.
844 * epg.el (epg-colons-pub-spec): Abolished.
845 (epg-colons-sec-spec): Abolished.
846 (epg-colons-uid-spec): Abolished.
847 (epg-colons-fpr-spec): Abolished.
848 (epg-key-validity-alist): New variable.
849 (epg-key-capablity-alist): New variable.
850 (epg-make-key): New object epg-key.
851 (epg-make-sub-key): New object epg-sub-key.
852 (epg-make-user-id): New object epg-user-id.
853 (epg-list-keys-1): Renamed from epg-list-keys.
854 (epg-list-keys): Rewritten.
856 2006-04-15 Daiki Ueno <ueno@unixuser.org>
858 * epg.el (epg-list-keys): Make the NAME argument optional.
860 2006-04-13 Daiki Ueno <ueno@unixuser.org>
862 * epa.el: Added header.
864 * epg.el (epg-list-keys): Specify --with-fingerprint.
865 (epg-colons-fpr-spec): New variable.
866 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
868 (epg-colons-sec-spec): Ditto.
869 (epg-colons-uid-spec): Renamed trust -> validity.
871 2006-04-13 Daiki Ueno <ueno@unixuser.org>
875 * epg.el (epg-cipher-algorithm-alist): New constant.
876 (epg-pubkey-algorithm-alist): New constant.
877 (epg-digest-algorithm-alist): New constant.
878 (epg-compress-algorithm-alist): New constant.
879 (epg-configuration): New function.
880 (epg-start): Don't specify --yes.
882 2006-04-13 Daiki Ueno <ueno@unixuser.org>
884 * epg.el (epg-make-data-from-file): New function.
885 (epg-make-data-from-string): New function.
886 (epg-data-file): New function.
887 (epg-data-string): New function.
888 (epg-start-decrypt): Get a cipher text from a data object.
889 (epg-delete-output-file): New function.
890 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
892 (epg-start-verify): Get a signature and signed-text from a data
894 (epg-verify-file): Added the 3rd argument PLAIN to specify where
895 the output goes; return the plain text if PLAIN is nil.
896 (epg-verify-string): Return the plain text.
897 (epg-start-sign): Get a plain text from a data object.
898 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
900 (epg-start-encrypt): Get a plain text from a data object.
901 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
903 (epg-start-import-keys): Get keys from a data object.
904 (epg-import-keys-1): New function.
905 (epg-import-keys-from-file): Use it.
906 (epg-import-keys-from-string): Use it.
908 2006-04-12 Daiki Ueno <ueno@unixuser.org>
910 * epf.el: Renamed from epg-file.el.
912 2006-04-12 Daiki Ueno <ueno@unixuser.org>
914 * epg.el (epg-status-GET_BOOL): New function.
915 (epg-status-GET_LINE): New function.
916 (epg-prompt-alist): New variable, to be filled.
918 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
919 * epg.el (epg-signature-fingerprint): New function.
920 (epg-signature-set-fingerprint): New function.
921 (epg-status-VALIDSIG): New function.
923 * epg.el (epg-reset): Don't reset result.
924 (epg-start-decrypt): Reset result before epg-start.
925 (epg-start-verify): Ditto.
926 (epg-start-sign): Ditto.
927 (epg-start-encrypt): Ditto.
928 (epg-start-export-keys): Ditto.
929 (epg-start-import-keys): Ditto.
931 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
932 * pgg-epg.el: New file.
934 * epg.el (epg-start-export-keys): New function.
935 (epg-export-keys): New function.
936 (epg-start-import-keys): New function.
937 (epg-import-keys): New function.
938 (epg-verify-file): New function.
940 * epg-file.el (epg-file-write-region): Support public key encryption.
942 * epg.el (epg-passphrase-callback-function): Always display key-id.