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