1 2006-04-26 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
4 argument of passphrase-callback.
5 (epg-status-PROGRESS): Ditto.
7 2006-04-26 Daiki Ueno <ueno@unixuser.org>
9 * epa.el (epa-select-keys): Don't set inhibit-quit when
10 recursive-edit is called.
11 (epg-cancel): New function.
13 2006-04-25 Daiki Ueno <ueno@unixuser.org>
15 * epg.el (epg-process-sentinel): New function; set 'error if gpg
16 process exited abnormally, but we have not received an error
18 (epg-sign-file): Signal an error only when a signature is not
20 (epg-sign-string): Ditto.
21 (epg-encrypt-file): Signal an error if SIGN is specified and
22 signature is not created.
23 (epg-encrypt-string): Ditto.
25 2006-04-22 Daiki Ueno <ueno@unixuser.org>
27 * epa.el (epa-key-widget-value-create): Decode DN.
28 (epa-list-keys): Add the PROTOCOL argument.
29 (epa-select-keys): Require CONTEXT as the first argument.
31 * epg.el (epg-gpgsm-program): New user option.
32 (epg-dn-type-alist): New variable.
33 (epg-start): Don't specify --command-fd if protocol is CMS.
34 (epg-list-keys): Require CONTEXT as the first argument.
35 (epg-dn-from-string): New function.
36 (epg-decode-dn): New function.
38 2006-04-21 Daiki Ueno <ueno@unixuser.org>
40 * epa.el (epa-sign-keys): New command.
42 * epg.el (epg-start-sign-keys): New function.
43 (epg-sign-keys): New function.
44 (epg-status-GET_HIDDEN): Enable local quit.
45 (epg-status-GET_BOOL): Ditto.
46 (epg-status-GET_LINE): Ditto.
48 2006-04-20 Daiki Ueno <ueno@unixuser.org>
50 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
53 2006-04-20 Daiki Ueno <ueno@unixuser.org>
55 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
56 (pgg-epg-passphrase-callback): New function.
58 * epa.el (epa-select-keys): Added "Cancel" button.
60 2006-04-20 Daiki Ueno <ueno@unixuser.org>
62 * epg.el (epg-signature-to-string): New function.
64 2006-04-20 Daiki Ueno <ueno@unixuser.org>
66 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
68 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
71 * epa.el (epa-select-keys): Added MODE argument.
72 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
74 * epg.el (epg-status-SIG_CREATED): New function.
75 (epg-start-sign): epg-context-signers is now a list of key objects.
76 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
78 2006-04-19 Daiki Ueno <ueno@unixuser.org>
80 * epa.el (epa-verify-file): Show results in minibuffer.
81 * epg.el (epg-debug-buffer): New variable.
82 (epg-flush): New function.
84 2006-04-18 Daiki Ueno <ueno@unixuser.org>
86 * epa.el (epa-export-keys): New command.
87 * epg.el (epg-start-export-keys): Accept a list of epg-key object
90 2006-04-18 Daiki Ueno <ueno@unixuser.org>
92 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
93 (epa-import-key): New command.
95 * epg.el (epg-delete-problem-alist): New constant.
96 (epg-status-DELETE_PROBLEM): New function.
97 (epg-start-delete-key): New function.
98 (epg-delete-key): New function.
99 (epg-wait-for-completion): Add the NO-EOF argument.
101 2006-04-18 Daiki Ueno <ueno@unixuser.org>
103 * epg.el (epg-start): Insert the command-line arguments to the
105 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
106 (epg-start-delete-key): New function.
107 (epg-delete-key): New function.
109 * epa.el (epa-key): New widget.
110 (epa-key-widget-action): New function.
111 (epa-key-widget-value-create): New function.
112 (epa-key-widget-button-face-get): New function.
113 (epa-key-widget-help-echo): New function.
115 2006-04-17 Daiki Ueno <ueno@unixuser.org>
117 * epa-file.el (epa-file-write-region): Check if START is a string.
119 2006-04-17 Daiki Ueno <ueno@unixuser.org>
121 * epa-file.el: Rewritten with file-name-handler.
122 (epa-file-handler): New variable.
123 (epa-file-enable): New command.
124 (epa-file-disable): New command.
126 * epa-setup.el: Call epa-file-enable.
128 2006-04-17 Daiki Ueno <ueno@unixuser.org>
130 * epa-file.el (epa-passphrase): New variable.
131 (epa-file-passphrase-callback-function): New function.
132 (epa-find-file): Reset buffer-undo-list; set
133 buffer-file-coding-system to last-coding-system-used after
136 2006-04-17 Daiki Ueno <ueno@unixuser.org>
138 * epa-file.el (epa-write-file): Try to write region to "/" to get
139 last-coding-system-used to be set.
141 2006-04-17 Daiki Ueno <ueno@unixuser.org>
143 * epa-file.el: New implementation of epf.el.
147 2006-04-17 Daiki Ueno <ueno@unixuser.org>
149 * epa.el (epa-verify-file): Display verify result.
151 * epg.el (epg-invalid-recipients-alist): New variable.
152 (epg-status-INV_RECP): New function.
153 (epg-status-NO_RECP): New function.
155 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
156 epa-verify-file, epa-sign-file, and epa-encrypt-file.
157 (epa-decrypt-file): New function imported from epa-dired.el.
158 (epa-verify-file): New function imported from epa-dired.el.
159 (epa-sign-file): New function imported from epa-dired.el.
160 (epa-encrypt-file): New function imported from epa-dired.el.
162 2006-04-16 Daiki Ueno <ueno@unixuser.org>
164 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
166 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
168 2006-04-16 Daiki Ueno <ueno@unixuser.org>
170 * epa-setup.el: New file.
171 * epa-dired.el: New file.
173 * epg.el (epg-colons-pub-spec): Abolished.
174 (epg-colons-sec-spec): Abolished.
175 (epg-colons-uid-spec): Abolished.
176 (epg-colons-fpr-spec): Abolished.
177 (epg-key-validity-alist): New variable.
178 (epg-key-capablity-alist): New variable.
179 (epg-make-key): New object epg-key.
180 (epg-make-sub-key): New object epg-sub-key.
181 (epg-make-user-id): New object epg-user-id.
182 (epg-list-keys-1): Renamed from epg-list-keys.
183 (epg-list-keys): Rewritten.
185 2006-04-15 Daiki Ueno <ueno@unixuser.org>
187 * epg.el (epg-list-keys): Make the NAME argument optional.
189 2006-04-13 Daiki Ueno <ueno@unixuser.org>
191 * epa.el: Added header.
193 * epg.el (epg-list-keys): Specify --with-fingerprint.
194 (epg-colons-fpr-spec): New variable.
195 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
197 (epg-colons-sec-spec): Ditto.
198 (epg-colons-uid-spec): Renamed trust -> validity.
200 2006-04-13 Daiki Ueno <ueno@unixuser.org>
204 * epg.el (epg-cipher-algorithm-alist): New constant.
205 (epg-pubkey-algorithm-alist): New constant.
206 (epg-digest-algorithm-alist): New constant.
207 (epg-compress-algorithm-alist): New constant.
208 (epg-configuration): New function.
209 (epg-start): Don't specify --yes.
211 2006-04-13 Daiki Ueno <ueno@unixuser.org>
213 * epg.el (epg-make-data-from-file): New function.
214 (epg-make-data-from-string): New function.
215 (epg-data-file): New function.
216 (epg-data-string): New function.
217 (epg-start-decrypt): Get a cipher text from a data object.
218 (epg-delete-output-file): New function.
219 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
221 (epg-start-verify): Get a signature and signed-text from a data
223 (epg-verify-file): Added the 3rd argument PLAIN to specify where
224 the output goes; return the plain text if PLAIN is nil.
225 (epg-verify-string): Return the plain text.
226 (epg-start-sign): Get a plain text from a data object.
227 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
229 (epg-start-encrypt): Get a plain text from a data object.
230 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
232 (epg-start-import-keys): Get keys from a data object.
233 (epg-import-keys-1): New function.
234 (epg-import-keys-from-file): Use it.
235 (epg-import-keys-from-string): Use it.
237 2006-04-12 Daiki Ueno <ueno@unixuser.org>
239 * epf.el: Renamed from epg-file.el.
241 2006-04-12 Daiki Ueno <ueno@unixuser.org>
243 * epg.el (epg-status-GET_BOOL): New function.
244 (epg-status-GET_LINE): New function.
245 (epg-prompt-alist): New variable, to be filled.
247 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
248 * epg.el (epg-signature-fingerprint): New function.
249 (epg-signature-set-fingerprint): New function.
250 (epg-status-VALIDSIG): New function.
252 * epg.el (epg-reset): Don't reset result.
253 (epg-start-decrypt): Reset result before epg-start.
254 (epg-start-verify): Ditto.
255 (epg-start-sign): Ditto.
256 (epg-start-encrypt): Ditto.
257 (epg-start-export-keys): Ditto.
258 (epg-start-import-keys): Ditto.
260 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
261 * pgg-epg.el: New file.
263 * epg.el (epg-start-export-keys): New function.
264 (epg-export-keys): New function.
265 (epg-start-import-keys): New function.
266 (epg-import-keys): New function.
267 (epg-verify-file): New function.
269 * epg-file.el (epg-file-write-region): Support public key encryption.
271 * epg.el (epg-passphrase-callback-function): Always display key-id.