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