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