1 2006-04-22 Daiki Ueno <ueno@unixuser.org>
3 * epa.el (epa-key-widget-value-create): Decode DN.
4 (epa-list-keys): Add the PROTOCOL argument.
5 (epa-select-keys): Require CONTEXT as the first argument.
7 * epg.el (epg-gpgsm-program): New user option.
8 (epg-dn-type-alist): New variable.
9 (epg-start): Don't specify --command-fd if protocol is CMS.
10 (epg-list-keys): Require CONTEXT as the first argument.
11 (epg-dn-from-string): New function.
12 (epg-decode-dn): New function.
14 2006-04-21 Daiki Ueno <ueno@unixuser.org>
16 * epa.el (epa-sign-keys): New command.
18 * epg.el (epg-start-sign-keys): New function.
19 (epg-sign-keys): New function.
20 (epg-status-GET_HIDDEN): Enable local quit.
21 (epg-status-GET_BOOL): Ditto.
22 (epg-status-GET_LINE): Ditto.
24 2006-04-20 Daiki Ueno <ueno@unixuser.org>
26 * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
29 2006-04-20 Daiki Ueno <ueno@unixuser.org>
31 * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
32 (pgg-epg-passphrase-callback): New function.
34 * epa.el (epa-select-keys): Added "Cancel" button.
36 2006-04-20 Daiki Ueno <ueno@unixuser.org>
38 * epg.el (epg-signature-to-string): New function.
40 2006-04-20 Daiki Ueno <ueno@unixuser.org>
42 * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
44 * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
47 * epa.el (epa-select-keys): Added MODE argument.
48 (epa-encrypt-file): RECIPIENTS is now a list of key objects.
50 * epg.el (epg-status-SIG_CREATED): New function.
51 (epg-start-sign): epg-context-signers is now a list of key objects.
52 (epg-start-encrypt): RECIPIENTS is now a list of key objects.
54 2006-04-19 Daiki Ueno <ueno@unixuser.org>
56 * epa.el (epa-verify-file): Show results in minibuffer.
57 * epg.el (epg-debug-buffer): New variable.
58 (epg-flush): New function.
60 2006-04-18 Daiki Ueno <ueno@unixuser.org>
62 * epa.el (epa-export-keys): New command.
63 * epg.el (epg-start-export-keys): Accept a list of epg-key object
66 2006-04-18 Daiki Ueno <ueno@unixuser.org>
68 * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
69 (epa-import-key): New command.
71 * epg.el (epg-delete-problem-alist): New constant.
72 (epg-status-DELETE_PROBLEM): New function.
73 (epg-start-delete-key): New function.
74 (epg-delete-key): New function.
75 (epg-wait-for-completion): Add the NO-EOF argument.
77 2006-04-18 Daiki Ueno <ueno@unixuser.org>
79 * epg.el (epg-start): Insert the command-line arguments to the
81 (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
82 (epg-start-delete-key): New function.
83 (epg-delete-key): New function.
85 * epa.el (epa-key): New widget.
86 (epa-key-widget-action): New function.
87 (epa-key-widget-value-create): New function.
88 (epa-key-widget-button-face-get): New function.
89 (epa-key-widget-help-echo): New function.
91 2006-04-17 Daiki Ueno <ueno@unixuser.org>
93 * epa-file.el (epa-file-write-region): Check if START is a string.
95 2006-04-17 Daiki Ueno <ueno@unixuser.org>
97 * epa-file.el: Rewritten with file-name-handler.
98 (epa-file-handler): New variable.
99 (epa-file-enable): New command.
100 (epa-file-disable): New command.
102 * epa-setup.el: Call epa-file-enable.
104 2006-04-17 Daiki Ueno <ueno@unixuser.org>
106 * epa-file.el (epa-passphrase): New variable.
107 (epa-file-passphrase-callback-function): New function.
108 (epa-find-file): Reset buffer-undo-list; set
109 buffer-file-coding-system to last-coding-system-used after
112 2006-04-17 Daiki Ueno <ueno@unixuser.org>
114 * epa-file.el (epa-write-file): Try to write region to "/" to get
115 last-coding-system-used to be set.
117 2006-04-17 Daiki Ueno <ueno@unixuser.org>
119 * epa-file.el: New implementation of epf.el.
123 2006-04-17 Daiki Ueno <ueno@unixuser.org>
125 * epa.el (epa-verify-file): Display verify result.
127 * epg.el (epg-invalid-recipients-alist): New variable.
128 (epg-status-INV_RECP): New function.
129 (epg-status-NO_RECP): New function.
131 * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
132 epa-verify-file, epa-sign-file, and epa-encrypt-file.
133 (epa-decrypt-file): New function imported from epa-dired.el.
134 (epa-verify-file): New function imported from epa-dired.el.
135 (epa-sign-file): New function imported from epa-dired.el.
136 (epa-encrypt-file): New function imported from epa-dired.el.
138 2006-04-16 Daiki Ueno <ueno@unixuser.org>
140 * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
142 * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
144 2006-04-16 Daiki Ueno <ueno@unixuser.org>
146 * epa-setup.el: New file.
147 * epa-dired.el: New file.
149 * epg.el (epg-colons-pub-spec): Abolished.
150 (epg-colons-sec-spec): Abolished.
151 (epg-colons-uid-spec): Abolished.
152 (epg-colons-fpr-spec): Abolished.
153 (epg-key-validity-alist): New variable.
154 (epg-key-capablity-alist): New variable.
155 (epg-make-key): New object epg-key.
156 (epg-make-sub-key): New object epg-sub-key.
157 (epg-make-user-id): New object epg-user-id.
158 (epg-list-keys-1): Renamed from epg-list-keys.
159 (epg-list-keys): Rewritten.
161 2006-04-15 Daiki Ueno <ueno@unixuser.org>
163 * epg.el (epg-list-keys): Make the NAME argument optional.
165 2006-04-13 Daiki Ueno <ueno@unixuser.org>
167 * epa.el: Added header.
169 * epg.el (epg-list-keys): Specify --with-fingerprint.
170 (epg-colons-fpr-spec): New variable.
171 (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
173 (epg-colons-sec-spec): Ditto.
174 (epg-colons-uid-spec): Renamed trust -> validity.
176 2006-04-13 Daiki Ueno <ueno@unixuser.org>
180 * epg.el (epg-cipher-algorithm-alist): New constant.
181 (epg-pubkey-algorithm-alist): New constant.
182 (epg-digest-algorithm-alist): New constant.
183 (epg-compress-algorithm-alist): New constant.
184 (epg-configuration): New function.
185 (epg-start): Don't specify --yes.
187 2006-04-13 Daiki Ueno <ueno@unixuser.org>
189 * epg.el (epg-make-data-from-file): New function.
190 (epg-make-data-from-string): New function.
191 (epg-data-file): New function.
192 (epg-data-string): New function.
193 (epg-start-decrypt): Get a cipher text from a data object.
194 (epg-delete-output-file): New function.
195 (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
197 (epg-start-verify): Get a signature and signed-text from a data
199 (epg-verify-file): Added the 3rd argument PLAIN to specify where
200 the output goes; return the plain text if PLAIN is nil.
201 (epg-verify-string): Return the plain text.
202 (epg-start-sign): Get a plain text from a data object.
203 (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
205 (epg-start-encrypt): Get a plain text from a data object.
206 (epg-encrypt-file): Added the 4th argument CIPHER to specify where
208 (epg-start-import-keys): Get keys from a data object.
209 (epg-import-keys-1): New function.
210 (epg-import-keys-from-file): Use it.
211 (epg-import-keys-from-string): Use it.
213 2006-04-12 Daiki Ueno <ueno@unixuser.org>
215 * epf.el: Renamed from epg-file.el.
217 2006-04-12 Daiki Ueno <ueno@unixuser.org>
219 * epg.el (epg-status-GET_BOOL): New function.
220 (epg-status-GET_LINE): New function.
221 (epg-prompt-alist): New variable, to be filled.
223 * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
224 * epg.el (epg-signature-fingerprint): New function.
225 (epg-signature-set-fingerprint): New function.
226 (epg-status-VALIDSIG): New function.
228 * epg.el (epg-reset): Don't reset result.
229 (epg-start-decrypt): Reset result before epg-start.
230 (epg-start-verify): Ditto.
231 (epg-start-sign): Ditto.
232 (epg-start-encrypt): Ditto.
233 (epg-start-export-keys): Ditto.
234 (epg-start-import-keys): Ditto.
236 * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
237 * pgg-epg.el: New file.
239 * epg.el (epg-start-export-keys): New function.
240 (epg-export-keys): New function.
241 (epg-start-import-keys): New function.
242 (epg-import-keys): New function.
243 (epg-verify-file): New function.
245 * epg-file.el (epg-file-write-region): Support public key encryption.
247 * epg.el (epg-passphrase-callback-function): Always display key-id.