* epa-file.el: New implementation of epf.el.
[elisp/epg.git] / ChangeLog
1 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
2
3         * epa-file.el: New implementation of epf.el.
4         * epf.el: Abolished.
5
6 2006-04-17  Daiki Ueno  <ueno@unixuser.org>
7
8         * epa.el (epa-verify-file): Display verify result.
9
10         * epg.el (epg-invalid-recipients-alist): New variable.
11         (epg-status-INV_RECP): New function.
12         (epg-status-NO_RECP): New function.
13
14         * epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
15         epa-verify-file, epa-sign-file, and epa-encrypt-file.
16         (epa-decrypt-file): New function imported from epa-dired.el.
17         (epa-verify-file): New function imported from epa-dired.el.
18         (epa-sign-file): New function imported from epa-dired.el.
19         (epa-encrypt-file): New function imported from epa-dired.el.
20
21 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
22
23         * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
24         recursive-edit.
25         * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
26
27 2006-04-16  Daiki Ueno  <ueno@unixuser.org>
28
29         * epa-setup.el: New file.
30         * epa-dired.el: New file.
31
32         * epg.el (epg-colons-pub-spec): Abolished.
33         (epg-colons-sec-spec): Abolished.
34         (epg-colons-uid-spec): Abolished.
35         (epg-colons-fpr-spec): Abolished.
36         (epg-key-validity-alist): New variable.
37         (epg-key-capablity-alist): New variable.
38         (epg-make-key): New object epg-key.
39         (epg-make-sub-key): New object epg-sub-key.
40         (epg-make-user-id): New object epg-user-id.
41         (epg-list-keys-1): Renamed from epg-list-keys.
42         (epg-list-keys): Rewritten.
43
44 2006-04-15  Daiki Ueno  <ueno@unixuser.org>
45
46         * epg.el (epg-list-keys): Make the NAME argument optional.
47
48 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
49
50         * epa.el: Added header.
51
52         * epg.el (epg-list-keys): Specify --with-fingerprint.
53         (epg-colons-fpr-spec): New variable.
54         (epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
55         owner-trust.
56         (epg-colons-sec-spec): Ditto.
57         (epg-colons-uid-spec): Renamed trust -> validity.
58
59 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
60
61         * epa.el: New file.
62
63         * epg.el (epg-cipher-algorithm-alist): New constant.
64         (epg-pubkey-algorithm-alist): New constant.
65         (epg-digest-algorithm-alist): New constant.
66         (epg-compress-algorithm-alist): New constant.
67         (epg-configuration): New function.
68         (epg-start): Don't specify --yes.
69
70 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
71
72         * epg.el (epg-make-data-from-file): New function.
73         (epg-make-data-from-string): New function.
74         (epg-data-file): New function.
75         (epg-data-string): New function.
76         (epg-start-decrypt): Get a cipher text from a data object.
77         (epg-delete-output-file): New function.
78         (epg-decrypt-file): Add the 3rd argument PLAIN to specify where
79         the output goes.
80         (epg-start-verify): Get a signature and signed-text from a data
81         object.
82         (epg-verify-file): Added the 3rd argument PLAIN to specify where
83         the output goes; return the plain text if PLAIN is nil.
84         (epg-verify-string): Return the plain text.
85         (epg-start-sign): Get a plain text from a data object.
86         (epg-sign-file): Added the 3rd argument SIGNATURE to specify where
87         the output goes.
88         (epg-start-encrypt): Get a plain text from a data object.
89         (epg-encrypt-file): Added the 4th argument CIPHER to specify where
90         the output goes.
91         (epg-start-import-keys): Get keys from a data object.
92         (epg-import-keys-1): New function.
93         (epg-import-keys-from-file): Use it.
94         (epg-import-keys-from-string): Use it.
95
96 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
97
98         * epf.el: Renamed from epg-file.el.
99
100 2006-04-12  Daiki Ueno  <ueno@unixuser.org>
101
102         * epg.el (epg-status-GET_BOOL): New function.
103         (epg-status-GET_LINE): New function.
104         (epg-prompt-alist): New variable, to be filled.
105
106         * pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
107         * epg.el (epg-signature-fingerprint): New function.
108         (epg-signature-set-fingerprint): New function.
109         (epg-status-VALIDSIG): New function.
110
111         * epg.el (epg-reset): Don't reset result.
112         (epg-start-decrypt): Reset result before epg-start.
113         (epg-start-verify): Ditto.
114         (epg-start-sign): Ditto.
115         (epg-start-encrypt): Ditto.
116         (epg-start-export-keys): Ditto.
117         (epg-start-import-keys): Ditto.
118
119         * Makefile.am (EXTRA_DIST): Added pgg-epg.el.
120         * pgg-epg.el: New file.
121
122         * epg.el (epg-start-export-keys): New function.
123         (epg-export-keys): New function.
124         (epg-start-import-keys): New function.
125         (epg-import-keys): New function.
126         (epg-verify-file): New function.
127
128         * epg-file.el (epg-file-write-region): Support public key encryption.
129
130         * epg.el (epg-passphrase-callback-function): Always display key-id.
131