(epa-keys-mode): Make epa-exit-buffer-function local.
[elisp/epg.git] / ChangeLog
1 2006-04-22  Daiki Ueno  <ueno@unixuser.org>
2
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.
6
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.
13
14 2006-04-21  Daiki Ueno  <ueno@unixuser.org>
15
16         * epa.el (epa-sign-keys): New command.
17
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.
23
24 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
25
26         * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
27         region.
28
29 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
30
31         * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
32         (pgg-epg-passphrase-callback): New function.
33
34         * epa.el (epa-select-keys): Added "Cancel" button.
35
36 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
37
38         * epg.el (epg-signature-to-string): New function.
39
40 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
41
42         * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
43         key objects.
44         * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
45         key objects.
46
47         * epa.el (epa-select-keys): Added MODE argument.
48         (epa-encrypt-file): RECIPIENTS is now a list of key objects.
49
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.
53
54 2006-04-19  Daiki Ueno  <ueno@unixuser.org>
55
56         * epa.el (epa-verify-file): Show results in minibuffer.
57         * epg.el (epg-debug-buffer): New variable.
58         (epg-flush): New function.
59
60 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
61
62         * epa.el (epa-export-keys): New command.
63         * epg.el (epg-start-export-keys): Accept a list of epg-key object
64         instead of a regexp.
65
66 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
67
68         * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
69         (epa-import-key): New command.
70
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.
76
77 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
78
79         * epg.el (epg-start): Insert the command-line arguments to the
80         debug buffer.
81         (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
82         (epg-start-delete-key): New function.
83         (epg-delete-key): New function.
84
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.
90
91 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
92
93         * epa-file.el (epa-file-write-region): Check if START is a string.
94
95 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
96
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.
101
102         * epa-setup.el: Call epa-file-enable.
103
104 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
105
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
110         decoding.
111
112 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
113
114         * epa-file.el (epa-write-file): Try to write region to "/" to get
115         last-coding-system-used to be set.
116
117 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
118
119         * epa-file.el: New implementation of epf.el.
120
121         * epf.el: Abolished.
122
123 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
124
125         * epa.el (epa-verify-file): Display verify result.
126
127         * epg.el (epg-invalid-recipients-alist): New variable.
128         (epg-status-INV_RECP): New function.
129         (epg-status-NO_RECP): New function.
130
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.
137
138 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
139
140         * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
141         recursive-edit.
142         * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
143
144 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
145
146         * epa-setup.el: New file.
147         * epa-dired.el: New file.
148
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.
160
161 2006-04-15  Daiki Ueno  <ueno@unixuser.org>
162
163         * epg.el (epg-list-keys): Make the NAME argument optional.
164
165 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
166
167         * epa.el: Added header.
168
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 ->
172         owner-trust.
173         (epg-colons-sec-spec): Ditto.
174         (epg-colons-uid-spec): Renamed trust -> validity.
175
176 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
177
178         * epa.el: New file.
179
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.
186
187 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
188
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
196         the output goes.
197         (epg-start-verify): Get a signature and signed-text from a data
198         object.
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
204         the output goes.
205         (epg-start-encrypt): Get a plain text from a data object.
206         (epg-encrypt-file): Added the 4th argument CIPHER to specify where
207         the output goes.
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.
212
213 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
214
215         * epf.el: Renamed from epg-file.el.
216
217 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
218
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.
222
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.
227
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.
235
236         * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
237         * pgg-epg.el: New file.
238
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.
244
245         * epg-file.el (epg-file-write-region): Support public key encryption.
246
247         * epg.el (epg-passphrase-callback-function): Always display key-id.
248