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