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