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