1 2006-05-01 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-start): Signal an error if the process of CONTEXT is
4 already running for other operations.
5 (epg-flush): Abolished.
6 (epg-start-generate-key): New function.
7 (epg-generate-key-from-file): New function.
8 (epg-generate-key-from-string): New function.
9 (epg-status-KEY_CREATED): New function.
10 (epg-status-KEY_NOT_CREATED): New function.
11 (epg-new-signature-type-alist): New variable.
12 (epg-make-new-signature): New object epg-new-signature.
13 (epg-status-SIG_CREATED): Set epg-new-signature object.
14 (epg-new-signature-to-string): New function.
15 (epg-make-signature): Added slots for signature class and version.
16 (epg-start-sign): Fixed rule of the MODE argument.
18 2006-04-30 Daiki Ueno <ueno@unixuser.org>
20 * epa.el (epa-delete-keys): Support deletion of secret keys.
22 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
25 * epg.el (epg-read-output): Don't convert line endings of the
27 (epg-cancel): Set 'error result.
29 2006-04-29 Daiki Ueno <ueno@unixuser.org>
31 * epg.el (epg-make-signature): Removed user-id; added
32 creation-time, expiration-time, pubkey-algorithm,
34 (epg-process-sentinel): Abolished.
35 (epg-signature-to-string): Decode DN.
36 (epg-list-keys): Cache user-id in epg-user-id-alist.
37 (epg-make-user-id): Renamed name -> string.
39 2006-04-29 Daiki Ueno <ueno@unixuser.org>
41 * epg.el (epg-status-ERRSIG): New function.
42 (epg-verify-file): Signal an error if we encounter ERRSIG status.
43 (epg-verify-string): Ditto.
45 2006-04-28 Daiki Ueno <ueno@unixuser.org>
47 * epg.el: Added typecheck to accessors to objects.
49 2006-04-26 Daiki Ueno <ueno@unixuser.org>
51 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
52 argument of passphrase-callback.
53 (epg-status-PROGRESS): Ditto.
55 2006-04-26 Daiki Ueno <ueno@unixuser.org>
57 * epa.el (epa-select-keys): Don't set inhibit-quit when
58 recursive-edit is called.
59 (epg-cancel): New function.
61 2006-04-25 Daiki Ueno <ueno@unixuser.org>
63 * epg.el (epg-process-sentinel): New function; set 'error if gpg
64 process exited abnormally, but we have not received an error
66 (epg-sign-file): Signal an error only when a signature is not
68 (epg-sign-string): Ditto.
69 (epg-encrypt-file): Signal an error if SIGN is specified and
70 signature is not created.
71 (epg-encrypt-string): Ditto.
73 2006-04-22 Daiki Ueno <ueno@unixuser.org>
75 * epa.el (epa-key-widget-value-create): Decode DN.
76 (epa-list-keys): Add the PROTOCOL argument.
77 (epa-select-keys): Require CONTEXT as the first argument.
79 * epg.el (epg-gpgsm-program): New user option.
80 (epg-dn-type-alist): New variable.
81 (epg-start): Don't specify --command-fd if protocol is CMS.
82 (epg-list-keys): Require CONTEXT as the first argument.
83 (epg-dn-from-string): New function.
84 (epg-decode-dn): New function.
86 2006-04-21 Daiki Ueno <ueno@unixuser.org>
88 * epa.el (epa-sign-keys): New command.
90 * epg.el (epg-start-sign-keys): New function.
91 (epg-sign-keys): New function.
92 (epg-status-GET_HIDDEN): Enable local quit.
93 (epg-status-GET_BOOL): Ditto.
94 (epg-status-GET_LINE): Ditto.
96 2006-04-20 Daiki Ueno <ueno@unixuser.org>
98 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
101 2006-04-20 Daiki Ueno <ueno@unixuser.org>
103 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
104 (pgg-epg-passphrase-callback): New function.
106 * epa.el (epa-select-keys): Added "Cancel" button.
108 2006-04-20 Daiki Ueno <ueno@unixuser.org>
110 * epg.el (epg-signature-to-string): New function.
112 2006-04-20 Daiki Ueno <ueno@unixuser.org>
114 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
116 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
119 * epa.el (epa-select-keys): Added MODE argument.
120 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
122 * epg.el (epg-status-SIG_CREATED): New function.
123 (epg-start-sign): epg-context-signers is now a list of key objects.
124 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
126 2006-04-19 Daiki Ueno <ueno@unixuser.org>
128 * epa.el (epa-verify-file): Show results in minibuffer.
129 * epg.el (epg-debug-buffer): New variable.
130 (epg-flush): New function.
132 2006-04-18 Daiki Ueno <ueno@unixuser.org>
134 * epa.el (epa-export-keys): New command.
135 * epg.el (epg-start-export-keys): Accept a list of epg-key object
138 2006-04-18 Daiki Ueno <ueno@unixuser.org>
140 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
141 (epa-import-key): New command.
143 * epg.el (epg-delete-problem-alist): New constant.
144 (epg-status-DELETE_PROBLEM): New function.
145 (epg-start-delete-key): New function.
146 (epg-delete-key): New function.
147 (epg-wait-for-completion): Add the NO-EOF argument.
149 2006-04-18 Daiki Ueno <ueno@unixuser.org>
151 * epg.el (epg-start): Insert the command-line arguments to the
153 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
154 (epg-start-delete-key): New function.
155 (epg-delete-key): New function.
157 * epa.el (epa-key): New widget.
158 (epa-key-widget-action): New function.
159 (epa-key-widget-value-create): New function.
160 (epa-key-widget-button-face-get): New function.
161 (epa-key-widget-help-echo): New function.
163 2006-04-17 Daiki Ueno <ueno@unixuser.org>
165 * epa-file.el (epa-file-write-region): Check if START is a string.
167 2006-04-17 Daiki Ueno <ueno@unixuser.org>
169 * epa-file.el: Rewritten with file-name-handler.
170 (epa-file-handler): New variable.
171 (epa-file-enable): New command.
172 (epa-file-disable): New command.
174 * epa-setup.el: Call epa-file-enable.
176 2006-04-17 Daiki Ueno <ueno@unixuser.org>
178 * epa-file.el (epa-passphrase): New variable.
179 (epa-file-passphrase-callback-function): New function.
180 (epa-find-file): Reset buffer-undo-list; set
181 buffer-file-coding-system to last-coding-system-used after
184 2006-04-17 Daiki Ueno <ueno@unixuser.org>
186 * epa-file.el (epa-write-file): Try to write region to "/" to get
187 last-coding-system-used to be set.
189 2006-04-17 Daiki Ueno <ueno@unixuser.org>
191 * epa-file.el: New implementation of epf.el.
195 2006-04-17 Daiki Ueno <ueno@unixuser.org>
197 * epa.el (epa-verify-file): Display verify result.
199 * epg.el (epg-invalid-recipients-alist): New variable.
200 (epg-status-INV_RECP): New function.
201 (epg-status-NO_RECP): New function.
203 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
204 epa-verify-file, epa-sign-file, and epa-encrypt-file.
205 (epa-decrypt-file): New function imported from epa-dired.el.
206 (epa-verify-file): New function imported from epa-dired.el.
207 (epa-sign-file): New function imported from epa-dired.el.
208 (epa-encrypt-file): New function imported from epa-dired.el.
210 2006-04-16 Daiki Ueno <ueno@unixuser.org>
212 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
214 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
216 2006-04-16 Daiki Ueno <ueno@unixuser.org>
218 * epa-setup.el: New file.
219 * epa-dired.el: New file.
221 * epg.el (epg-colons-pub-spec): Abolished.
222 (epg-colons-sec-spec): Abolished.
223 (epg-colons-uid-spec): Abolished.
224 (epg-colons-fpr-spec): Abolished.
225 (epg-key-validity-alist): New variable.
226 (epg-key-capablity-alist): New variable.
227 (epg-make-key): New object epg-key.
228 (epg-make-sub-key): New object epg-sub-key.
229 (epg-make-user-id): New object epg-user-id.
230 (epg-list-keys-1): Renamed from epg-list-keys.
231 (epg-list-keys): Rewritten.
233 2006-04-15 Daiki Ueno <ueno@unixuser.org>
235 * epg.el (epg-list-keys): Make the NAME argument optional.
237 2006-04-13 Daiki Ueno <ueno@unixuser.org>
239 * epa.el: Added header.
241 * epg.el (epg-list-keys): Specify --with-fingerprint.
242 (epg-colons-fpr-spec): New variable.
243 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
245 (epg-colons-sec-spec): Ditto.
246 (epg-colons-uid-spec): Renamed trust -> validity.
248 2006-04-13 Daiki Ueno <ueno@unixuser.org>
252 * epg.el (epg-cipher-algorithm-alist): New constant.
253 (epg-pubkey-algorithm-alist): New constant.
254 (epg-digest-algorithm-alist): New constant.
255 (epg-compress-algorithm-alist): New constant.
256 (epg-configuration): New function.
257 (epg-start): Don't specify --yes.
259 2006-04-13 Daiki Ueno <ueno@unixuser.org>
261 * epg.el (epg-make-data-from-file): New function.
262 (epg-make-data-from-string): New function.
263 (epg-data-file): New function.
264 (epg-data-string): New function.
265 (epg-start-decrypt): Get a cipher text from a data object.
266 (epg-delete-output-file): New function.
267 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
269 (epg-start-verify): Get a signature and signed-text from a data
271 (epg-verify-file): Added the 3rd argument PLAIN to specify where
272 the output goes; return the plain text if PLAIN is nil.
273 (epg-verify-string): Return the plain text.
274 (epg-start-sign): Get a plain text from a data object.
275 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
277 (epg-start-encrypt): Get a plain text from a data object.
278 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
280 (epg-start-import-keys): Get keys from a data object.
281 (epg-import-keys-1): New function.
282 (epg-import-keys-from-file): Use it.
283 (epg-import-keys-from-string): Use it.
285 2006-04-12 Daiki Ueno <ueno@unixuser.org>
287 * epf.el: Renamed from epg-file.el.
289 2006-04-12 Daiki Ueno <ueno@unixuser.org>
291 * epg.el (epg-status-GET_BOOL): New function.
292 (epg-status-GET_LINE): New function.
293 (epg-prompt-alist): New variable, to be filled.
295 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
296 * epg.el (epg-signature-fingerprint): New function.
297 (epg-signature-set-fingerprint): New function.
298 (epg-status-VALIDSIG): New function.
300 * epg.el (epg-reset): Don't reset result.
301 (epg-start-decrypt): Reset result before epg-start.
302 (epg-start-verify): Ditto.
303 (epg-start-sign): Ditto.
304 (epg-start-encrypt): Ditto.
305 (epg-start-export-keys): Ditto.
306 (epg-start-import-keys): Ditto.
308 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
309 * pgg-epg.el: New file.
311 * epg.el (epg-start-export-keys): New function.
312 (epg-export-keys): New function.
313 (epg-start-import-keys): New function.
314 (epg-import-keys): New function.
315 (epg-verify-file): New function.
317 * epg-file.el (epg-file-write-region): Support public key encryption.
319 * epg.el (epg-passphrase-callback-function): Always display key-id.