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