1 2006-07-01 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-select-keys): If SECRET is specified, select a
4 primary secret key by default.
6 2006-06-29 Daiki Ueno <ueno@unixuser.org>
8 * EasyPG: Version 0.0.3 released.
9 * epg.el (epg-version-number): Bump up.
10 * configure.ac: Bump up version.
12 2006-06-12 Daiki Ueno <ueno@unixuser.org>
14 * epa-file.el (epa-file-insert-file-contents): Don't move the
15 point to the end of the inserted region.
16 Reported by doug <douglas.bagley@gmail.com>
18 2006-06-01 Daiki Ueno <ueno@unixuser.org>
20 * epa-file.el (epa-file-insert-file-contents): Support partial read.
22 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
24 * epa-file.el (epa-file-write-region): Encode the plain text with
25 coding-system-for-write.
27 2006-05-30 Daiki Ueno <ueno@unixuser.org>
29 * epa-file.el (epa-file-insert-file-contents):
30 Decode the decrypted text with coding-system-for-read.
32 2006-05-29 Daiki Ueno <ueno@unixuser.org>
34 * EasyPG: Version 0.0.2 released.
35 * epg.el (epg-version-number): Bump up.
36 * configure.ac: Bump up version.
38 2006-05-29 Daiki Ueno <ueno@unixuser.org>
40 * epg.el (epg--time-from-seconds): New function.
41 (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
42 (epg--status-VALIDSIG): Ditto.
43 (epg--status-KEYEXPIRED): Ditto.
45 2006-05-28 Daiki Ueno <ueno@unixuser.org>
47 * epg.el (epg-start-import-keys): Don't specify filename if keys
50 2006-05-27 Daiki Ueno <ueno@unixuser.org>
52 * epg.el (epg--process-filter): Pass epg-context instead of
53 process to status handlers.
54 (epg--status-NO_PUBKEY): Check if the previous signature's key-id
55 matches with the given key-id.
57 2006-05-26 Daiki Ueno <ueno@unixuser.org>
59 * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
60 status from 'error to 'no-pubkey.
61 (epg--status-ERRSIG): Just add 'error signature to the verify result.
63 * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
64 disable inhibit-quit here; make text-properties nonsticky.
65 (epa-popup-info-window): New user option.
66 (epa-info-window-height): New user option.
67 (epa-display-verify-result): New function.
68 (epa-decrypt-file): Use it.
69 (epa-verify-file): Use it.
70 (epa-decrypt-region): Use it.
71 (epa-verify-region): Use it.
73 * epg.el (epg-make-context): New slot "operation".
74 (epg-passphrase-callback-function): Confirm passphrase when
75 performing symmetric encryption.
77 2006-05-25 Daiki Ueno <ueno@unixuser.org>
79 * epa.el (epa-decrypt-file): Display verify result if the message
81 (epa-decrypt-region): New command.
82 (epa-verify-region): New command.
83 (epa-decrypt-armor-in-region): New command.
84 (epa-verify-armor-in-region): New command.
85 (epa-sign-region): New command.
86 (epa-encrypt-region): New command.
88 2006-05-11 Daiki Ueno <ueno@unixuser.org>
90 * epa.el (epa-armor): New user option.
91 (epa-textmode): New user option.
93 2006-05-02 Daiki Ueno <ueno@unixuser.org>
95 * epg.el (epg-make-key-signature): New object epg-key-signature.
96 (epg-list-keys): Collect key signatures.
97 (epg-make-sub-key): Renamed secret -> secret-p.
98 (epg-list-keys-postprocess-one-key): Abolished.
99 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
100 signatures by itself.
101 (epg-no-data-reason-alist): New constant.
102 (epg-unexpected-reason-alist): New constant.
104 2006-05-01 Daiki Ueno <ueno@unixuser.org>
106 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
107 (epg-delete-problem-reason-alist): Renamed.
108 (epg-import-ok-reason-alist): New constant.
109 (epg-import-problem-reason-alist): New constant.
110 (epg-status-IMPORTED): New function.
111 (epg-status-IMPORT_OK): New function.
112 (epg-status-IMPORT_PROBLEM): New function.
113 (epg-start-import-keys): Don't use a temporary output file.
114 (epg-start-receive-keys): New function.
115 (epg-import-keys-from-server): New function.
116 (epg-receive-keys): Alias to epg-import-keys-from-server.
118 2006-05-01 Daiki Ueno <ueno@unixuser.org>
120 * epg.el (epg-start): Signal an error if the process of CONTEXT is
121 already running for other operations.
122 (epg-flush): Abolished.
123 (epg-start-generate-key): New function.
124 (epg-generate-key-from-file): New function.
125 (epg-generate-key-from-string): New function.
126 (epg-status-KEY_CREATED): New function.
127 (epg-status-KEY_NOT_CREATED): New function.
128 (epg-new-signature-type-alist): New variable.
129 (epg-make-new-signature): New object epg-new-signature.
130 (epg-status-SIG_CREATED): Set epg-new-signature object.
131 (epg-new-signature-to-string): New function.
132 (epg-make-signature): Added slots for signature class and version.
133 (epg-start-sign): Fixed rule of the MODE argument.
135 2006-04-30 Daiki Ueno <ueno@unixuser.org>
137 * epa.el (epa-delete-keys): Support deletion of secret keys.
139 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
142 * epg.el (epg-read-output): Don't convert line endings of the
144 (epg-cancel): Set 'error result.
146 2006-04-29 Daiki Ueno <ueno@unixuser.org>
148 * epg.el (epg-make-signature): Removed user-id; added
149 creation-time, expiration-time, pubkey-algorithm,
151 (epg-process-sentinel): Abolished.
152 (epg-signature-to-string): Decode DN.
153 (epg-list-keys): Cache user-id in epg-user-id-alist.
154 (epg-make-user-id): Renamed name -> string.
156 2006-04-29 Daiki Ueno <ueno@unixuser.org>
158 * epg.el (epg-status-ERRSIG): New function.
159 (epg-verify-file): Signal an error if we encounter ERRSIG status.
160 (epg-verify-string): Ditto.
162 2006-04-28 Daiki Ueno <ueno@unixuser.org>
164 * epg.el: Added typecheck to accessors to objects.
166 2006-04-26 Daiki Ueno <ueno@unixuser.org>
168 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
169 argument of passphrase-callback.
170 (epg-status-PROGRESS): Ditto.
172 2006-04-26 Daiki Ueno <ueno@unixuser.org>
174 * epa.el (epa-select-keys): Don't set inhibit-quit when
175 recursive-edit is called.
176 (epg-cancel): New function.
178 2006-04-25 Daiki Ueno <ueno@unixuser.org>
180 * epg.el (epg-process-sentinel): New function; set 'error if gpg
181 process exited abnormally, but we have not received an error
183 (epg-sign-file): Signal an error only when a signature is not
185 (epg-sign-string): Ditto.
186 (epg-encrypt-file): Signal an error if SIGN is specified and
187 signature is not created.
188 (epg-encrypt-string): Ditto.
190 2006-04-22 Daiki Ueno <ueno@unixuser.org>
192 * epa.el (epa-key-widget-value-create): Decode DN.
193 (epa-list-keys): Add the PROTOCOL argument.
194 (epa-select-keys): Require CONTEXT as the first argument.
196 * epg.el (epg-gpgsm-program): New user option.
197 (epg-dn-type-alist): New variable.
198 (epg-start): Don't specify --command-fd if protocol is CMS.
199 (epg-list-keys): Require CONTEXT as the first argument.
200 (epg-dn-from-string): New function.
201 (epg-decode-dn): New function.
203 2006-04-21 Daiki Ueno <ueno@unixuser.org>
205 * epa.el (epa-sign-keys): New command.
207 * epg.el (epg-start-sign-keys): New function.
208 (epg-sign-keys): New function.
209 (epg-status-GET_HIDDEN): Enable local quit.
210 (epg-status-GET_BOOL): Ditto.
211 (epg-status-GET_LINE): Ditto.
213 2006-04-20 Daiki Ueno <ueno@unixuser.org>
215 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
218 2006-04-20 Daiki Ueno <ueno@unixuser.org>
220 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
221 (pgg-epg-passphrase-callback): New function.
223 * epa.el (epa-select-keys): Added "Cancel" button.
225 2006-04-20 Daiki Ueno <ueno@unixuser.org>
227 * epg.el (epg-signature-to-string): New function.
229 2006-04-20 Daiki Ueno <ueno@unixuser.org>
231 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
233 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
236 * epa.el (epa-select-keys): Added MODE argument.
237 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
239 * epg.el (epg-status-SIG_CREATED): New function.
240 (epg-start-sign): epg-context-signers is now a list of key objects.
241 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
243 2006-04-19 Daiki Ueno <ueno@unixuser.org>
245 * epa.el (epa-verify-file): Show results in minibuffer.
246 * epg.el (epg-debug-buffer): New variable.
247 (epg-flush): New function.
249 2006-04-18 Daiki Ueno <ueno@unixuser.org>
251 * epa.el (epa-export-keys): New command.
252 * epg.el (epg-start-export-keys): Accept a list of epg-key object
255 2006-04-18 Daiki Ueno <ueno@unixuser.org>
257 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
258 (epa-import-key): New command.
260 * epg.el (epg-delete-problem-alist): New constant.
261 (epg-status-DELETE_PROBLEM): New function.
262 (epg-start-delete-key): New function.
263 (epg-delete-key): New function.
264 (epg-wait-for-completion): Add the NO-EOF argument.
266 2006-04-18 Daiki Ueno <ueno@unixuser.org>
268 * epg.el (epg-start): Insert the command-line arguments to the
270 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
271 (epg-start-delete-key): New function.
272 (epg-delete-key): New function.
274 * epa.el (epa-key): New widget.
275 (epa-key-widget-action): New function.
276 (epa-key-widget-value-create): New function.
277 (epa-key-widget-button-face-get): New function.
278 (epa-key-widget-help-echo): New function.
280 2006-04-17 Daiki Ueno <ueno@unixuser.org>
282 * epa-file.el (epa-file-write-region): Check if START is a string.
284 2006-04-17 Daiki Ueno <ueno@unixuser.org>
286 * epa-file.el: Rewritten with file-name-handler.
287 (epa-file-handler): New variable.
288 (epa-file-enable): New command.
289 (epa-file-disable): New command.
291 * epa-setup.el: Call epa-file-enable.
293 2006-04-17 Daiki Ueno <ueno@unixuser.org>
295 * epa-file.el (epa-passphrase): New variable.
296 (epa-file-passphrase-callback-function): New function.
297 (epa-find-file): Reset buffer-undo-list; set
298 buffer-file-coding-system to last-coding-system-used after
301 2006-04-17 Daiki Ueno <ueno@unixuser.org>
303 * epa-file.el (epa-write-file): Try to write region to "/" to get
304 last-coding-system-used to be set.
306 2006-04-17 Daiki Ueno <ueno@unixuser.org>
308 * epa-file.el: New implementation of epf.el.
312 2006-04-17 Daiki Ueno <ueno@unixuser.org>
314 * epa.el (epa-verify-file): Display verify result.
316 * epg.el (epg-invalid-recipients-alist): New variable.
317 (epg-status-INV_RECP): New function.
318 (epg-status-NO_RECP): New function.
320 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
321 epa-verify-file, epa-sign-file, and epa-encrypt-file.
322 (epa-decrypt-file): New function imported from epa-dired.el.
323 (epa-verify-file): New function imported from epa-dired.el.
324 (epa-sign-file): New function imported from epa-dired.el.
325 (epa-encrypt-file): New function imported from epa-dired.el.
327 2006-04-16 Daiki Ueno <ueno@unixuser.org>
329 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
331 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
333 2006-04-16 Daiki Ueno <ueno@unixuser.org>
335 * epa-setup.el: New file.
336 * epa-dired.el: New file.
338 * epg.el (epg-colons-pub-spec): Abolished.
339 (epg-colons-sec-spec): Abolished.
340 (epg-colons-uid-spec): Abolished.
341 (epg-colons-fpr-spec): Abolished.
342 (epg-key-validity-alist): New variable.
343 (epg-key-capablity-alist): New variable.
344 (epg-make-key): New object epg-key.
345 (epg-make-sub-key): New object epg-sub-key.
346 (epg-make-user-id): New object epg-user-id.
347 (epg-list-keys-1): Renamed from epg-list-keys.
348 (epg-list-keys): Rewritten.
350 2006-04-15 Daiki Ueno <ueno@unixuser.org>
352 * epg.el (epg-list-keys): Make the NAME argument optional.
354 2006-04-13 Daiki Ueno <ueno@unixuser.org>
356 * epa.el: Added header.
358 * epg.el (epg-list-keys): Specify --with-fingerprint.
359 (epg-colons-fpr-spec): New variable.
360 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
362 (epg-colons-sec-spec): Ditto.
363 (epg-colons-uid-spec): Renamed trust -> validity.
365 2006-04-13 Daiki Ueno <ueno@unixuser.org>
369 * epg.el (epg-cipher-algorithm-alist): New constant.
370 (epg-pubkey-algorithm-alist): New constant.
371 (epg-digest-algorithm-alist): New constant.
372 (epg-compress-algorithm-alist): New constant.
373 (epg-configuration): New function.
374 (epg-start): Don't specify --yes.
376 2006-04-13 Daiki Ueno <ueno@unixuser.org>
378 * epg.el (epg-make-data-from-file): New function.
379 (epg-make-data-from-string): New function.
380 (epg-data-file): New function.
381 (epg-data-string): New function.
382 (epg-start-decrypt): Get a cipher text from a data object.
383 (epg-delete-output-file): New function.
384 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
386 (epg-start-verify): Get a signature and signed-text from a data
388 (epg-verify-file): Added the 3rd argument PLAIN to specify where
389 the output goes; return the plain text if PLAIN is nil.
390 (epg-verify-string): Return the plain text.
391 (epg-start-sign): Get a plain text from a data object.
392 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
394 (epg-start-encrypt): Get a plain text from a data object.
395 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
397 (epg-start-import-keys): Get keys from a data object.
398 (epg-import-keys-1): New function.
399 (epg-import-keys-from-file): Use it.
400 (epg-import-keys-from-string): Use it.
402 2006-04-12 Daiki Ueno <ueno@unixuser.org>
404 * epf.el: Renamed from epg-file.el.
406 2006-04-12 Daiki Ueno <ueno@unixuser.org>
408 * epg.el (epg-status-GET_BOOL): New function.
409 (epg-status-GET_LINE): New function.
410 (epg-prompt-alist): New variable, to be filled.
412 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
413 * epg.el (epg-signature-fingerprint): New function.
414 (epg-signature-set-fingerprint): New function.
415 (epg-status-VALIDSIG): New function.
417 * epg.el (epg-reset): Don't reset result.
418 (epg-start-decrypt): Reset result before epg-start.
419 (epg-start-verify): Ditto.
420 (epg-start-sign): Ditto.
421 (epg-start-encrypt): Ditto.
422 (epg-start-export-keys): Ditto.
423 (epg-start-import-keys): Ditto.
425 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
426 * pgg-epg.el: New file.
428 * epg.el (epg-start-export-keys): New function.
429 (epg-export-keys): New function.
430 (epg-start-import-keys): New function.
431 (epg-import-keys): New function.
432 (epg-verify-file): New function.
434 * epg-file.el (epg-file-write-region): Support public key encryption.
436 * epg.el (epg-passphrase-callback-function): Always display key-id.