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.
6 2006-05-01 Daiki Ueno <ueno@unixuser.org>
8 * epg.el (epg-invalid-recipients-reason-alist): Renamed.
9 (epg-delete-problem-reason-alist): Renamed.
10 (epg-import-ok-reason-alist): New constant.
11 (epg-import-problem-reason-alist): New constant.
12 (epg-status-IMPORTED): New function.
13 (epg-status-IMPORT_OK): New function.
14 (epg-status-IMPORT_PROBLEM): New function.
15 (epg-start-import-keys): Don't use a temporary output file.
16 (epg-start-receive-keys): New function.
17 (epg-import-keys-from-server): New function.
18 (epg-receive-keys): Alias to epg-import-keys-from-server.
20 2006-05-01 Daiki Ueno <ueno@unixuser.org>
22 * epg.el (epg-start): Signal an error if the process of CONTEXT is
23 already running for other operations.
24 (epg-flush): Abolished.
25 (epg-start-generate-key): New function.
26 (epg-generate-key-from-file): New function.
27 (epg-generate-key-from-string): New function.
28 (epg-status-KEY_CREATED): New function.
29 (epg-status-KEY_NOT_CREATED): New function.
30 (epg-new-signature-type-alist): New variable.
31 (epg-make-new-signature): New object epg-new-signature.
32 (epg-status-SIG_CREATED): Set epg-new-signature object.
33 (epg-new-signature-to-string): New function.
34 (epg-make-signature): Added slots for signature class and version.
35 (epg-start-sign): Fixed rule of the MODE argument.
37 2006-04-30 Daiki Ueno <ueno@unixuser.org>
39 * epa.el (epa-delete-keys): Support deletion of secret keys.
41 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
44 * epg.el (epg-read-output): Don't convert line endings of the
46 (epg-cancel): Set 'error result.
48 2006-04-29 Daiki Ueno <ueno@unixuser.org>
50 * epg.el (epg-make-signature): Removed user-id; added
51 creation-time, expiration-time, pubkey-algorithm,
53 (epg-process-sentinel): Abolished.
54 (epg-signature-to-string): Decode DN.
55 (epg-list-keys): Cache user-id in epg-user-id-alist.
56 (epg-make-user-id): Renamed name -> string.
58 2006-04-29 Daiki Ueno <ueno@unixuser.org>
60 * epg.el (epg-status-ERRSIG): New function.
61 (epg-verify-file): Signal an error if we encounter ERRSIG status.
62 (epg-verify-string): Ditto.
64 2006-04-28 Daiki Ueno <ueno@unixuser.org>
66 * epg.el: Added typecheck to accessors to objects.
68 2006-04-26 Daiki Ueno <ueno@unixuser.org>
70 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
71 argument of passphrase-callback.
72 (epg-status-PROGRESS): Ditto.
74 2006-04-26 Daiki Ueno <ueno@unixuser.org>
76 * epa.el (epa-select-keys): Don't set inhibit-quit when
77 recursive-edit is called.
78 (epg-cancel): New function.
80 2006-04-25 Daiki Ueno <ueno@unixuser.org>
82 * epg.el (epg-process-sentinel): New function; set 'error if gpg
83 process exited abnormally, but we have not received an error
85 (epg-sign-file): Signal an error only when a signature is not
87 (epg-sign-string): Ditto.
88 (epg-encrypt-file): Signal an error if SIGN is specified and
89 signature is not created.
90 (epg-encrypt-string): Ditto.
92 2006-04-22 Daiki Ueno <ueno@unixuser.org>
94 * epa.el (epa-key-widget-value-create): Decode DN.
95 (epa-list-keys): Add the PROTOCOL argument.
96 (epa-select-keys): Require CONTEXT as the first argument.
98 * epg.el (epg-gpgsm-program): New user option.
99 (epg-dn-type-alist): New variable.
100 (epg-start): Don't specify --command-fd if protocol is CMS.
101 (epg-list-keys): Require CONTEXT as the first argument.
102 (epg-dn-from-string): New function.
103 (epg-decode-dn): New function.
105 2006-04-21 Daiki Ueno <ueno@unixuser.org>
107 * epa.el (epa-sign-keys): New command.
109 * epg.el (epg-start-sign-keys): New function.
110 (epg-sign-keys): New function.
111 (epg-status-GET_HIDDEN): Enable local quit.
112 (epg-status-GET_BOOL): Ditto.
113 (epg-status-GET_LINE): Ditto.
115 2006-04-20 Daiki Ueno <ueno@unixuser.org>
117 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
120 2006-04-20 Daiki Ueno <ueno@unixuser.org>
122 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
123 (pgg-epg-passphrase-callback): New function.
125 * epa.el (epa-select-keys): Added "Cancel" button.
127 2006-04-20 Daiki Ueno <ueno@unixuser.org>
129 * epg.el (epg-signature-to-string): New function.
131 2006-04-20 Daiki Ueno <ueno@unixuser.org>
133 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
135 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
138 * epa.el (epa-select-keys): Added MODE argument.
139 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
141 * epg.el (epg-status-SIG_CREATED): New function.
142 (epg-start-sign): epg-context-signers is now a list of key objects.
143 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
145 2006-04-19 Daiki Ueno <ueno@unixuser.org>
147 * epa.el (epa-verify-file): Show results in minibuffer.
148 * epg.el (epg-debug-buffer): New variable.
149 (epg-flush): New function.
151 2006-04-18 Daiki Ueno <ueno@unixuser.org>
153 * epa.el (epa-export-keys): New command.
154 * epg.el (epg-start-export-keys): Accept a list of epg-key object
157 2006-04-18 Daiki Ueno <ueno@unixuser.org>
159 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
160 (epa-import-key): New command.
162 * epg.el (epg-delete-problem-alist): New constant.
163 (epg-status-DELETE_PROBLEM): New function.
164 (epg-start-delete-key): New function.
165 (epg-delete-key): New function.
166 (epg-wait-for-completion): Add the NO-EOF argument.
168 2006-04-18 Daiki Ueno <ueno@unixuser.org>
170 * epg.el (epg-start): Insert the command-line arguments to the
172 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
173 (epg-start-delete-key): New function.
174 (epg-delete-key): New function.
176 * epa.el (epa-key): New widget.
177 (epa-key-widget-action): New function.
178 (epa-key-widget-value-create): New function.
179 (epa-key-widget-button-face-get): New function.
180 (epa-key-widget-help-echo): New function.
182 2006-04-17 Daiki Ueno <ueno@unixuser.org>
184 * epa-file.el (epa-file-write-region): Check if START is a string.
186 2006-04-17 Daiki Ueno <ueno@unixuser.org>
188 * epa-file.el: Rewritten with file-name-handler.
189 (epa-file-handler): New variable.
190 (epa-file-enable): New command.
191 (epa-file-disable): New command.
193 * epa-setup.el: Call epa-file-enable.
195 2006-04-17 Daiki Ueno <ueno@unixuser.org>
197 * epa-file.el (epa-passphrase): New variable.
198 (epa-file-passphrase-callback-function): New function.
199 (epa-find-file): Reset buffer-undo-list; set
200 buffer-file-coding-system to last-coding-system-used after
203 2006-04-17 Daiki Ueno <ueno@unixuser.org>
205 * epa-file.el (epa-write-file): Try to write region to "/" to get
206 last-coding-system-used to be set.
208 2006-04-17 Daiki Ueno <ueno@unixuser.org>
210 * epa-file.el: New implementation of epf.el.
214 2006-04-17 Daiki Ueno <ueno@unixuser.org>
216 * epa.el (epa-verify-file): Display verify result.
218 * epg.el (epg-invalid-recipients-alist): New variable.
219 (epg-status-INV_RECP): New function.
220 (epg-status-NO_RECP): New function.
222 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
223 epa-verify-file, epa-sign-file, and epa-encrypt-file.
224 (epa-decrypt-file): New function imported from epa-dired.el.
225 (epa-verify-file): New function imported from epa-dired.el.
226 (epa-sign-file): New function imported from epa-dired.el.
227 (epa-encrypt-file): New function imported from epa-dired.el.
229 2006-04-16 Daiki Ueno <ueno@unixuser.org>
231 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
233 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
235 2006-04-16 Daiki Ueno <ueno@unixuser.org>
237 * epa-setup.el: New file.
238 * epa-dired.el: New file.
240 * epg.el (epg-colons-pub-spec): Abolished.
241 (epg-colons-sec-spec): Abolished.
242 (epg-colons-uid-spec): Abolished.
243 (epg-colons-fpr-spec): Abolished.
244 (epg-key-validity-alist): New variable.
245 (epg-key-capablity-alist): New variable.
246 (epg-make-key): New object epg-key.
247 (epg-make-sub-key): New object epg-sub-key.
248 (epg-make-user-id): New object epg-user-id.
249 (epg-list-keys-1): Renamed from epg-list-keys.
250 (epg-list-keys): Rewritten.
252 2006-04-15 Daiki Ueno <ueno@unixuser.org>
254 * epg.el (epg-list-keys): Make the NAME argument optional.
256 2006-04-13 Daiki Ueno <ueno@unixuser.org>
258 * epa.el: Added header.
260 * epg.el (epg-list-keys): Specify --with-fingerprint.
261 (epg-colons-fpr-spec): New variable.
262 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
264 (epg-colons-sec-spec): Ditto.
265 (epg-colons-uid-spec): Renamed trust -> validity.
267 2006-04-13 Daiki Ueno <ueno@unixuser.org>
271 * epg.el (epg-cipher-algorithm-alist): New constant.
272 (epg-pubkey-algorithm-alist): New constant.
273 (epg-digest-algorithm-alist): New constant.
274 (epg-compress-algorithm-alist): New constant.
275 (epg-configuration): New function.
276 (epg-start): Don't specify --yes.
278 2006-04-13 Daiki Ueno <ueno@unixuser.org>
280 * epg.el (epg-make-data-from-file): New function.
281 (epg-make-data-from-string): New function.
282 (epg-data-file): New function.
283 (epg-data-string): New function.
284 (epg-start-decrypt): Get a cipher text from a data object.
285 (epg-delete-output-file): New function.
286 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
288 (epg-start-verify): Get a signature and signed-text from a data
290 (epg-verify-file): Added the 3rd argument PLAIN to specify where
291 the output goes; return the plain text if PLAIN is nil.
292 (epg-verify-string): Return the plain text.
293 (epg-start-sign): Get a plain text from a data object.
294 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
296 (epg-start-encrypt): Get a plain text from a data object.
297 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
299 (epg-start-import-keys): Get keys from a data object.
300 (epg-import-keys-1): New function.
301 (epg-import-keys-from-file): Use it.
302 (epg-import-keys-from-string): Use it.
304 2006-04-12 Daiki Ueno <ueno@unixuser.org>
306 * epf.el: Renamed from epg-file.el.
308 2006-04-12 Daiki Ueno <ueno@unixuser.org>
310 * epg.el (epg-status-GET_BOOL): New function.
311 (epg-status-GET_LINE): New function.
312 (epg-prompt-alist): New variable, to be filled.
314 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
315 * epg.el (epg-signature-fingerprint): New function.
316 (epg-signature-set-fingerprint): New function.
317 (epg-status-VALIDSIG): New function.
319 * epg.el (epg-reset): Don't reset result.
320 (epg-start-decrypt): Reset result before epg-start.
321 (epg-start-verify): Ditto.
322 (epg-start-sign): Ditto.
323 (epg-start-encrypt): Ditto.
324 (epg-start-export-keys): Ditto.
325 (epg-start-import-keys): Ditto.
327 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
328 * pgg-epg.el: New file.
330 * epg.el (epg-start-export-keys): New function.
331 (epg-export-keys): New function.
332 (epg-start-import-keys): New function.
333 (epg-import-keys): New function.
334 (epg-verify-file): New function.
336 * epg-file.el (epg-file-write-region): Support public key encryption.
338 * epg.el (epg-passphrase-callback-function): Always display key-id.