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