1 |
twoaday |
21 |
2005-07-22 Timo Schulz <[email protected]> |
2 |
|
|
|
3 |
|
|
* gpgme.c (_gpgme_add_comment): Forgot to alloc an extra |
4 |
|
|
byte for the '0'. This fixes a lot of crashes related to |
5 |
|
|
file operations. |
6 |
|
|
* keylist.c (gpgme_op_keylist_getkey): Use the param for |
7 |
|
|
'pub' or 'sec' mode. |
8 |
|
|
* keycache.c (gpgme_keycache_update_key): If the key is |
9 |
|
|
not in the cache, add it and if the cache contain secret |
10 |
|
|
key, sync it with the pub cache. |
11 |
|
|
* editkey.c (edit_key_colon_handler): Allocate 1 byte for |
12 |
|
|
the NUL-char. This also fixes a lot of reported crashes |
13 |
|
|
related to the showpref feature. |
14 |
|
|
|
15 |
twoaday |
17 |
2005-05-20 Timo Schulz <[email protected]> |
16 |
|
|
|
17 |
|
|
* gpgme.h: s/cliptype/pgptype. Suggested by Kurt Fitzner. |
18 |
|
|
s/CLIP/PGP. Likewise. |
19 |
|
|
* w32-io.c (_gpgme_io_select): Increment the right loop variable. |
20 |
|
|
Kudos to Kurt. |
21 |
|
|
* keylist.c (gpgme_op_keylist_getkey): New. Handy function to |
22 |
|
|
retrieve a single key. |
23 |
|
|
* verify.c (gpgme_get_sig_key): Use it here. |
24 |
|
|
* keycache.c (gpgme_keycache_update_key): Update a single key. |
25 |
|
|
|
26 |
|
|
2005-05-12 Timo Schulz <[email protected]> |
27 |
|
|
|
28 |
|
|
* key.c (gpgme_key_get_ulong_attr#GPGME_ATTR_KEY_USABLE): Also |
29 |
|
|
check if the key is disabled. |
30 |
|
|
|
31 |
twoaday |
7 |
2005-03-22 Timo Schulz <[email protected]> |
32 |
twoaday |
2 |
|
33 |
twoaday |
7 |
* editcard.c: Support new status-fd entries SC_OP_SUCCESS |
34 |
|
|
and SC_OP_FAILURE. |
35 |
|
|
* editkey.c (cmd_addrev_handler): Check if context != NULL. |
36 |
|
|
* import.c (import_command_handler): Wrong function signature. |
37 |
|
|
Noted by Kurt Fitzner. |
38 |
|
|
* types.h: Fixed encrypt_result_s. Noted by Kurt. |
39 |
|
|
* gpgme.h (gpgme_editkey_addrev_set): Changed return type. |
40 |
|
|
Kudos to Kurt. |
41 |
|
|
* key.c: Removed some unreachable code. By Kurt. |
42 |
|
|
|
43 |
|
|
2005-01-07 Timo Schulz <[email protected]> |
44 |
|
|
|
45 |
twoaday |
2 |
* gpgme.c (gpgnme_lib_cleanup): New. Cleanup all static locks. |
46 |
|
|
(gpgme_lib_init): New. |
47 |
|
|
* editkey.c (editkey_start): Use --ask-cert-level. Noted by |
48 |
|
|
a friendly user. |
49 |
|
|
|
50 |
|
|
2004-10-07 Timo Schulz <[email protected]> |
51 |
|
|
|
52 |
|
|
* editcard.c (editcard_start): Remove '--allow-admin' since |
53 |
|
|
GPG 1.3.90 has another interface. |
54 |
|
|
(editcard_command_handler): Support 'backup' question. |
55 |
|
|
* gpgme.h: Add card flags. |
56 |
|
|
* editkey.c (edit_key_colon_handler): Decode the name. |
57 |
|
|
|
58 |
|
|
2004-08-24 Timo Schulz <[email protected]> |
59 |
|
|
|
60 |
|
|
* key.c (gpgme_key_release): Release user-id hash if possible. |
61 |
|
|
|
62 |
|
|
2004-08-20 Timo Schulz <[email protected]> |
63 |
|
|
|
64 |
|
|
* editkey-util.c (gpgme_editkey_delsig_set): New. |
65 |
|
|
* editkey.c (check_edit_cmd): New. |
66 |
|
|
(cmd_delsig_handler): New. |
67 |
|
|
|
68 |
|
|
2004-07-13 Timo Schulz <[email protected]> |
69 |
|
|
|
70 |
|
|
* common-status.c (_gpgme_nodata_status_handler): New. |
71 |
|
|
(_gpgme_pass_status_handler): New. |
72 |
|
|
(_gpgme_sigtrust_status_handler): New. |
73 |
|
|
|
74 |
|
|
2004-05-11 Timo Schulz <[email protected]> |
75 |
|
|
|
76 |
|
|
* key.c (_gpgme_key_append_name): Return user-id pointer. |
77 |
|
|
Changed all callers. |
78 |
|
|
* keylist.c (keylist_colon_handler): Implemented new code. |
79 |
|
|
This fixed a problem with wrong user-id validities. |
80 |
|
|
|
81 |
|
|
2003-12-23 Timo Schulz <[email protected]> |
82 |
|
|
|
83 |
|
|
* verify.c, rungpg.c: Removed all pipemode code. It was |
84 |
|
|
never used and in newer version of GPG it is declared |
85 |
|
|
as 'obselete'. |
86 |
|
|
|
87 |
|
|
2003-01-07 Timo Schulz <[email protected]> |
88 |
|
|
|
89 |
|
|
* Removed all code for the primary user-id flag. |
90 |
|
|
Werner reminded me that the primary user-id is always |
91 |
|
|
the first in the colon mode. |
92 |
|
|
|
93 |
|
|
2002-12-14 Timo Schulz <[email protected]> |
94 |
|
|
|
95 |
|
|
* verify.c (verify_get_sig_date): Workaround because GPG |
96 |
|
|
does not return a valid timestam for bad signatures. |
97 |
|
|
|
98 |
|
|
2002-10-15 Timo Schulz <[email protected]> |
99 |
|
|
|
100 |
|
|
* datamisc.c: Removed. Merged stuff into data.c |
101 |
|
|
* file.c, file-xxx.c: Removed |
102 |
|
|
* keylist.c (parse_colon_line): Support for subkey fingerprints. |
103 |
|
|
* clipboard. (gpgme_op_verify_clipboard): Fix an error when |
104 |
|
|
a subkey was used for signing. |
105 |
|
|
|
106 |
|
|
2002-10-13 Timo Schulz <[email protected]> |
107 |
|
|
|
108 |
|
|
* siglist.c: Removed. Now we use the key directly to list |
109 |
|
|
the signatures. This is much easier and it will help us |
110 |
|
|
to implement the planned key manager style. |
111 |
|
|
|
112 |
|
|
2002-09-23 Timo Schulz <[email protected]> |
113 |
|
|
|
114 |
|
|
* keycache.c (gpgme_keycache_prepare): Added support to detect |
115 |
|
|
primary userID's. |
116 |
|
|
(uid_set_primary): New. |
117 |
|
|
|
118 |
|
|
2002-09-17 Timo Schulz <[email protected]> |
119 |
|
|
|
120 |
|
|
* Removed the --verbose support, we don't need it. |
121 |
|
|
|
122 |
|
|
2002-09-14 Timo Schulz <[email protected]> |
123 |
|
|
|
124 |
|
|
* implist.c (gpgme_impkey_release): Release the userid. |
125 |
|
|
|
126 |
|
|
2001-05-28 Werner Koch <[email protected]> |
127 |
|
|
|
128 |
|
|
* version.c (gpgme_check_engine): Stop version number parsing at |
129 |
|
|
the opening angle and not the closing one. By Tommy Reynolds. |
130 |
|
|
|
131 |
|
|
2001-05-01 José Carlos García Sogo <[email protected]> |
132 |
|
|
|
133 |
|
|
* encrypt.c (gpgme_op_encrypt_start): Deleted the assert ( !c->gpg ) |
134 |
|
|
line, because it gave an error if another operation had been made |
135 |
|
|
before using the same context. |
136 |
|
|
|
137 |
|
|
* decrypt.c (gpgme_op_decrypt_start): The same as above. Also added |
138 |
|
|
one line to release the gpg object in the context (if any). |
139 |
|
|
|
140 |
|
|
2001-04-26 Werner Koch <[email protected]> |
141 |
|
|
|
142 |
|
|
* key.c, key.h (_gpgme_key_cache_init): New. |
143 |
|
|
(_gpgme_key_cache_add): New. |
144 |
|
|
(_gpgme_key_cache_get): New. |
145 |
|
|
* version.c (do_subsystem_inits): Init the cache. |
146 |
|
|
* keylist.c (finish_key): Put key into the cache |
147 |
|
|
* verify.c (gpgme_get_sig_key): First look into the cache. |
148 |
|
|
|
149 |
|
|
2001-04-19 Werner Koch <[email protected]> |
150 |
|
|
|
151 |
|
|
* keylist.c (parse_timestamp): Adjusted for the changed |
152 |
|
|
--fixed-list-mode of gpg 1.0.4h. |
153 |
|
|
|
154 |
|
|
2001-04-05 Werner Koch <[email protected]> |
155 |
|
|
|
156 |
|
|
* verify.c (gpgme_op_verify_start): Enabled pipemode for detached sigs. |
157 |
|
|
|
158 |
|
|
2001-04-04 Werner Koch <[email protected]> |
159 |
|
|
|
160 |
|
|
* w32-io.c (_gpgme_io_select): Don't select on the writer if there |
161 |
|
|
are still bytes pending. Timo found this not easy to track down |
162 |
|
|
race condition. |
163 |
|
|
|
164 |
|
|
2001-04-02 Werner Koch <[email protected]> |
165 |
|
|
|
166 |
|
|
* gpgme.h: Add GPGME_ATTR_KEY_{EXPIRED,DISABLED}. |
167 |
|
|
* key.c (gpgme_key_get_ulong_attr): And return those attribs. |
168 |
|
|
|
169 |
|
|
* verify.c (gpgme_get_sig_key): Set keyliosting mode depending on |
170 |
|
|
the mode set in the current context. Suggested by Timo. |
171 |
|
|
|
172 |
|
|
* key.c (gpgme_key_get_ulong_attr): Return can_certify and not |
173 |
|
|
can_encrypt. By Timo. |
174 |
|
|
|
175 |
|
|
2001-03-30 Werner Koch <[email protected]> |
176 |
|
|
|
177 |
|
|
* debug.c (debug_init): Allow to specify a debug file. |
178 |
|
|
(_gpgme_debug_level): New. |
179 |
|
|
|
180 |
|
|
* posix-io.c (_gpgme_io_read, _gpgme_io_write): Print output. |
181 |
|
|
(_gpgme_io_select): Debug only with level > 2. |
182 |
|
|
|
183 |
|
|
2001-03-15 Werner Koch <[email protected]> |
184 |
|
|
|
185 |
|
|
* rungpg.c: Included time.h. |
186 |
|
|
|
187 |
|
|
* key.h: New keyflags for capabilities. |
188 |
|
|
* keylist.c (set_mainkey_capability, set_subkey_capability): New. |
189 |
|
|
(keylist_colon_handler): Parse them. |
190 |
|
|
* gpgme.h: New attribute values for capabilties. |
191 |
|
|
* key.c (gpgme_key_get_string_attr): Return them. |
192 |
|
|
(capabilities_to_string): New. |
193 |
|
|
(gpgme_key_get_ulong_attr): Return the global caps. |
194 |
|
|
|
195 |
|
|
2001-03-14 Werner Koch <[email protected]> |
196 |
|
|
|
197 |
|
|
* w32-io.c (destroy_reader,destroy_writer): Fixed syntax error. |
198 |
|
|
Thanks to Jan Oliver Wagner. |
199 |
|
|
|
200 |
|
|
2001-03-13 Werner Koch <[email protected]> |
201 |
|
|
|
202 |
|
|
* context.h: Add invalid and revoke flags to user_id structure. |
203 |
|
|
* keylist.c (gpgme_op_keylist_start): Use --fixed-list-mode. |
204 |
|
|
(keylist_colon_handler): Adjust for that. |
205 |
|
|
(set_userid_flags): New. |
206 |
|
|
(set_mainkey_trust_info): Handle new key invalid flag |
207 |
|
|
(set_subkey_trust_info): Ditto. |
208 |
|
|
* gpgme.h: Add new attributes for key and user ID flags. |
209 |
|
|
* key.c (_gpgme_key_append_name): Init these flags |
210 |
|
|
(gpgme_key_get_as_xml): Print them. |
211 |
|
|
(one_uid_as_xml): New helper for above. |
212 |
|
|
(gpgme_key_get_string_attr, gpgme_key_get_ulong_attr): |
213 |
|
|
Return the new attributes. Enhanced, so that subkey information |
214 |
|
|
can be returned now. |
215 |
|
|
|
216 |
|
|
2001-02-28 Werner Koch <[email protected]> |
217 |
|
|
|
218 |
|
|
* w32-io.c (destroy_reader): Set stop_me flag. |
219 |
|
|
(writer,create_writer,destroy_writer,find_writer,kill_writer): New. |
220 |
|
|
(_gpgme_io_write): Use a writer thread to avaoid blocking. |
221 |
|
|
(_gpgme_io_close): Cleanup a writer thread |
222 |
|
|
(_gpgme_io_select): Repalce tthe faked wait on writing by a real |
223 |
|
|
waiting which is now possible due to the use of a writer thread. |
224 |
|
|
|
225 |
|
|
2001-02-20 Werner Koch <[email protected]> |
226 |
|
|
|
227 |
|
|
* w32-io.c (destroy_reader,kill_reader): New. |
228 |
|
|
(create_reader, reader): Add a new event to stop the thread. |
229 |
|
|
(_gpgme_io_close): Kill the reader thread. |
230 |
|
|
|
231 |
|
|
* posix-io.c (_gpgme_io_select): Handle frozen fds here. |
232 |
|
|
* 32-io.c (_gpgme_io_select): Ditto. Removed a bunch of unused code. |
233 |
|
|
|
234 |
|
|
* wait.c: Reworked the whole thing. |
235 |
|
|
* rungpg.c (_gpgme_gpg_new): Init pid to -1. |
236 |
|
|
(_gpgme_gpg_release): Remove the process from the wait queue. |
237 |
|
|
|
238 |
|
|
2001-02-19 Werner Koch <[email protected]> |
239 |
|
|
|
240 |
|
|
* w32-io.c (_gpgme_io_set_close_notify): New. |
241 |
|
|
(_gpgme_io_close): Do the notification. |
242 |
|
|
|
243 |
|
|
* posix-io.c (_gpgme_io_select): Use a 1 sec timeout and not 200 |
244 |
|
|
microseconds. |
245 |
|
|
|
246 |
|
|
* wait.c (remove_process): Don't close the fd here. |
247 |
|
|
(do_select): Set the fd to -1 and remove the is_closed flag everywhere. |
248 |
|
|
(_gpgme_wait_on_condition): Remove the assert on the queue and |
249 |
|
|
break out if we could not find the queue. The whole thing should |
250 |
|
|
be reworked. |
251 |
|
|
|
252 |
|
|
* posix-io.c (_gpgme_io_set_close_notify): New. |
253 |
|
|
(_gpgme_io_close): Do the notification. |
254 |
|
|
|
255 |
|
|
* rungpg.c (close_notify_handler): New. |
256 |
|
|
(_gpgme_gpg_new): Register a callback for the fd. |
257 |
|
|
(_gpgme_gpg_set_colon_line_handler): Ditto. |
258 |
|
|
(build_argv): Ditto |
259 |
|
|
|
260 |
|
|
2001-02-13 Werner Koch <[email protected]> |
261 |
|
|
|
262 |
|
|
* rungpg.c (struct reap_s): Replaced pid_t by int. |
263 |
|
|
|
264 |
|
|
* types.h: Add ulong typedef. |
265 |
|
|
|
266 |
|
|
* rungpg.c (do_reaping,_gpgme_gpg_housecleaning): New. |
267 |
|
|
(_gpgme_gpg_release): Reap children. |
268 |
|
|
* io.h, posix-io.c (_gpgme_io_kill): New. |
269 |
|
|
* w32-io.c (_gpgme_io_kill): New (dummy). |
270 |
|
|
|
271 |
|
|
* keylist.c (gpgme_op_keylist_start): Cancel a pending request. |
272 |
|
|
|
273 |
|
|
* posix-io.c (_gpgme_io_read): Add some debug output. |
274 |
|
|
(_gpgme_io_write): Ditto. |
275 |
|
|
(_gpgme_io_select): Increased the timeout. |
276 |
|
|
|
277 |
|
|
2001-02-12 Werner Koch <[email protected]> |
278 |
|
|
|
279 |
|
|
Enhanced the signature verification, so that it can how handle |
280 |
|
|
more than one signature and is able to return more information on |
281 |
|
|
the signatures. |
282 |
|
|
* verify.c (gpgme_get_sig_key): New. |
283 |
|
|
(gpgme_get_sig_status): New. |
284 |
|
|
|
285 |
|
|
* gpgme.h: Add stdio.h. |
286 |
|
|
(GpgmeSigStat): New status DIFF. |
287 |
|
|
|
288 |
|
|
2001-02-01 Werner Koch <[email protected]> |
289 |
|
|
|
290 |
|
|
* w32-io.c (set_synchronize): Add EVENT_MODIFY_STATE. Add Debug |
291 |
|
|
code to all Set/ResetEvent(). |
292 |
|
|
|
293 |
|
|
* rungpg.c (read_status): Check for end of stream only if we have |
294 |
|
|
an r. By Timo. |
295 |
|
|
|
296 |
|
|
2001-01-31 Werner Koch <[email protected]> |
297 |
|
|
|
298 |
|
|
* wait.c (_gpgme_wait_on_condition): Removed all exit code processing. |
299 |
|
|
(propagate_term_results,clear_active_fds): Removed. |
300 |
|
|
(count_active_fds): Renamed to .. |
301 |
|
|
(count_active_and_thawed_fds): .. this and count only thawed fds. |
302 |
|
|
|
303 |
|
|
* rungpg.c (gpg_colon_line_handler): Return colon.eof and not |
304 |
|
|
status.eof ;-) |
305 |
|
|
|
306 |
|
|
2001-01-30 Werner Koch <[email protected]> |
307 |
|
|
|
308 |
|
|
* w32-io.c (_gpgme_io_spawn): Use the supplied path arg. |
309 |
|
|
|
310 |
|
|
* version.c (get_engine_info): Return better error information. |
311 |
|
|
|
312 |
|
|
* posix-util.c, w32-util.c: New. |
313 |
|
|
(_gpgme_get_gpg_path): New, suggested by Jan-Oliver. |
314 |
|
|
* rungpg.c (_gpgme_gpg_spawn): Use new function to get GPG's path. |
315 |
|
|
|
316 |
|
|
* signers.c (gpgme_signers_add): Ooops, one should test code and |
317 |
|
|
not just write it; the newarr was not assigned. Thanks to José |
318 |
|
|
for pointing this out. Hmmm, still not tested, why shoudl a coder |
319 |
|
|
test his fix :-) |
320 |
|
|
|
321 |
|
|
* w32-io.c: Does now use reader threads, so that we can use |
322 |
|
|
WaitForMultipleObjects. |
323 |
|
|
* sema.h, posix-sema.c, w32-sema.c: Support for Critcial sections. |
324 |
|
|
Does currently only work for W32. |
325 |
|
|
|
326 |
|
|
* debug.c, util.h : New. Changed all fprintfs to use this new |
327 |
|
|
set of debugging functions. |
328 |
|
|
|
329 |
|
|
2001-01-23 Werner Koch <[email protected]> |
330 |
|
|
|
331 |
|
|
* data.c (_gpgme_data_release_and_return_string): Fixed string |
332 |
|
|
termination. |
333 |
|
|
|
334 |
|
|
2001-01-22 Werner Koch <[email protected]> |
335 |
|
|
|
336 |
|
|
* delete.c: New. |
337 |
|
|
|
338 |
|
|
* signers.c: New. |
339 |
|
|
* key.c (gpgme_key_ref, gpgme_key_unref): New. |
340 |
|
|
* sign.c (gpgme_op_sign_start): Allow the use of other keys. |
341 |
|
|
|
342 |
|
|
* version.c (gpgme_get_engine_info,gpgme_check_engine): New. |
343 |
|
|
* rungpg.c (_gpgme_gpg_set_simple_line_handler): New. |
344 |
|
|
|
345 |
|
|
2001-01-05 Werner Koch <[email protected]> |
346 |
|
|
|
347 |
|
|
* data.c (gpgme_data_rewind): Allow to rewind data_type_none. |