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