1 2006-05-26 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-make-context): New slot "operation".
4 (epg-passphrase-callback-function): Confirm passphrase when
5 performing symmetric encryption.
7 2006-05-25 Daiki Ueno <ueno@unixuser.org>
9 * epa.el (epa-decrypt-file): Display verify result if the message
11 (epa-decrypt-region): New command.
12 (epa-verify-region): New command.
13 (epa-decrypt-armor-in-region): New command.
14 (epa-verify-armor-in-region): New command.
15 (epa-sign-region): New command.
16 (epa-encrypt-region): New command.
18 2006-05-11 Daiki Ueno <ueno@unixuser.org>
20 * epa.el (epa-armor): New user option.
21 (epa-textmode): New user option.
23 2006-05-02 Daiki Ueno <ueno@unixuser.org>
25 * epg.el (epg-make-key-signature): New object epg-key-signature.
26 (epg-list-keys): Collect key signatures.
27 (epg-make-sub-key): Renamed secret -> secret-p.
28 (epg-list-keys-postprocess-one-key): Abolished.
29 (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
31 (epg-no-data-reason-alist): New constant.
32 (epg-unexpected-reason-alist): New constant.
34 2006-05-01 Daiki Ueno <ueno@unixuser.org>
36 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
37 (epg-delete-problem-reason-alist): Renamed.
38 (epg-import-ok-reason-alist): New constant.
39 (epg-import-problem-reason-alist): New constant.
40 (epg-status-IMPORTED): New function.
41 (epg-status-IMPORT_OK): New function.
42 (epg-status-IMPORT_PROBLEM): New function.
43 (epg-start-import-keys): Don't use a temporary output file.
44 (epg-start-receive-keys): New function.
45 (epg-import-keys-from-server): New function.
46 (epg-receive-keys): Alias to epg-import-keys-from-server.
48 2006-05-01 Daiki Ueno <ueno@unixuser.org>
50 * epg.el (epg-start): Signal an error if the process of CONTEXT is
51 already running for other operations.
52 (epg-flush): Abolished.
53 (epg-start-generate-key): New function.
54 (epg-generate-key-from-file): New function.
55 (epg-generate-key-from-string): New function.
56 (epg-status-KEY_CREATED): New function.
57 (epg-status-KEY_NOT_CREATED): New function.
58 (epg-new-signature-type-alist): New variable.
59 (epg-make-new-signature): New object epg-new-signature.
60 (epg-status-SIG_CREATED): Set epg-new-signature object.
61 (epg-new-signature-to-string): New function.
62 (epg-make-signature): Added slots for signature class and version.
63 (epg-start-sign): Fixed rule of the MODE argument.
65 2006-04-30 Daiki Ueno <ueno@unixuser.org>
67 * epa.el (epa-delete-keys): Support deletion of secret keys.
69 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
72 * epg.el (epg-read-output): Don't convert line endings of the
74 (epg-cancel): Set 'error result.
76 2006-04-29 Daiki Ueno <ueno@unixuser.org>
78 * epg.el (epg-make-signature): Removed user-id; added
79 creation-time, expiration-time, pubkey-algorithm,
81 (epg-process-sentinel): Abolished.
82 (epg-signature-to-string): Decode DN.
83 (epg-list-keys): Cache user-id in epg-user-id-alist.
84 (epg-make-user-id): Renamed name -> string.
86 2006-04-29 Daiki Ueno <ueno@unixuser.org>
88 * epg.el (epg-status-ERRSIG): New function.
89 (epg-verify-file): Signal an error if we encounter ERRSIG status.
90 (epg-verify-string): Ditto.
92 2006-04-28 Daiki Ueno <ueno@unixuser.org>
94 * epg.el: Added typecheck to accessors to objects.
96 2006-04-26 Daiki Ueno <ueno@unixuser.org>
98 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
99 argument of passphrase-callback.
100 (epg-status-PROGRESS): Ditto.
102 2006-04-26 Daiki Ueno <ueno@unixuser.org>
104 * epa.el (epa-select-keys): Don't set inhibit-quit when
105 recursive-edit is called.
106 (epg-cancel): New function.
108 2006-04-25 Daiki Ueno <ueno@unixuser.org>
110 * epg.el (epg-process-sentinel): New function; set 'error if gpg
111 process exited abnormally, but we have not received an error
113 (epg-sign-file): Signal an error only when a signature is not
115 (epg-sign-string): Ditto.
116 (epg-encrypt-file): Signal an error if SIGN is specified and
117 signature is not created.
118 (epg-encrypt-string): Ditto.
120 2006-04-22 Daiki Ueno <ueno@unixuser.org>
122 * epa.el (epa-key-widget-value-create): Decode DN.
123 (epa-list-keys): Add the PROTOCOL argument.
124 (epa-select-keys): Require CONTEXT as the first argument.
126 * epg.el (epg-gpgsm-program): New user option.
127 (epg-dn-type-alist): New variable.
128 (epg-start): Don't specify --command-fd if protocol is CMS.
129 (epg-list-keys): Require CONTEXT as the first argument.
130 (epg-dn-from-string): New function.
131 (epg-decode-dn): New function.
133 2006-04-21 Daiki Ueno <ueno@unixuser.org>
135 * epa.el (epa-sign-keys): New command.
137 * epg.el (epg-start-sign-keys): New function.
138 (epg-sign-keys): New function.
139 (epg-status-GET_HIDDEN): Enable local quit.
140 (epg-status-GET_BOOL): Ditto.
141 (epg-status-GET_LINE): Ditto.
143 2006-04-20 Daiki Ueno <ueno@unixuser.org>
145 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
148 2006-04-20 Daiki Ueno <ueno@unixuser.org>
150 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
151 (pgg-epg-passphrase-callback): New function.
153 * epa.el (epa-select-keys): Added "Cancel" button.
155 2006-04-20 Daiki Ueno <ueno@unixuser.org>
157 * epg.el (epg-signature-to-string): New function.
159 2006-04-20 Daiki Ueno <ueno@unixuser.org>
161 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
163 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
166 * epa.el (epa-select-keys): Added MODE argument.
167 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
169 * epg.el (epg-status-SIG_CREATED): New function.
170 (epg-start-sign): epg-context-signers is now a list of key objects.
171 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
173 2006-04-19 Daiki Ueno <ueno@unixuser.org>
175 * epa.el (epa-verify-file): Show results in minibuffer.
176 * epg.el (epg-debug-buffer): New variable.
177 (epg-flush): New function.
179 2006-04-18 Daiki Ueno <ueno@unixuser.org>
181 * epa.el (epa-export-keys): New command.
182 * epg.el (epg-start-export-keys): Accept a list of epg-key object
185 2006-04-18 Daiki Ueno <ueno@unixuser.org>
187 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
188 (epa-import-key): New command.
190 * epg.el (epg-delete-problem-alist): New constant.
191 (epg-status-DELETE_PROBLEM): New function.
192 (epg-start-delete-key): New function.
193 (epg-delete-key): New function.
194 (epg-wait-for-completion): Add the NO-EOF argument.
196 2006-04-18 Daiki Ueno <ueno@unixuser.org>
198 * epg.el (epg-start): Insert the command-line arguments to the
200 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
201 (epg-start-delete-key): New function.
202 (epg-delete-key): New function.
204 * epa.el (epa-key): New widget.
205 (epa-key-widget-action): New function.
206 (epa-key-widget-value-create): New function.
207 (epa-key-widget-button-face-get): New function.
208 (epa-key-widget-help-echo): New function.
210 2006-04-17 Daiki Ueno <ueno@unixuser.org>
212 * epa-file.el (epa-file-write-region): Check if START is a string.
214 2006-04-17 Daiki Ueno <ueno@unixuser.org>
216 * epa-file.el: Rewritten with file-name-handler.
217 (epa-file-handler): New variable.
218 (epa-file-enable): New command.
219 (epa-file-disable): New command.
221 * epa-setup.el: Call epa-file-enable.
223 2006-04-17 Daiki Ueno <ueno@unixuser.org>
225 * epa-file.el (epa-passphrase): New variable.
226 (epa-file-passphrase-callback-function): New function.
227 (epa-find-file): Reset buffer-undo-list; set
228 buffer-file-coding-system to last-coding-system-used after
231 2006-04-17 Daiki Ueno <ueno@unixuser.org>
233 * epa-file.el (epa-write-file): Try to write region to "/" to get
234 last-coding-system-used to be set.
236 2006-04-17 Daiki Ueno <ueno@unixuser.org>
238 * epa-file.el: New implementation of epf.el.
242 2006-04-17 Daiki Ueno <ueno@unixuser.org>
244 * epa.el (epa-verify-file): Display verify result.
246 * epg.el (epg-invalid-recipients-alist): New variable.
247 (epg-status-INV_RECP): New function.
248 (epg-status-NO_RECP): New function.
250 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
251 epa-verify-file, epa-sign-file, and epa-encrypt-file.
252 (epa-decrypt-file): New function imported from epa-dired.el.
253 (epa-verify-file): New function imported from epa-dired.el.
254 (epa-sign-file): New function imported from epa-dired.el.
255 (epa-encrypt-file): New function imported from epa-dired.el.
257 2006-04-16 Daiki Ueno <ueno@unixuser.org>
259 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
261 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
263 2006-04-16 Daiki Ueno <ueno@unixuser.org>
265 * epa-setup.el: New file.
266 * epa-dired.el: New file.
268 * epg.el (epg-colons-pub-spec): Abolished.
269 (epg-colons-sec-spec): Abolished.
270 (epg-colons-uid-spec): Abolished.
271 (epg-colons-fpr-spec): Abolished.
272 (epg-key-validity-alist): New variable.
273 (epg-key-capablity-alist): New variable.
274 (epg-make-key): New object epg-key.
275 (epg-make-sub-key): New object epg-sub-key.
276 (epg-make-user-id): New object epg-user-id.
277 (epg-list-keys-1): Renamed from epg-list-keys.
278 (epg-list-keys): Rewritten.
280 2006-04-15 Daiki Ueno <ueno@unixuser.org>
282 * epg.el (epg-list-keys): Make the NAME argument optional.
284 2006-04-13 Daiki Ueno <ueno@unixuser.org>
286 * epa.el: Added header.
288 * epg.el (epg-list-keys): Specify --with-fingerprint.
289 (epg-colons-fpr-spec): New variable.
290 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
292 (epg-colons-sec-spec): Ditto.
293 (epg-colons-uid-spec): Renamed trust -> validity.
295 2006-04-13 Daiki Ueno <ueno@unixuser.org>
299 * epg.el (epg-cipher-algorithm-alist): New constant.
300 (epg-pubkey-algorithm-alist): New constant.
301 (epg-digest-algorithm-alist): New constant.
302 (epg-compress-algorithm-alist): New constant.
303 (epg-configuration): New function.
304 (epg-start): Don't specify --yes.
306 2006-04-13 Daiki Ueno <ueno@unixuser.org>
308 * epg.el (epg-make-data-from-file): New function.
309 (epg-make-data-from-string): New function.
310 (epg-data-file): New function.
311 (epg-data-string): New function.
312 (epg-start-decrypt): Get a cipher text from a data object.
313 (epg-delete-output-file): New function.
314 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
316 (epg-start-verify): Get a signature and signed-text from a data
318 (epg-verify-file): Added the 3rd argument PLAIN to specify where
319 the output goes; return the plain text if PLAIN is nil.
320 (epg-verify-string): Return the plain text.
321 (epg-start-sign): Get a plain text from a data object.
322 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
324 (epg-start-encrypt): Get a plain text from a data object.
325 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
327 (epg-start-import-keys): Get keys from a data object.
328 (epg-import-keys-1): New function.
329 (epg-import-keys-from-file): Use it.
330 (epg-import-keys-from-string): Use it.
332 2006-04-12 Daiki Ueno <ueno@unixuser.org>
334 * epf.el: Renamed from epg-file.el.
336 2006-04-12 Daiki Ueno <ueno@unixuser.org>
338 * epg.el (epg-status-GET_BOOL): New function.
339 (epg-status-GET_LINE): New function.
340 (epg-prompt-alist): New variable, to be filled.
342 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
343 * epg.el (epg-signature-fingerprint): New function.
344 (epg-signature-set-fingerprint): New function.
345 (epg-status-VALIDSIG): New function.
347 * epg.el (epg-reset): Don't reset result.
348 (epg-start-decrypt): Reset result before epg-start.
349 (epg-start-verify): Ditto.
350 (epg-start-sign): Ditto.
351 (epg-start-encrypt): Ditto.
352 (epg-start-export-keys): Ditto.
353 (epg-start-import-keys): Ditto.
355 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
356 * pgg-epg.el: New file.
358 * epg.el (epg-start-export-keys): New function.
359 (epg-export-keys): New function.
360 (epg-start-import-keys): New function.
361 (epg-import-keys): New function.
362 (epg-verify-file): New function.
364 * epg-file.el (epg-file-write-region): Support public key encryption.
366 * epg.el (epg-passphrase-callback-function): Always display key-id.