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