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