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