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