1 2007-04-29 Daiki Ueno <ueno@unixuser.org>
3 * epa-file.el (epa-file-write-region): Respect epa-armor and
6 2007-04-26 Daiki Ueno <ueno@unixuser.org>
8 * epg.el (epg--prompt-GET_BOOL-untrusted_key.override): Lookup
9 user-id from epg-user-id-alist.
11 2007-04-22 Daiki Ueno <ueno@unixuser.org>
13 * epa-file.el (epa-file-select-keys): New command.
15 2007-04-21 Daiki Ueno <ueno@unixuser.org>
17 * epa-file.el (epa-file-write-region): Ask recipients only the
19 (epa-file-select-keys): New user option.
21 2007-04-19 Daiki Ueno <ueno@unixuser.org>
23 * epa.el (epa-mark-key): Renamed from epa-mark; signal an error if
24 no key is on the line.
25 (epa-unmark-key): Renamed from epa-unmark.
26 (epa-toggle-mark): Abolished.
28 * epa-file.el (epa-file-insert-file-contents): Guess the value of
29 epa-file-encrypt-to from 'encrypted-to context-result.
30 (epa-file-encrypt-to): Make it permanent local.
32 * epg.el (epg--status-ENC_TO): New function.
34 2007-04-04 Daiki Ueno <ueno@unixuser.org>
35 Chris Moore <dooglus@users.sourceforge.jp>
37 * epa-file.el (epa-file--file-name-regexp-set): New Custom :set
39 (epa-file-name-regexp): Use it.
40 (epa-file-name-regexp-update): New command.
41 (epa-file-name-regexp): Accept backup filenames.
42 Reported by "[ #10192 ] customizing epa-file-name-regexp fails"
44 2007-04-04 Daiki Ueno <ueno@unixuser.org>
46 * epa-file.el (epa-file-find-file-hook): New function.
47 (epa-file-enable): Add epa-file-find-file-hook to find-file-hooks.
48 (epa-file-disable): Remove epa-file-find-file-hook from
51 2007-03-29 Daiki Ueno <ueno@unixuser.org>
53 * EasyPG: Version 0.0.11 released.
54 * configure.ac: Bump up version.
56 2007-03-26 Daiki Ueno <ueno@unixuser.org>
58 * epa.el (epa--insert-keys): Changed arglist. All callers
60 (epa--select-keys): New function.
61 (epa-select-keys): Use it; don't popup menu if keys have elements
64 2007-03-25 Daiki Ueno <ueno@unixuser.org>
66 * epa.el (epa-protocol): defcustom -> defvar.
68 (epa-textmode): Ditto.
70 2007-03-24 Daiki Ueno <ueno@unixuser.org>
72 * epa.el (epa-select-keys): Simplified; don't select the first
74 (epa-key-list-mode-map): Bind revert-buffer instead of
76 (epa-key-list-mode): Set revert-buffer-function to epa--revert-buffer.
77 (epa--revert-buffer): New function.
79 * epg.el (epg--list-keys-1): Accept a list of strings as NAME
81 (epg-list-keys): Ditto.
83 2007-03-21 Daiki Ueno <ueno@unixuser.org>
85 * epa-file.el (epa-file-inhibit-auto-save): New user option.
86 (epa-file-insert-file-contents): Turn off auto-save-mode if
87 epa-file-inhibit-auto-save is non-nil.
88 Reported by "[ #9937] epa-file auto-saves in plain text"
90 * epa.el (epa--list-keys): New function.
91 (epa-list-keys): Use it.
92 (epa-list-secret-keys): New command.
94 2007-03-20 Daiki Ueno <ueno@unixuser.org>
96 * epa.el (epa-display-info): Generate new *Info* buffer if buffer
98 (epa-verify-cleartext-in-region): s/armor/cleartext/g.
100 * Makefile.am (info_TEXINFOS): Added epa.texi.
101 * epa.texi: New file.
103 2007-03-19 Daiki Ueno <ueno@unixuser.org>
105 * epg.el (epg--decode-percent-escape): New function.
107 2007-03-08 Daiki Ueno <ueno@unixuser.org>
109 * epg.el (epg-list-keys): Parse GnuPG's print_string escape.
111 2007-03-08 Daiki Ueno <ueno@unixuser.org>
113 * epa-mail.el (epa-mail-mode-hook): New variable.
114 (epa-mail-mode-on-hook): New variable.
115 (epa-mail-mode-off-hook): New variable.
117 * epg.el (epg--start): Make the process-buffer unibyte.
118 (epg--status-USERID_HINT): Decode user-id.
119 (epg--status-IMPORTED): Decode user-id.
121 2007-03-07 Daiki Ueno <ueno@unixuser.org>
123 * epg.el (epg--start): Don't specify --use-agent if the protocol
124 is CMS; set coding-system-for-read to binary.
125 (epg--status-*SIG): Decode user-id.
127 2007-02-02 Daiki Ueno <ueno@unixuser.org>
129 * epa-file.el (epa-file-write-region): Set a dummy filename
130 for buffer-file-name when calling select-safe-coding-system.
132 2007-01-30 Daiki Ueno <ueno@unixuser.org>
134 * epg.el (epg-last-status): New variable.
135 (epg--process-filter): Set epg-last-status after calling a status
137 (epg--prompt-GET_BOOL): New function.
138 (epg--prompt-GET_BOOL-untrusted_key.override): New function.
139 (epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
142 2007-01-29 Daiki Ueno <ueno@unixuser.org>
144 * EasyPG: Version 0.0.10 released.
145 * configure.ac: Bump up version.
147 2007-01-29 Daiki Ueno <ueno@unixuser.org>
149 * epg-config.el: Require epg-package-info.
150 * configure.ac: Generate epg-package-info.el.
151 * Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
152 * COMPILE (epg-modules): Added epg-package-info.
153 * epg-package-info.el.in: New file.
155 2007-01-29 Daiki Ueno <ueno@unixuser.org>
157 * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook.
158 * epa.el: Removed epa-*-mail stuff.
159 * Makefile.am (EXTRA_DIST): Added epa-mail.el.
160 * COMPILE (epg-modules): Added epa-mail.
161 * epa-mail.el: New file.
163 2007-01-05 Daiki Ueno <ueno@unixuser.org>
165 * epg-pgp50i.el: Removed.
167 * epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
168 (epa-key-list-mode): Renamed from epa-keys-mode. All callers
171 * epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
173 (epg--make-sub-key-1): Ditto.
174 (epg--decode-hexstring): "\\x" -> "\\\\x".
175 (epg--decode-quotedstring): Ditto.
177 * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
178 recipient whose public key is not available.
179 * epa.el (epa-encrypt-mail): Ask a user whether to skip a
180 recipient whose public key is not available.
182 2007-01-04 Daiki Ueno <ueno@unixuser.org>
184 * epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
185 (epa-verify-mail): Renamed from epa-verify.
186 (epa-sign-mail): Renamed from epa-sign.
187 (epa-encrypt-mail): Renamed from epa-encrypt.
188 (epa-import-mail): Renamed from epa-import.
190 * configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
192 * epg.el (epg-signature-to-string): Print creation-time and used
194 (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
195 fallback to use a temp file as an input.
196 (epg-encrypt-string): Ditto.
198 2006-12-31 Daiki Ueno <ueno@unixuser.org>
200 * epa.el (epa-mail-modes): New user option.
201 (epa--mail-mode-p): New function.
203 (epa-encrypt): Use it.
204 (epa--find-coding-system-for-mime-charset): New function.
205 (epa-decrypt-armor-in-region): Use it.
206 (epa-progress-callback-function): Use handback as the prompt.
207 (epa-encrypt-region): Take 4th argument SIGN.
208 (epa-encrypt): Ditto.
210 2006-12-31 Daiki Ueno <ueno@unixuser.org>
212 * epa.el (epa--derived-mode-p): New alias.
214 (epa-encrypt): Use it.
216 2006-12-31 Daiki Ueno <ueno@unixuser.org>
218 * epa.el (epa--read-signature-type): New function.
219 (epa-decrypt): New command.
220 (epa-verify): New command.
221 (epa-sign): New command.
222 (epa-encrypt): New command.
223 (epa-import-armor-in-region): New command.
224 (epa-import): New command.
225 (epa-decrypt-region): Confirm user to replace the region.
226 (epa-display-info): Delete "*Info*" window.
228 2006-12-29 Daiki Ueno <ueno@unixuser.org>
230 * EasyPG: Version 0.0.9 released.
231 * epg-config.el (epg-version-number): Bump up.
232 * configure.ac: Bump up version.
234 2006-12-28 Daiki Ueno <ueno@unixuser.org>
236 * epa.el (epa-sign-file): Ask signing key only when a prefix arg
237 is given; ask signature type only when a prefix arg is given.
238 (epa-sign-region): Ditto.
240 2006-12-26 Daiki Ueno <ueno@unixuser.org>
242 * epg-config.el (epg-passphrase-coding-system): Default to nil.
244 2006-12-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
246 * epa.el (epa--format-fingerprint-1): New function.
247 (epa--format-fingerprint): Ditto.
248 (epa--show-key): Use it.
250 2006-12-20 Daiki Ueno <ueno@unixuser.org>
252 * epa-file.el (epa-file-write-region): Don't attempt to write the
253 region to "/" to determine safe coding-system.
255 * epa.el (epa-list-keys): Abolished PROTOCOL arg.
256 (epa-sign-file): Save the output to *.p7s or *.p7m file if
258 (epa-encrypt-file): Ditto.
259 (epa-last-coding-system-specified): New variable.
260 (epa-decrypt-region): Try to decode with the
261 epa-coding-system-used text property.
262 (epa--select-safe-coding-system): New function.
263 (epa-verify-region): Try to decode with the epa-coding-system-used
265 (epa-sign-region): Query user to select coding-system to encode;
266 set the epa-coding-system-used text property on the result.
267 (epa-encrypt-region): Ditto.
269 2006-12-19 Daiki Ueno <ueno@unixuser.org>
271 * epg.el (epg-export-keys-to-file): Fixed a typo.
273 * epa.el (epa-protocol): New user option.
274 (epa-sign-region): --armor & --textmode.
275 (epa-encrypt-region): Ditto.
276 (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
278 (epa-import-keys-region): New command.
279 (epa-insert-keys): New command.
280 (epa--insert-keys): Renamed from epa-insert-keys.
282 2006-12-11 Daiki Ueno <ueno@unixuser.org>
284 * pgg-epg.el (pgg-epg-decrypt-region): Don't call
285 decode-coding-string if it is not bound.
287 * epa-file.el (epa-file--encode-coding-string): New alias.
288 (epa-file--decode-coding-string): New alias.
289 (epa-file-write-region): Use epa-file--encode-coding-string.
290 (epa-file-decode-and-insert): Use epa-file--decode-coding-string.
292 * epa.el (epa--encode-coding-string): New alias.
293 (epa--decode-coding-string): New alias.
294 (epa-verify-region): Use epa--encode-coding-string.
295 (epa-sign-region): Ditto; use epa--decode-coding-string.
296 (epa-encrypt-region): Use epa--encode-coding-string.
298 * epg.el (epg--encode-coding-string): New alias.
299 (epg--status-GET_HIDDEN): Use it.
301 2006-11-29 Daiki Ueno <ueno@unixuser.org>
303 * EasyPG: Version 0.0.8 released.
304 * epg-config.el (epg-version-number): Bump up.
305 * configure.ac: Bump up version.
307 2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
309 * epa-file.el (epa-file-encrypt-to): New file local variable.
310 (epa-file-write-region): Specify recipients by epa-file-encrypt-to.
312 2006-11-26 Daiki Ueno <ueno@unixuser.org>
314 * epa.el (epa-sign-file): Query signature type at a time.
315 (epa-decrypt-file): Display output file name on completion.
316 (epa-sign-file): Ditto.
317 (epa-encrypt-file): Ditto.
319 2006-11-25 Daiki Ueno <ueno@unixuser.org>
321 * epa.el (epa-keys-mode): Don't call widget-setup.
322 (epa-list-keys): Call widget-setup here.
323 (epa-select-keys): Ditto.
325 2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
327 * epg.el (epg-delete-keys): Remove redundant argument for `error'
328 and fix a close parenthesis.
330 2006-11-24 Daiki Ueno <ueno@unixuser.org>
332 * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
333 Reported by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>.
334 cf. <emacs-mime-ja:02090>
336 2006-11-23 Daiki Ueno <ueno@unixuser.org>
338 * epa.el (epa-sign-region): Query signature type at a time.
340 2006-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
342 * epg.el (epg-context-set-passphrase-callback): Add optional
344 (epg-context-set-progress-callback): Ditto.
346 2006-11-14 Daiki Ueno <ueno@unixuser.org>
348 * epa.el (epa--key-widget-value-create): Allow empty user IDs.
349 (epa--show-key): Ditto.
350 Reported by Werner Koch <wk@gnupg.org>.
352 * epg.el (epg--start): Don't specify --enable-progress-filter for
354 (epg--status-PROGRESS): Check if progress-callback is set.
356 2006-11-12 Daiki Ueno <ueno@unixuser.org>
358 * epg.el (epg-error): New error.
359 (epg--check-error-for-decrypt): New function.
360 (epg-decrypt-file): Use it.
361 (epg-decrypt-string): Use it.
362 (epg--start): Added a very basic test to check whether to specify
365 * epa.el (epa-decrypt-file): Expand file name.
366 (epa-verify-file): Ditto.
367 (epa-import-keys): Ditto.
369 2006-11-12 Daiki Ueno <ueno@unixuser.org>
371 * epg.el (epg-delete-keys): Decode delete-problem.
373 * epa.el (epa-popup-info-window): Turn on by default.
374 (epa-display-info): Split selected window instead of pop-to-buffer.
376 2006-11-12 Daiki Ueno <ueno@unixuser.org>
378 * epa.el (epa-display-info): Generalized; renamed from
379 epa-display-verify-result.
380 (epa-decrypt-file): Use it.
381 (epa-verify-file): Use it.
382 (epa-decrypt-region): Use it.
383 (epa-verify-region): Use it.
384 (epa-import-keys): Show import result.
385 (epa-display-verify-result): Make it obsolete.
387 * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
389 (epg-sign-keys): Make it obsolete.
390 (epg-make-import-status): New object epg-import-status.
391 (epg-make-import-result): New object epg-import-result.
392 (epg--status-IMPORT_RES): New function.
393 (epg-import-result-to-string): New function.
395 * epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
396 (epa-sign-keys): Make it obsolete.
398 2006-11-11 Daiki Ueno <ueno@unixuser.org>
400 * epg.el (epg-start-sign): Don't set --armor nor --textmode if
401 mode is set for a cleartext signature.
402 (epg-make-context): New slot "sig-notations".
403 (epg--args-from-sig-notations): New function.
404 (epg-start-sign): Specify --sig-notation or --sig-policy-url if
406 (epg-start-encrypt): Ditto.
407 (epg-make-signature): New slot "notations".
408 (epg--status-NOTATION_NAME): New function.
409 (epg--status-NOTATION_DATA): New function.
410 (epg--status-POLICY_URL): New function.
412 2006-10-29 Daiki Ueno <ueno@unixuser.org>
414 * EasyPG: Version 0.0.7 released.
415 * epg-config.el (epg-version-number): Bump up.
416 * configure.ac: Bump up version.
418 2006-10-29 Daiki Ueno <ueno@unixuser.org>
421 (epa-file-cache-passphrase-for-symmetric-encryption): New user
424 2006-10-12 Daiki Ueno <ueno@unixuser.org>
426 * epg.el (epg-start-verify): Fixed a clearsign verification bug.
427 Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
429 2006-09-29 Daiki Ueno <ueno@unixuser.org>
431 * EasyPG: Version 0.0.6 released.
432 * epg.el (epg-version-number): Bump up.
433 * configure.ac: Bump up version.
435 2006-09-29 Daiki Ueno <ueno@unixuser.org>
437 * epa.el (epa-verify-cleartext-in-region): Renamed from
438 epa-verify-armor-in-region.
440 * epg.el (epg-passphrase-callback-function): Suggest to use
441 epa-passphrase-callback-function instead.
442 (epg-start-verify): Don't specify --verify if SIGNATURE is a
443 normal or a clear text signature.
444 (epg-verify-file): Mention that the plaintext will be stored into
445 the file PLAIN after successful verification.
446 (epg-verify-string): Mention that the plaintext will be returned
447 after successful verification.
449 2006-09-27 Daiki Ueno <ueno@unixuser.org>
451 * epa-file.el (epa-file-insert-file-contents): Set progress callback.
452 (epa-file-write-region): Ditto.
454 * epa.el (epa-decrypt-file): Set callbacks.
455 (epa-sign-file): Ditto.
456 (epa-encrypt-file): Ditto.
457 (epa-decrypt-region): Ditto.
458 (epa-sign-region): Ditto.
459 (epa-encrypt-region): Ditto.
460 (epa-sign-keys): Ditto.
462 * epg.el (epg-progress-callback-function): Removed.
464 2006-09-24 Daiki Ueno <ueno@unixuser.org>
466 * epa.el (epa-passphrase-callback-function): Moved from epg.el.
467 (epa-progress-callback-function): Ditto.
468 * epg.el (epg-passphrase-callback-function): Made it obsolete.
469 (epg-progress-callback-function): Ditto.
471 2006-09-23 Daiki Ueno <ueno@unixuser.org>
473 * epg.el (epg-start-decrypt): Append "--" to the end of options.
474 (epg-start-verify): Ditto.
475 (epg-start-sign): Ditto.
476 (epg-start-encrypt): Ditto.
477 (epg-start-import-keys): Ditto.
478 (epg-start-generate-key): Ditto.
480 2006-09-23 Daiki Ueno <ueno@unixuser.org>
482 * epg.el (epg-make-context): Don't set progress-callback by
484 (epg--start): Don't specify --enable-progress-filter if
485 progress-callback is not set.
486 (epg--status-GET_HIDDEN): Signal an error if passphrase-callback
489 2006-09-15 Daiki Ueno <ueno@unixuser.org>
491 * epg.el (epg-progress-callback-function): Show the percentage.
493 2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
495 * pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
497 2006-09-13 Daiki Ueno <ueno@unixuser.org>
499 * epg-config.el (epg-passphrase-coding-system): Renamed from
500 epg-locale-coding-system.
502 2006-09-11 Daiki Ueno <ueno@unixuser.org>
504 * epa-file.el (epa-file-decode-and-insert): New function which
505 utilizes decode-coding-inserted-region if available.
506 (epa-file-insert-file-contents): Use it.
508 * epg.el (epg--start): Specify --enable-progress-filter in
510 (epg-progress-callback-function): Remove a couple of %%'s.
512 2006-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
514 * epg-config.el (epg-configuration): Fixed the last change;
515 collect configuration other than group and algorithm.
517 2006-09-05 Daiki Ueno <ueno@unixuser.org>
519 * epg-config.el (epg-debug): Moved from epg.el.
520 (epg-configuration): Parse group configuration.
521 (epg-expand-group): New function.
523 2006-09-04 Daiki Ueno <ueno@unixuser.org>
525 * EasyPG: Version 0.0.5 released.
526 * epg.el (epg-version-number): Bump up.
527 * configure.ac: Bump up version.
529 2006-09-04 Daiki Ueno <ueno@unixuser.org>
531 * epg-config.el (epg-locale-coding-system): New user option.
533 * epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
534 (epg--clear-string): New function.
535 (epg--status-GET_HIDDEN): Encode passphrase with
536 terminal-coding-system.
538 * epg-config.el (epg-gpg-minimum-version): New constant.
539 (epg-config--parse-version): New function.
540 (epg-config--compare-version): New function.
541 (epg-configuration): Respect epg-gpg-home-directory.
543 2006-09-03 Daiki Ueno <ueno@unixuser.org>
545 * epg-config.el: New file; moved GnuPG configuration check from
548 2006-09-02 Daiki Ueno <ueno@unixuser.org>
550 * epg.el (epg-check-configuration): New function.
551 (epg-gpg-home-directory): New user option.
553 * pgg-epg.el (pgg-epg-lookup-key): New function.
555 2006-07-29 Daiki Ueno <ueno@unixuser.org>
557 * EasyPG: Version 0.0.4 released.
558 * epg.el (epg-version-number): Bump up.
559 * configure.ac: Bump up version.
561 2006-07-29 Daiki Ueno <ueno@unixuser.org>
563 * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
565 2006-07-28 Daiki Ueno <ueno@unixuser.org>
567 * epg.el (epg-start-encrypt): Extract primary key ID from
569 Thanks to Steve Youngs <steve@sxemacs.org>
571 * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
572 give CONTEXT to epg-list-keys.
573 Thanks to Steve Youngs <steve@sxemacs.org>
575 2006-07-18 Daiki Ueno <ueno@unixuser.org>
577 * epg-pgp50i.el (epg-pgp50i--process-filter): Use
578 epg-process-filter-running instead of epg-pgp50i-status; Don't
579 save-excursion during handler execution.
580 (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
581 don't allow process input.
582 (epg-pgp50i--parse-time): New function.
583 (epg-pgp50i--status-BAD_SIGNATURE): New function.
585 * epg.el (epg--process-filter): Don't save-excursion during
588 2006-07-18 Daiki Ueno <ueno@unixuser.org>
590 * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
592 * epg.el (epg-process-filter-running): New variable.
593 (epg--start): Setup epg-process-filter-running.
594 (epg--process-filter): Allow only one status handler to run at a
595 time; update epg-read-point everytime the point changes.
597 2006-07-14 Daiki Ueno <ueno@unixuser.org>
599 * epg-pgp50i.el: New file.
601 2006-07-13 Daiki Ueno <ueno@unixuser.org>
603 * acinclude.m4 (AC_PATH_GPG): New macro.
604 * configure.ac: Check gpg version.
605 Suggested by Max Froumentin <max@lapin-bleu.net>
607 2006-07-10 Daiki Ueno <ueno@unixuser.org>
609 * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
610 (epg-signature-to-string): Remove a trailing whitespace.
612 * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
613 (epa-toggle-mark): New command.
615 2006-07-04 Daiki Ueno <ueno@unixuser.org>
617 * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
618 with pgg-default-user-id.
619 Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
621 2006-07-01 Daiki Ueno <ueno@unixuser.org>
623 * epa.el (epa-select-keys): If SECRET is specified, select a
624 primary secret key by default.
626 2006-06-29 Daiki Ueno <ueno@unixuser.org>
628 * EasyPG: Version 0.0.3 released.
629 * epg.el (epg-version-number): Bump up.
630 * configure.ac: Bump up version.
632 2006-06-12 Daiki Ueno <ueno@unixuser.org>
634 * epa-file.el (epa-file-insert-file-contents): Don't move the
635 point to the end of the inserted region.
636 Reported by doug <douglas.bagley@gmail.com>
638 2006-06-01 Daiki Ueno <ueno@unixuser.org>
640 * epa-file.el (epa-file-insert-file-contents): Support partial read.
642 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
644 * epa-file.el (epa-file-write-region): Encode the plain text with
645 coding-system-for-write.
647 2006-05-30 Daiki Ueno <ueno@unixuser.org>
649 * epa-file.el (epa-file-insert-file-contents):
650 Decode the decrypted text with coding-system-for-read.
652 2006-05-29 Daiki Ueno <ueno@unixuser.org>
654 * EasyPG: Version 0.0.2 released.
655 * epg.el (epg-version-number): Bump up.
656 * configure.ac: Bump up version.
658 2006-05-29 Daiki Ueno <ueno@unixuser.org>
660 * epg.el (epg--time-from-seconds): New function.
661 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
662 (epg--status-VALIDSIG): Ditto.
663 (epg--status-KEYEXPIRED): Ditto.
665 2006-05-28 Daiki Ueno <ueno@unixuser.org>
667 * epg.el (epg-start-import-keys): Don't specify filename if keys
670 2006-05-27 Daiki Ueno <ueno@unixuser.org>
672 * epg.el (epg--process-filter): Pass epg-context instead of
673 process to status handlers.
674 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
675 matches with the given key-id.
677 2006-05-26 Daiki Ueno <ueno@unixuser.org>
679 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
680 status from 'error to 'no-pubkey.
681 (epg--status-ERRSIG): Just add 'error signature to the verify result.
683 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
684 disable inhibit-quit here; make text-properties nonsticky.
685 (epa-popup-info-window): New user option.
686 (epa-info-window-height): New user option.
687 (epa-display-verify-result): New function.
688 (epa-decrypt-file): Use it.
689 (epa-verify-file): Use it.
690 (epa-decrypt-region): Use it.
691 (epa-verify-region): Use it.
693 * epg.el (epg-make-context): New slot "operation".
694 (epg-passphrase-callback-function): Confirm passphrase when
695 performing symmetric encryption.
697 2006-05-25 Daiki Ueno <ueno@unixuser.org>
699 * epa.el (epa-decrypt-file): Display verify result if the message
701 (epa-decrypt-region): New command.
702 (epa-verify-region): New command.
703 (epa-decrypt-armor-in-region): New command.
704 (epa-verify-armor-in-region): New command.
705 (epa-sign-region): New command.
706 (epa-encrypt-region): New command.
708 2006-05-11 Daiki Ueno <ueno@unixuser.org>
710 * epa.el (epa-armor): New user option.
711 (epa-textmode): New user option.
713 2006-05-02 Daiki Ueno <ueno@unixuser.org>
715 * epg.el (epg-make-key-signature): New object epg-key-signature.
716 (epg-list-keys): Collect key signatures.
717 (epg-make-sub-key): Renamed secret -> secret-p.
718 (epg-list-keys-postprocess-one-key): Abolished.
719 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
720 signatures by itself.
721 (epg-no-data-reason-alist): New constant.
722 (epg-unexpected-reason-alist): New constant.
724 2006-05-01 Daiki Ueno <ueno@unixuser.org>
726 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
727 (epg-delete-problem-reason-alist): Renamed.
728 (epg-import-ok-reason-alist): New constant.
729 (epg-import-problem-reason-alist): New constant.
730 (epg-status-IMPORTED): New function.
731 (epg-status-IMPORT_OK): New function.
732 (epg-status-IMPORT_PROBLEM): New function.
733 (epg-start-import-keys): Don't use a temporary output file.
734 (epg-start-receive-keys): New function.
735 (epg-import-keys-from-server): New function.
736 (epg-receive-keys): Alias to epg-import-keys-from-server.
738 2006-05-01 Daiki Ueno <ueno@unixuser.org>
740 * epg.el (epg-start): Signal an error if the process of CONTEXT is
741 already running for other operations.
742 (epg-flush): Abolished.
743 (epg-start-generate-key): New function.
744 (epg-generate-key-from-file): New function.
745 (epg-generate-key-from-string): New function.
746 (epg-status-KEY_CREATED): New function.
747 (epg-status-KEY_NOT_CREATED): New function.
748 (epg-new-signature-type-alist): New variable.
749 (epg-make-new-signature): New object epg-new-signature.
750 (epg-status-SIG_CREATED): Set epg-new-signature object.
751 (epg-new-signature-to-string): New function.
752 (epg-make-signature): Added slots for signature class and version.
753 (epg-start-sign): Fixed rule of the MODE argument.
755 2006-04-30 Daiki Ueno <ueno@unixuser.org>
757 * epa.el (epa-delete-keys): Support deletion of secret keys.
759 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
762 * epg.el (epg-read-output): Don't convert line endings of the
764 (epg-cancel): Set 'error result.
766 2006-04-29 Daiki Ueno <ueno@unixuser.org>
768 * epg.el (epg-make-signature): Removed user-id; added
769 creation-time, expiration-time, pubkey-algorithm,
771 (epg-process-sentinel): Abolished.
772 (epg-signature-to-string): Decode DN.
773 (epg-list-keys): Cache user-id in epg-user-id-alist.
774 (epg-make-user-id): Renamed name -> string.
776 2006-04-29 Daiki Ueno <ueno@unixuser.org>
778 * epg.el (epg-status-ERRSIG): New function.
779 (epg-verify-file): Signal an error if we encounter ERRSIG status.
780 (epg-verify-string): Ditto.
782 2006-04-28 Daiki Ueno <ueno@unixuser.org>
784 * epg.el: Added typecheck to accessors to objects.
786 2006-04-26 Daiki Ueno <ueno@unixuser.org>
788 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
789 argument of passphrase-callback.
790 (epg-status-PROGRESS): Ditto.
792 2006-04-26 Daiki Ueno <ueno@unixuser.org>
794 * epa.el (epa-select-keys): Don't set inhibit-quit when
795 recursive-edit is called.
796 (epg-cancel): New function.
798 2006-04-25 Daiki Ueno <ueno@unixuser.org>
800 * epg.el (epg-process-sentinel): New function; set 'error if gpg
801 process exited abnormally, but we have not received an error
803 (epg-sign-file): Signal an error only when a signature is not
805 (epg-sign-string): Ditto.
806 (epg-encrypt-file): Signal an error if SIGN is specified and
807 signature is not created.
808 (epg-encrypt-string): Ditto.
810 2006-04-22 Daiki Ueno <ueno@unixuser.org>
812 * epa.el (epa-key-widget-value-create): Decode DN.
813 (epa-list-keys): Add the PROTOCOL argument.
814 (epa-select-keys): Require CONTEXT as the first argument.
816 * epg.el (epg-gpgsm-program): New user option.
817 (epg-dn-type-alist): New variable.
818 (epg-start): Don't specify --command-fd if protocol is CMS.
819 (epg-list-keys): Require CONTEXT as the first argument.
820 (epg-dn-from-string): New function.
821 (epg-decode-dn): New function.
823 2006-04-21 Daiki Ueno <ueno@unixuser.org>
825 * epa.el (epa-sign-keys): New command.
827 * epg.el (epg-start-sign-keys): New function.
828 (epg-sign-keys): New function.
829 (epg-status-GET_HIDDEN): Enable local quit.
830 (epg-status-GET_BOOL): Ditto.
831 (epg-status-GET_LINE): Ditto.
833 2006-04-20 Daiki Ueno <ueno@unixuser.org>
835 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
838 2006-04-20 Daiki Ueno <ueno@unixuser.org>
840 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
841 (pgg-epg-passphrase-callback): New function.
843 * epa.el (epa-select-keys): Added "Cancel" button.
845 2006-04-20 Daiki Ueno <ueno@unixuser.org>
847 * epg.el (epg-signature-to-string): New function.
849 2006-04-20 Daiki Ueno <ueno@unixuser.org>
851 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
853 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
856 * epa.el (epa-select-keys): Added MODE argument.
857 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
859 * epg.el (epg-status-SIG_CREATED): New function.
860 (epg-start-sign): epg-context-signers is now a list of key objects.
861 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
863 2006-04-19 Daiki Ueno <ueno@unixuser.org>
865 * epa.el (epa-verify-file): Show results in minibuffer.
866 * epg.el (epg-debug-buffer): New variable.
867 (epg-flush): New function.
869 2006-04-18 Daiki Ueno <ueno@unixuser.org>
871 * epa.el (epa-export-keys): New command.
872 * epg.el (epg-start-export-keys): Accept a list of epg-key object
875 2006-04-18 Daiki Ueno <ueno@unixuser.org>
877 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
878 (epa-import-key): New command.
880 * epg.el (epg-delete-problem-alist): New constant.
881 (epg-status-DELETE_PROBLEM): New function.
882 (epg-start-delete-key): New function.
883 (epg-delete-key): New function.
884 (epg-wait-for-completion): Add the NO-EOF argument.
886 2006-04-18 Daiki Ueno <ueno@unixuser.org>
888 * epg.el (epg-start): Insert the command-line arguments to the
890 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
891 (epg-start-delete-key): New function.
892 (epg-delete-key): New function.
894 * epa.el (epa-key): New widget.
895 (epa-key-widget-action): New function.
896 (epa-key-widget-value-create): New function.
897 (epa-key-widget-button-face-get): New function.
898 (epa-key-widget-help-echo): New function.
900 2006-04-17 Daiki Ueno <ueno@unixuser.org>
902 * epa-file.el (epa-file-write-region): Check if START is a string.
904 2006-04-17 Daiki Ueno <ueno@unixuser.org>
906 * epa-file.el: Rewritten with file-name-handler.
907 (epa-file-handler): New variable.
908 (epa-file-enable): New command.
909 (epa-file-disable): New command.
911 * epa-setup.el: Call epa-file-enable.
913 2006-04-17 Daiki Ueno <ueno@unixuser.org>
915 * epa-file.el (epa-passphrase): New variable.
916 (epa-file-passphrase-callback-function): New function.
917 (epa-find-file): Reset buffer-undo-list; set
918 buffer-file-coding-system to last-coding-system-used after
921 2006-04-17 Daiki Ueno <ueno@unixuser.org>
923 * epa-file.el (epa-write-file): Try to write region to "/" to get
924 last-coding-system-used to be set.
926 2006-04-17 Daiki Ueno <ueno@unixuser.org>
928 * epa-file.el: New implementation of epf.el.
932 2006-04-17 Daiki Ueno <ueno@unixuser.org>
934 * epa.el (epa-verify-file): Display verify result.
936 * epg.el (epg-invalid-recipients-alist): New variable.
937 (epg-status-INV_RECP): New function.
938 (epg-status-NO_RECP): New function.
940 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
941 epa-verify-file, epa-sign-file, and epa-encrypt-file.
942 (epa-decrypt-file): New function imported from epa-dired.el.
943 (epa-verify-file): New function imported from epa-dired.el.
944 (epa-sign-file): New function imported from epa-dired.el.
945 (epa-encrypt-file): New function imported from epa-dired.el.
947 2006-04-16 Daiki Ueno <ueno@unixuser.org>
949 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
951 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
953 2006-04-16 Daiki Ueno <ueno@unixuser.org>
955 * epa-setup.el: New file.
956 * epa-dired.el: New file.
958 * epg.el (epg-colons-pub-spec): Abolished.
959 (epg-colons-sec-spec): Abolished.
960 (epg-colons-uid-spec): Abolished.
961 (epg-colons-fpr-spec): Abolished.
962 (epg-key-validity-alist): New variable.
963 (epg-key-capablity-alist): New variable.
964 (epg-make-key): New object epg-key.
965 (epg-make-sub-key): New object epg-sub-key.
966 (epg-make-user-id): New object epg-user-id.
967 (epg-list-keys-1): Renamed from epg-list-keys.
968 (epg-list-keys): Rewritten.
970 2006-04-15 Daiki Ueno <ueno@unixuser.org>
972 * epg.el (epg-list-keys): Make the NAME argument optional.
974 2006-04-13 Daiki Ueno <ueno@unixuser.org>
976 * epa.el: Added header.
978 * epg.el (epg-list-keys): Specify --with-fingerprint.
979 (epg-colons-fpr-spec): New variable.
980 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
982 (epg-colons-sec-spec): Ditto.
983 (epg-colons-uid-spec): Renamed trust -> validity.
985 2006-04-13 Daiki Ueno <ueno@unixuser.org>
989 * epg.el (epg-cipher-algorithm-alist): New constant.
990 (epg-pubkey-algorithm-alist): New constant.
991 (epg-digest-algorithm-alist): New constant.
992 (epg-compress-algorithm-alist): New constant.
993 (epg-configuration): New function.
994 (epg-start): Don't specify --yes.
996 2006-04-13 Daiki Ueno <ueno@unixuser.org>
998 * epg.el (epg-make-data-from-file): New function.
999 (epg-make-data-from-string): New function.
1000 (epg-data-file): New function.
1001 (epg-data-string): New function.
1002 (epg-start-decrypt): Get a cipher text from a data object.
1003 (epg-delete-output-file): New function.
1004 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
1006 (epg-start-verify): Get a signature and signed-text from a data
1008 (epg-verify-file): Added the 3rd argument PLAIN to specify where
1009 the output goes; return the plain text if PLAIN is nil.
1010 (epg-verify-string): Return the plain text.
1011 (epg-start-sign): Get a plain text from a data object.
1012 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
1014 (epg-start-encrypt): Get a plain text from a data object.
1015 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
1017 (epg-start-import-keys): Get keys from a data object.
1018 (epg-import-keys-1): New function.
1019 (epg-import-keys-from-file): Use it.
1020 (epg-import-keys-from-string): Use it.
1022 2006-04-12 Daiki Ueno <ueno@unixuser.org>
1024 * epf.el: Renamed from epg-file.el.
1026 2006-04-12 Daiki Ueno <ueno@unixuser.org>
1028 * epg.el (epg-status-GET_BOOL): New function.
1029 (epg-status-GET_LINE): New function.
1030 (epg-prompt-alist): New variable, to be filled.
1032 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
1033 * epg.el (epg-signature-fingerprint): New function.
1034 (epg-signature-set-fingerprint): New function.
1035 (epg-status-VALIDSIG): New function.
1037 * epg.el (epg-reset): Don't reset result.
1038 (epg-start-decrypt): Reset result before epg-start.
1039 (epg-start-verify): Ditto.
1040 (epg-start-sign): Ditto.
1041 (epg-start-encrypt): Ditto.
1042 (epg-start-export-keys): Ditto.
1043 (epg-start-import-keys): Ditto.
1045 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
1046 * pgg-epg.el: New file.
1048 * epg.el (epg-start-export-keys): New function.
1049 (epg-export-keys): New function.
1050 (epg-start-import-keys): New function.
1051 (epg-import-keys): New function.
1052 (epg-verify-file): New function.
1054 * epg-file.el (epg-file-write-region): Support public key encryption.
1056 * epg.el (epg-passphrase-callback-function): Always display key-id.