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