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