/[winpt]/trunk/MyGPGME/ChangeLog
ViewVC logotype

Contents of /trunk/MyGPGME/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (show annotations)
Fri Sep 30 10:10:16 2005 UTC (19 years, 5 months ago) by twoaday
File size: 13807 byte(s)
Almost finished phase 1 of the WinPT GPGME port.
Still need more cleanup, comments and tests.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26