* epa.el (epa-select-keys): Added "Cancel" button.
[elisp/epg.git] / ChangeLog
1 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
2
3         * epa.el (epa-select-keys): Added "Cancel" button.
4         * epg.el (epg-make-verify-result): Renamed epg-signature to
5         epg-verify-result.
6
7 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
8
9         * epg.el (epg-signature-to-string): New function.
10
11 2006-04-20  Daiki Ueno  <ueno@unixuser.org>
12
13         * epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
14         key objects.
15         * epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
16         key objects.
17
18         * epa.el (epa-select-keys): Added MODE argument.
19         (epa-encrypt-file): RECIPIENTS is now a list of key objects.
20
21         * epg.el (epg-status-SIG_CREATED): New function.
22         (epg-start-sign): epg-context-signers is now a list of key objects.
23         (epg-start-encrypt): RECIPIENTS is now a list of key objects.
24
25 2006-04-19  Daiki Ueno  <ueno@unixuser.org>
26
27         * epa.el (epa-verify-file): Show results in minibuffer.
28         * epg.el (epg-debug-buffer): New variable.
29         (epg-flush): New function.
30
31 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
32
33         * epa.el (epa-export-keys): New command.
34         * epg.el (epg-start-export-keys): Accept a list of epg-key object
35         instead of a regexp.
36
37 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
38
39         * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
40         (epa-import-key): New command.
41
42         * epg.el (epg-delete-problem-alist): New constant.
43         (epg-status-DELETE_PROBLEM): New function.
44         (epg-start-delete-key): New function.
45         (epg-delete-key): New function.
46         (epg-wait-for-completion): Add the NO-EOF argument.
47
48 2006-04-18  Daiki Ueno  <ueno@unixuser.org>
49
50         * epg.el (epg-start): Insert the command-line arguments to the
51         debug buffer.
52         (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
53         (epg-start-delete-key): New function.
54         (epg-delete-key): New function.
55
56         * epa.el (epa-key): New widget.
57         (epa-key-widget-action): New function.
58         (epa-key-widget-value-create): New function.
59         (epa-key-widget-button-face-get): New function.
60         (epa-key-widget-help-echo): New function.
61
62 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
63
64         * epa-file.el (epa-file-write-region): Check if START is a string.
65
66 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
67
68         * epa-file.el: Rewritten with file-name-handler.
69         (epa-file-handler): New variable.
70         (epa-file-enable): New command.
71         (epa-file-disable): New command.
72
73         * epa-setup.el: Call epa-file-enable.
74
75 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
76
77         * epa-file.el (epa-passphrase): New variable.
78         (epa-file-passphrase-callback-function): New function.
79         (epa-find-file): Reset buffer-undo-list; set
80         buffer-file-coding-system to last-coding-system-used after
81         decoding.
82
83 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
84
85         * epa-file.el (epa-write-file): Try to write region to "/" to get
86         last-coding-system-used to be set.
87
88 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
89
90         * epa-file.el: New implementation of epf.el.
91
92         * epf.el: Abolished.
93
94 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
95
96         * epa.el (epa-verify-file): Display verify result.
97
98         * epg.el (epg-invalid-recipients-alist): New variable.
99         (epg-status-INV_RECP): New function.
100         (epg-status-NO_RECP): New function.
101
102         * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
103         epa-verify-file, epa-sign-file, and epa-encrypt-file.
104         (epa-decrypt-file): New function imported from epa-dired.el.
105         (epa-verify-file): New function imported from epa-dired.el.
106         (epa-sign-file): New function imported from epa-dired.el.
107         (epa-encrypt-file): New function imported from epa-dired.el.
108
109 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
110
111         * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
112         recursive-edit.
113         * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
114
115 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
116
117         * epa-setup.el: New file.
118         * epa-dired.el: New file.
119
120         * epg.el (epg-colons-pub-spec): Abolished.
121         (epg-colons-sec-spec): Abolished.
122         (epg-colons-uid-spec): Abolished.
123         (epg-colons-fpr-spec): Abolished.
124         (epg-key-validity-alist): New variable.
125         (epg-key-capablity-alist): New variable.
126         (epg-make-key): New object epg-key.
127         (epg-make-sub-key): New object epg-sub-key.
128         (epg-make-user-id): New object epg-user-id.
129         (epg-list-keys-1): Renamed from epg-list-keys.
130         (epg-list-keys): Rewritten.
131
132 2006-04-15  Daiki Ueno  <ueno@unixuser.org>
133
134         * epg.el (epg-list-keys): Make the NAME argument optional.
135
136 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
137
138         * epa.el: Added header.
139
140         * epg.el (epg-list-keys): Specify --with-fingerprint.
141         (epg-colons-fpr-spec): New variable.
142         (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
143         owner-trust.
144         (epg-colons-sec-spec): Ditto.
145         (epg-colons-uid-spec): Renamed trust -> validity.
146
147 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
148
149         * epa.el: New file.
150
151         * epg.el (epg-cipher-algorithm-alist): New constant.
152         (epg-pubkey-algorithm-alist): New constant.
153         (epg-digest-algorithm-alist): New constant.
154         (epg-compress-algorithm-alist): New constant.
155         (epg-configuration): New function.
156         (epg-start): Don't specify --yes.
157
158 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
159
160         * epg.el (epg-make-data-from-file): New function.
161         (epg-make-data-from-string): New function.
162         (epg-data-file): New function.
163         (epg-data-string): New function.
164         (epg-start-decrypt): Get a cipher text from a data object.
165         (epg-delete-output-file): New function.
166         (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
167         the output goes.
168         (epg-start-verify): Get a signature and signed-text from a data
169         object.
170         (epg-verify-file): Added the 3rd argument PLAIN to specify where
171         the output goes; return the plain text if PLAIN is nil.
172         (epg-verify-string): Return the plain text.
173         (epg-start-sign): Get a plain text from a data object.
174         (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
175         the output goes.
176         (epg-start-encrypt): Get a plain text from a data object.
177         (epg-encrypt-file): Added the 4th argument CIPHER to specify where
178         the output goes.
179         (epg-start-import-keys): Get keys from a data object.
180         (epg-import-keys-1): New function.
181         (epg-import-keys-from-file): Use it.
182         (epg-import-keys-from-string): Use it.
183
184 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
185
186         * epf.el: Renamed from epg-file.el.
187
188 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
189
190         * epg.el (epg-status-GET_BOOL): New function.
191         (epg-status-GET_LINE): New function.
192         (epg-prompt-alist): New variable, to be filled.
193
194         * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
195         * epg.el (epg-signature-fingerprint): New function.
196         (epg-signature-set-fingerprint): New function.
197         (epg-status-VALIDSIG): New function.
198
199         * epg.el (epg-reset): Don't reset result.
200         (epg-start-decrypt): Reset result before epg-start.
201         (epg-start-verify): Ditto.
202         (epg-start-sign): Ditto.
203         (epg-start-encrypt): Ditto.
204         (epg-start-export-keys): Ditto.
205         (epg-start-import-keys): Ditto.
206
207         * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
208         * pgg-epg.el: New file.
209
210         * epg.el (epg-start-export-keys): New function.
211         (epg-export-keys): New function.
212         (epg-start-import-keys): New function.
213         (epg-import-keys): New function.
214         (epg-verify-file): New function.
215
216         * epg-file.el (epg-file-write-region): Support public key encryption.
217
218         * epg.el (epg-passphrase-callback-function): Always display key-id.
219