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.
17 2006-04-30 Daiki Ueno <ueno@unixuser.org>
19 * epa.el (epa-delete-keys): Support deletion of secret keys.
21 * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
24 * epg.el (epg-read-output): Don't convert line endings of the
26 (epg-cancel): Set 'error result.
28 2006-04-29 Daiki Ueno <ueno@unixuser.org>
30 * epg.el (epg-make-signature): Removed user-id; added
31 creation-time, expiration-time, pubkey-algorithm,
33 (epg-process-sentinel): Abolished.
34 (epg-signature-to-string): Decode DN.
35 (epg-list-keys): Cache user-id in epg-user-id-alist.
36 (epg-make-user-id): Renamed name -> string.
38 2006-04-29 Daiki Ueno <ueno@unixuser.org>
40 * epg.el (epg-status-ERRSIG): New function.
41 (epg-verify-file): Signal an error if we encounter ERRSIG status.
42 (epg-verify-string): Ditto.
44 2006-04-28 Daiki Ueno <ueno@unixuser.org>
46 * epg.el: Added typecheck to accessors to objects.
48 2006-04-26 Daiki Ueno <ueno@unixuser.org>
50 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
51 argument of passphrase-callback.
52 (epg-status-PROGRESS): Ditto.
54 2006-04-26 Daiki Ueno <ueno@unixuser.org>
56 * epa.el (epa-select-keys): Don't set inhibit-quit when
57 recursive-edit is called.
58 (epg-cancel): New function.
60 2006-04-25 Daiki Ueno <ueno@unixuser.org>
62 * epg.el (epg-process-sentinel): New function; set 'error if gpg
63 process exited abnormally, but we have not received an error
65 (epg-sign-file): Signal an error only when a signature is not
67 (epg-sign-string): Ditto.
68 (epg-encrypt-file): Signal an error if SIGN is specified and
69 signature is not created.
70 (epg-encrypt-string): Ditto.
72 2006-04-22 Daiki Ueno <ueno@unixuser.org>
74 * epa.el (epa-key-widget-value-create): Decode DN.
75 (epa-list-keys): Add the PROTOCOL argument.
76 (epa-select-keys): Require CONTEXT as the first argument.
78 * epg.el (epg-gpgsm-program): New user option.
79 (epg-dn-type-alist): New variable.
80 (epg-start): Don't specify --command-fd if protocol is CMS.
81 (epg-list-keys): Require CONTEXT as the first argument.
82 (epg-dn-from-string): New function.
83 (epg-decode-dn): New function.
85 2006-04-21 Daiki Ueno <ueno@unixuser.org>
87 * epa.el (epa-sign-keys): New command.
89 * epg.el (epg-start-sign-keys): New function.
90 (epg-sign-keys): New function.
91 (epg-status-GET_HIDDEN): Enable local quit.
92 (epg-status-GET_BOOL): Ditto.
93 (epg-status-GET_LINE): Ditto.
95 2006-04-20 Daiki Ueno <ueno@unixuser.org>
97 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
100 2006-04-20 Daiki Ueno <ueno@unixuser.org>
102 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
103 (pgg-epg-passphrase-callback): New function.
105 * epa.el (epa-select-keys): Added "Cancel" button.
107 2006-04-20 Daiki Ueno <ueno@unixuser.org>
109 * epg.el (epg-signature-to-string): New function.
111 2006-04-20 Daiki Ueno <ueno@unixuser.org>
113 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
115 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
118 * epa.el (epa-select-keys): Added MODE argument.
119 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
121 * epg.el (epg-status-SIG_CREATED): New function.
122 (epg-start-sign): epg-context-signers is now a list of key objects.
123 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
125 2006-04-19 Daiki Ueno <ueno@unixuser.org>
127 * epa.el (epa-verify-file): Show results in minibuffer.
128 * epg.el (epg-debug-buffer): New variable.
129 (epg-flush): New function.
131 2006-04-18 Daiki Ueno <ueno@unixuser.org>
133 * epa.el (epa-export-keys): New command.
134 * epg.el (epg-start-export-keys): Accept a list of epg-key object
137 2006-04-18 Daiki Ueno <ueno@unixuser.org>
139 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
140 (epa-import-key): New command.
142 * epg.el (epg-delete-problem-alist): New constant.
143 (epg-status-DELETE_PROBLEM): New function.
144 (epg-start-delete-key): New function.
145 (epg-delete-key): New function.
146 (epg-wait-for-completion): Add the NO-EOF argument.
148 2006-04-18 Daiki Ueno <ueno@unixuser.org>
150 * epg.el (epg-start): Insert the command-line arguments to the
152 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
153 (epg-start-delete-key): New function.
154 (epg-delete-key): New function.
156 * epa.el (epa-key): New widget.
157 (epa-key-widget-action): New function.
158 (epa-key-widget-value-create): New function.
159 (epa-key-widget-button-face-get): New function.
160 (epa-key-widget-help-echo): New function.
162 2006-04-17 Daiki Ueno <ueno@unixuser.org>
164 * epa-file.el (epa-file-write-region): Check if START is a string.
166 2006-04-17 Daiki Ueno <ueno@unixuser.org>
168 * epa-file.el: Rewritten with file-name-handler.
169 (epa-file-handler): New variable.
170 (epa-file-enable): New command.
171 (epa-file-disable): New command.
173 * epa-setup.el: Call epa-file-enable.
175 2006-04-17 Daiki Ueno <ueno@unixuser.org>
177 * epa-file.el (epa-passphrase): New variable.
178 (epa-file-passphrase-callback-function): New function.
179 (epa-find-file): Reset buffer-undo-list; set
180 buffer-file-coding-system to last-coding-system-used after
183 2006-04-17 Daiki Ueno <ueno@unixuser.org>
185 * epa-file.el (epa-write-file): Try to write region to "/" to get
186 last-coding-system-used to be set.
188 2006-04-17 Daiki Ueno <ueno@unixuser.org>
190 * epa-file.el: New implementation of epf.el.
194 2006-04-17 Daiki Ueno <ueno@unixuser.org>
196 * epa.el (epa-verify-file): Display verify result.
198 * epg.el (epg-invalid-recipients-alist): New variable.
199 (epg-status-INV_RECP): New function.
200 (epg-status-NO_RECP): New function.
202 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
203 epa-verify-file, epa-sign-file, and epa-encrypt-file.
204 (epa-decrypt-file): New function imported from epa-dired.el.
205 (epa-verify-file): New function imported from epa-dired.el.
206 (epa-sign-file): New function imported from epa-dired.el.
207 (epa-encrypt-file): New function imported from epa-dired.el.
209 2006-04-16 Daiki Ueno <ueno@unixuser.org>
211 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
213 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
215 2006-04-16 Daiki Ueno <ueno@unixuser.org>
217 * epa-setup.el: New file.
218 * epa-dired.el: New file.
220 * epg.el (epg-colons-pub-spec): Abolished.
221 (epg-colons-sec-spec): Abolished.
222 (epg-colons-uid-spec): Abolished.
223 (epg-colons-fpr-spec): Abolished.
224 (epg-key-validity-alist): New variable.
225 (epg-key-capablity-alist): New variable.
226 (epg-make-key): New object epg-key.
227 (epg-make-sub-key): New object epg-sub-key.
228 (epg-make-user-id): New object epg-user-id.
229 (epg-list-keys-1): Renamed from epg-list-keys.
230 (epg-list-keys): Rewritten.
232 2006-04-15 Daiki Ueno <ueno@unixuser.org>
234 * epg.el (epg-list-keys): Make the NAME argument optional.
236 2006-04-13 Daiki Ueno <ueno@unixuser.org>
238 * epa.el: Added header.
240 * epg.el (epg-list-keys): Specify --with-fingerprint.
241 (epg-colons-fpr-spec): New variable.
242 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
244 (epg-colons-sec-spec): Ditto.
245 (epg-colons-uid-spec): Renamed trust -> validity.
247 2006-04-13 Daiki Ueno <ueno@unixuser.org>
251 * epg.el (epg-cipher-algorithm-alist): New constant.
252 (epg-pubkey-algorithm-alist): New constant.
253 (epg-digest-algorithm-alist): New constant.
254 (epg-compress-algorithm-alist): New constant.
255 (epg-configuration): New function.
256 (epg-start): Don't specify --yes.
258 2006-04-13 Daiki Ueno <ueno@unixuser.org>
260 * epg.el (epg-make-data-from-file): New function.
261 (epg-make-data-from-string): New function.
262 (epg-data-file): New function.
263 (epg-data-string): New function.
264 (epg-start-decrypt): Get a cipher text from a data object.
265 (epg-delete-output-file): New function.
266 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
268 (epg-start-verify): Get a signature and signed-text from a data
270 (epg-verify-file): Added the 3rd argument PLAIN to specify where
271 the output goes; return the plain text if PLAIN is nil.
272 (epg-verify-string): Return the plain text.
273 (epg-start-sign): Get a plain text from a data object.
274 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
276 (epg-start-encrypt): Get a plain text from a data object.
277 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
279 (epg-start-import-keys): Get keys from a data object.
280 (epg-import-keys-1): New function.
281 (epg-import-keys-from-file): Use it.
282 (epg-import-keys-from-string): Use it.
284 2006-04-12 Daiki Ueno <ueno@unixuser.org>
286 * epf.el: Renamed from epg-file.el.
288 2006-04-12 Daiki Ueno <ueno@unixuser.org>
290 * epg.el (epg-status-GET_BOOL): New function.
291 (epg-status-GET_LINE): New function.
292 (epg-prompt-alist): New variable, to be filled.
294 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
295 * epg.el (epg-signature-fingerprint): New function.
296 (epg-signature-set-fingerprint): New function.
297 (epg-status-VALIDSIG): New function.
299 * epg.el (epg-reset): Don't reset result.
300 (epg-start-decrypt): Reset result before epg-start.
301 (epg-start-verify): Ditto.
302 (epg-start-sign): Ditto.
303 (epg-start-encrypt): Ditto.
304 (epg-start-export-keys): Ditto.
305 (epg-start-import-keys): Ditto.
307 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
308 * pgg-epg.el: New file.
310 * epg.el (epg-start-export-keys): New function.
311 (epg-export-keys): New function.
312 (epg-start-import-keys): New function.
313 (epg-import-keys): New function.
314 (epg-verify-file): New function.
316 * epg-file.el (epg-file-write-region): Support public key encryption.
318 * epg.el (epg-passphrase-callback-function): Always display key-id.