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