1 2006-05-02 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-make-key-signature): New object epg-key-signature.
4 (epg-list-keys): Collect key signatures.
5 (epg-make-sub-key): Renamed secret -> secret-p.
7 2006-05-01 Daiki Ueno <ueno@unixuser.org>
9 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
10 (epg-delete-problem-reason-alist): Renamed.
11 (epg-import-ok-reason-alist): New constant.
12 (epg-import-problem-reason-alist): New constant.
13 (epg-status-IMPORTED): New function.
14 (epg-status-IMPORT_OK): New function.
15 (epg-status-IMPORT_PROBLEM): New function.
16 (epg-start-import-keys): Don't use a temporary output file.
17 (epg-start-receive-keys): New function.
18 (epg-import-keys-from-server): New function.
19 (epg-receive-keys): Alias to epg-import-keys-from-server.
21 2006-05-01 Daiki Ueno <ueno@unixuser.org>
23 * epg.el (epg-start): Signal an error if the process of CONTEXT is
24 already running for other operations.
25 (epg-flush): Abolished.
26 (epg-start-generate-key): New function.
27 (epg-generate-key-from-file): New function.
28 (epg-generate-key-from-string): New function.
29 (epg-status-KEY_CREATED): New function.
30 (epg-status-KEY_NOT_CREATED): New function.
31 (epg-new-signature-type-alist): New variable.
32 (epg-make-new-signature): New object epg-new-signature.
33 (epg-status-SIG_CREATED): Set epg-new-signature object.
34 (epg-new-signature-to-string): New function.
35 (epg-make-signature): Added slots for signature class and version.
36 (epg-start-sign): Fixed rule of the MODE argument.
38 2006-04-30 Daiki Ueno <ueno@unixuser.org>
40 * epa.el (epa-delete-keys): Support deletion of secret keys.
42 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
45 * epg.el (epg-read-output): Don't convert line endings of the
47 (epg-cancel): Set 'error result.
49 2006-04-29 Daiki Ueno <ueno@unixuser.org>
51 * epg.el (epg-make-signature): Removed user-id; added
52 creation-time, expiration-time, pubkey-algorithm,
54 (epg-process-sentinel): Abolished.
55 (epg-signature-to-string): Decode DN.
56 (epg-list-keys): Cache user-id in epg-user-id-alist.
57 (epg-make-user-id): Renamed name -> string.
59 2006-04-29 Daiki Ueno <ueno@unixuser.org>
61 * epg.el (epg-status-ERRSIG): New function.
62 (epg-verify-file): Signal an error if we encounter ERRSIG status.
63 (epg-verify-string): Ditto.
65 2006-04-28 Daiki Ueno <ueno@unixuser.org>
67 * epg.el: Added typecheck to accessors to objects.
69 2006-04-26 Daiki Ueno <ueno@unixuser.org>
71 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
72 argument of passphrase-callback.
73 (epg-status-PROGRESS): Ditto.
75 2006-04-26 Daiki Ueno <ueno@unixuser.org>
77 * epa.el (epa-select-keys): Don't set inhibit-quit when
78 recursive-edit is called.
79 (epg-cancel): New function.
81 2006-04-25 Daiki Ueno <ueno@unixuser.org>
83 * epg.el (epg-process-sentinel): New function; set 'error if gpg
84 process exited abnormally, but we have not received an error
86 (epg-sign-file): Signal an error only when a signature is not
88 (epg-sign-string): Ditto.
89 (epg-encrypt-file): Signal an error if SIGN is specified and
90 signature is not created.
91 (epg-encrypt-string): Ditto.
93 2006-04-22 Daiki Ueno <ueno@unixuser.org>
95 * epa.el (epa-key-widget-value-create): Decode DN.
96 (epa-list-keys): Add the PROTOCOL argument.
97 (epa-select-keys): Require CONTEXT as the first argument.
99 * epg.el (epg-gpgsm-program): New user option.
100 (epg-dn-type-alist): New variable.
101 (epg-start): Don't specify --command-fd if protocol is CMS.
102 (epg-list-keys): Require CONTEXT as the first argument.
103 (epg-dn-from-string): New function.
104 (epg-decode-dn): New function.
106 2006-04-21 Daiki Ueno <ueno@unixuser.org>
108 * epa.el (epa-sign-keys): New command.
110 * epg.el (epg-start-sign-keys): New function.
111 (epg-sign-keys): New function.
112 (epg-status-GET_HIDDEN): Enable local quit.
113 (epg-status-GET_BOOL): Ditto.
114 (epg-status-GET_LINE): Ditto.
116 2006-04-20 Daiki Ueno <ueno@unixuser.org>
118 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
121 2006-04-20 Daiki Ueno <ueno@unixuser.org>
123 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
124 (pgg-epg-passphrase-callback): New function.
126 * epa.el (epa-select-keys): Added "Cancel" button.
128 2006-04-20 Daiki Ueno <ueno@unixuser.org>
130 * epg.el (epg-signature-to-string): New function.
132 2006-04-20 Daiki Ueno <ueno@unixuser.org>
134 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
136 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
139 * epa.el (epa-select-keys): Added MODE argument.
140 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
142 * epg.el (epg-status-SIG_CREATED): New function.
143 (epg-start-sign): epg-context-signers is now a list of key objects.
144 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
146 2006-04-19 Daiki Ueno <ueno@unixuser.org>
148 * epa.el (epa-verify-file): Show results in minibuffer.
149 * epg.el (epg-debug-buffer): New variable.
150 (epg-flush): New function.
152 2006-04-18 Daiki Ueno <ueno@unixuser.org>
154 * epa.el (epa-export-keys): New command.
155 * epg.el (epg-start-export-keys): Accept a list of epg-key object
158 2006-04-18 Daiki Ueno <ueno@unixuser.org>
160 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
161 (epa-import-key): New command.
163 * epg.el (epg-delete-problem-alist): New constant.
164 (epg-status-DELETE_PROBLEM): New function.
165 (epg-start-delete-key): New function.
166 (epg-delete-key): New function.
167 (epg-wait-for-completion): Add the NO-EOF argument.
169 2006-04-18 Daiki Ueno <ueno@unixuser.org>
171 * epg.el (epg-start): Insert the command-line arguments to the
173 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
174 (epg-start-delete-key): New function.
175 (epg-delete-key): New function.
177 * epa.el (epa-key): New widget.
178 (epa-key-widget-action): New function.
179 (epa-key-widget-value-create): New function.
180 (epa-key-widget-button-face-get): New function.
181 (epa-key-widget-help-echo): New function.
183 2006-04-17 Daiki Ueno <ueno@unixuser.org>
185 * epa-file.el (epa-file-write-region): Check if START is a string.
187 2006-04-17 Daiki Ueno <ueno@unixuser.org>
189 * epa-file.el: Rewritten with file-name-handler.
190 (epa-file-handler): New variable.
191 (epa-file-enable): New command.
192 (epa-file-disable): New command.
194 * epa-setup.el: Call epa-file-enable.
196 2006-04-17 Daiki Ueno <ueno@unixuser.org>
198 * epa-file.el (epa-passphrase): New variable.
199 (epa-file-passphrase-callback-function): New function.
200 (epa-find-file): Reset buffer-undo-list; set
201 buffer-file-coding-system to last-coding-system-used after
204 2006-04-17 Daiki Ueno <ueno@unixuser.org>
206 * epa-file.el (epa-write-file): Try to write region to "/" to get
207 last-coding-system-used to be set.
209 2006-04-17 Daiki Ueno <ueno@unixuser.org>
211 * epa-file.el: New implementation of epf.el.
215 2006-04-17 Daiki Ueno <ueno@unixuser.org>
217 * epa.el (epa-verify-file): Display verify result.
219 * epg.el (epg-invalid-recipients-alist): New variable.
220 (epg-status-INV_RECP): New function.
221 (epg-status-NO_RECP): New function.
223 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
224 epa-verify-file, epa-sign-file, and epa-encrypt-file.
225 (epa-decrypt-file): New function imported from epa-dired.el.
226 (epa-verify-file): New function imported from epa-dired.el.
227 (epa-sign-file): New function imported from epa-dired.el.
228 (epa-encrypt-file): New function imported from epa-dired.el.
230 2006-04-16 Daiki Ueno <ueno@unixuser.org>
232 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
234 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
236 2006-04-16 Daiki Ueno <ueno@unixuser.org>
238 * epa-setup.el: New file.
239 * epa-dired.el: New file.
241 * epg.el (epg-colons-pub-spec): Abolished.
242 (epg-colons-sec-spec): Abolished.
243 (epg-colons-uid-spec): Abolished.
244 (epg-colons-fpr-spec): Abolished.
245 (epg-key-validity-alist): New variable.
246 (epg-key-capablity-alist): New variable.
247 (epg-make-key): New object epg-key.
248 (epg-make-sub-key): New object epg-sub-key.
249 (epg-make-user-id): New object epg-user-id.
250 (epg-list-keys-1): Renamed from epg-list-keys.
251 (epg-list-keys): Rewritten.
253 2006-04-15 Daiki Ueno <ueno@unixuser.org>
255 * epg.el (epg-list-keys): Make the NAME argument optional.
257 2006-04-13 Daiki Ueno <ueno@unixuser.org>
259 * epa.el: Added header.
261 * epg.el (epg-list-keys): Specify --with-fingerprint.
262 (epg-colons-fpr-spec): New variable.
263 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
265 (epg-colons-sec-spec): Ditto.
266 (epg-colons-uid-spec): Renamed trust -> validity.
268 2006-04-13 Daiki Ueno <ueno@unixuser.org>
272 * epg.el (epg-cipher-algorithm-alist): New constant.
273 (epg-pubkey-algorithm-alist): New constant.
274 (epg-digest-algorithm-alist): New constant.
275 (epg-compress-algorithm-alist): New constant.
276 (epg-configuration): New function.
277 (epg-start): Don't specify --yes.
279 2006-04-13 Daiki Ueno <ueno@unixuser.org>
281 * epg.el (epg-make-data-from-file): New function.
282 (epg-make-data-from-string): New function.
283 (epg-data-file): New function.
284 (epg-data-string): New function.
285 (epg-start-decrypt): Get a cipher text from a data object.
286 (epg-delete-output-file): New function.
287 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
289 (epg-start-verify): Get a signature and signed-text from a data
291 (epg-verify-file): Added the 3rd argument PLAIN to specify where
292 the output goes; return the plain text if PLAIN is nil.
293 (epg-verify-string): Return the plain text.
294 (epg-start-sign): Get a plain text from a data object.
295 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
297 (epg-start-encrypt): Get a plain text from a data object.
298 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
300 (epg-start-import-keys): Get keys from a data object.
301 (epg-import-keys-1): New function.
302 (epg-import-keys-from-file): Use it.
303 (epg-import-keys-from-string): Use it.
305 2006-04-12 Daiki Ueno <ueno@unixuser.org>
307 * epf.el: Renamed from epg-file.el.
309 2006-04-12 Daiki Ueno <ueno@unixuser.org>
311 * epg.el (epg-status-GET_BOOL): New function.
312 (epg-status-GET_LINE): New function.
313 (epg-prompt-alist): New variable, to be filled.
315 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
316 * epg.el (epg-signature-fingerprint): New function.
317 (epg-signature-set-fingerprint): New function.
318 (epg-status-VALIDSIG): New function.
320 * epg.el (epg-reset): Don't reset result.
321 (epg-start-decrypt): Reset result before epg-start.
322 (epg-start-verify): Ditto.
323 (epg-start-sign): Ditto.
324 (epg-start-encrypt): Ditto.
325 (epg-start-export-keys): Ditto.
326 (epg-start-import-keys): Ditto.
328 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
329 * pgg-epg.el: New file.
331 * epg.el (epg-start-export-keys): New function.
332 (epg-export-keys): New function.
333 (epg-start-import-keys): New function.
334 (epg-import-keys): New function.
335 (epg-verify-file): New function.
337 * epg-file.el (epg-file-write-region): Support public key encryption.
339 * epg.el (epg-passphrase-callback-function): Always display key-id.