1 2006-04-25 Daiki Ueno <ueno@unixuser.org>
3 * epg.el (epg-process-sentinel): New function; set 'error if gpg
4 process exited abnormally, but we have not received an error
7 2006-04-22 Daiki Ueno <ueno@unixuser.org>
9 * epa.el (epa-key-widget-value-create): Decode DN.
10 (epa-list-keys): Add the PROTOCOL argument.
11 (epa-select-keys): Require CONTEXT as the first argument.
13 * epg.el (epg-gpgsm-program): New user option.
14 (epg-dn-type-alist): New variable.
15 (epg-start): Don't specify --command-fd if protocol is CMS.
16 (epg-list-keys): Require CONTEXT as the first argument.
17 (epg-dn-from-string): New function.
18 (epg-decode-dn): New function.
20 2006-04-21 Daiki Ueno <ueno@unixuser.org>
22 * epa.el (epa-sign-keys): New command.
24 * epg.el (epg-start-sign-keys): New function.
25 (epg-sign-keys): New function.
26 (epg-status-GET_HIDDEN): Enable local quit.
27 (epg-status-GET_BOOL): Ditto.
28 (epg-status-GET_LINE): Ditto.
30 2006-04-20 Daiki Ueno <ueno@unixuser.org>
32 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
35 2006-04-20 Daiki Ueno <ueno@unixuser.org>
37 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
38 (pgg-epg-passphrase-callback): New function.
40 * epa.el (epa-select-keys): Added "Cancel" button.
42 2006-04-20 Daiki Ueno <ueno@unixuser.org>
44 * epg.el (epg-signature-to-string): New function.
46 2006-04-20 Daiki Ueno <ueno@unixuser.org>
48 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
50 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
53 * epa.el (epa-select-keys): Added MODE argument.
54 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
56 * epg.el (epg-status-SIG_CREATED): New function.
57 (epg-start-sign): epg-context-signers is now a list of key objects.
58 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
60 2006-04-19 Daiki Ueno <ueno@unixuser.org>
62 * epa.el (epa-verify-file): Show results in minibuffer.
63 * epg.el (epg-debug-buffer): New variable.
64 (epg-flush): New function.
66 2006-04-18 Daiki Ueno <ueno@unixuser.org>
68 * epa.el (epa-export-keys): New command.
69 * epg.el (epg-start-export-keys): Accept a list of epg-key object
72 2006-04-18 Daiki Ueno <ueno@unixuser.org>
74 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
75 (epa-import-key): New command.
77 * epg.el (epg-delete-problem-alist): New constant.
78 (epg-status-DELETE_PROBLEM): New function.
79 (epg-start-delete-key): New function.
80 (epg-delete-key): New function.
81 (epg-wait-for-completion): Add the NO-EOF argument.
83 2006-04-18 Daiki Ueno <ueno@unixuser.org>
85 * epg.el (epg-start): Insert the command-line arguments to the
87 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
88 (epg-start-delete-key): New function.
89 (epg-delete-key): New function.
91 * epa.el (epa-key): New widget.
92 (epa-key-widget-action): New function.
93 (epa-key-widget-value-create): New function.
94 (epa-key-widget-button-face-get): New function.
95 (epa-key-widget-help-echo): New function.
97 2006-04-17 Daiki Ueno <ueno@unixuser.org>
99 * epa-file.el (epa-file-write-region): Check if START is a string.
101 2006-04-17 Daiki Ueno <ueno@unixuser.org>
103 * epa-file.el: Rewritten with file-name-handler.
104 (epa-file-handler): New variable.
105 (epa-file-enable): New command.
106 (epa-file-disable): New command.
108 * epa-setup.el: Call epa-file-enable.
110 2006-04-17 Daiki Ueno <ueno@unixuser.org>
112 * epa-file.el (epa-passphrase): New variable.
113 (epa-file-passphrase-callback-function): New function.
114 (epa-find-file): Reset buffer-undo-list; set
115 buffer-file-coding-system to last-coding-system-used after
118 2006-04-17 Daiki Ueno <ueno@unixuser.org>
120 * epa-file.el (epa-write-file): Try to write region to "/" to get
121 last-coding-system-used to be set.
123 2006-04-17 Daiki Ueno <ueno@unixuser.org>
125 * epa-file.el: New implementation of epf.el.
129 2006-04-17 Daiki Ueno <ueno@unixuser.org>
131 * epa.el (epa-verify-file): Display verify result.
133 * epg.el (epg-invalid-recipients-alist): New variable.
134 (epg-status-INV_RECP): New function.
135 (epg-status-NO_RECP): New function.
137 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
138 epa-verify-file, epa-sign-file, and epa-encrypt-file.
139 (epa-decrypt-file): New function imported from epa-dired.el.
140 (epa-verify-file): New function imported from epa-dired.el.
141 (epa-sign-file): New function imported from epa-dired.el.
142 (epa-encrypt-file): New function imported from epa-dired.el.
144 2006-04-16 Daiki Ueno <ueno@unixuser.org>
146 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
148 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
150 2006-04-16 Daiki Ueno <ueno@unixuser.org>
152 * epa-setup.el: New file.
153 * epa-dired.el: New file.
155 * epg.el (epg-colons-pub-spec): Abolished.
156 (epg-colons-sec-spec): Abolished.
157 (epg-colons-uid-spec): Abolished.
158 (epg-colons-fpr-spec): Abolished.
159 (epg-key-validity-alist): New variable.
160 (epg-key-capablity-alist): New variable.
161 (epg-make-key): New object epg-key.
162 (epg-make-sub-key): New object epg-sub-key.
163 (epg-make-user-id): New object epg-user-id.
164 (epg-list-keys-1): Renamed from epg-list-keys.
165 (epg-list-keys): Rewritten.
167 2006-04-15 Daiki Ueno <ueno@unixuser.org>
169 * epg.el (epg-list-keys): Make the NAME argument optional.
171 2006-04-13 Daiki Ueno <ueno@unixuser.org>
173 * epa.el: Added header.
175 * epg.el (epg-list-keys): Specify --with-fingerprint.
176 (epg-colons-fpr-spec): New variable.
177 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
179 (epg-colons-sec-spec): Ditto.
180 (epg-colons-uid-spec): Renamed trust -> validity.
182 2006-04-13 Daiki Ueno <ueno@unixuser.org>
186 * epg.el (epg-cipher-algorithm-alist): New constant.
187 (epg-pubkey-algorithm-alist): New constant.
188 (epg-digest-algorithm-alist): New constant.
189 (epg-compress-algorithm-alist): New constant.
190 (epg-configuration): New function.
191 (epg-start): Don't specify --yes.
193 2006-04-13 Daiki Ueno <ueno@unixuser.org>
195 * epg.el (epg-make-data-from-file): New function.
196 (epg-make-data-from-string): New function.
197 (epg-data-file): New function.
198 (epg-data-string): New function.
199 (epg-start-decrypt): Get a cipher text from a data object.
200 (epg-delete-output-file): New function.
201 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
203 (epg-start-verify): Get a signature and signed-text from a data
205 (epg-verify-file): Added the 3rd argument PLAIN to specify where
206 the output goes; return the plain text if PLAIN is nil.
207 (epg-verify-string): Return the plain text.
208 (epg-start-sign): Get a plain text from a data object.
209 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
211 (epg-start-encrypt): Get a plain text from a data object.
212 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
214 (epg-start-import-keys): Get keys from a data object.
215 (epg-import-keys-1): New function.
216 (epg-import-keys-from-file): Use it.
217 (epg-import-keys-from-string): Use it.
219 2006-04-12 Daiki Ueno <ueno@unixuser.org>
221 * epf.el: Renamed from epg-file.el.
223 2006-04-12 Daiki Ueno <ueno@unixuser.org>
225 * epg.el (epg-status-GET_BOOL): New function.
226 (epg-status-GET_LINE): New function.
227 (epg-prompt-alist): New variable, to be filled.
229 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
230 * epg.el (epg-signature-fingerprint): New function.
231 (epg-signature-set-fingerprint): New function.
232 (epg-status-VALIDSIG): New function.
234 * epg.el (epg-reset): Don't reset result.
235 (epg-start-decrypt): Reset result before epg-start.
236 (epg-start-verify): Ditto.
237 (epg-start-sign): Ditto.
238 (epg-start-encrypt): Ditto.
239 (epg-start-export-keys): Ditto.
240 (epg-start-import-keys): Ditto.
242 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
243 * pgg-epg.el: New file.
245 * epg.el (epg-start-export-keys): New function.
246 (epg-export-keys): New function.
247 (epg-start-import-keys): New function.
248 (epg-import-keys): New function.
249 (epg-verify-file): New function.
251 * epg-file.el (epg-file-write-region): Support public key encryption.
253 * epg.el (epg-passphrase-callback-function): Always display key-id.