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

Annotation of /trunk/MyGPGME/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22 - (hide annotations)
Wed Aug 10 11:33:35 2005 UTC (19 years, 6 months ago) by twoaday
File size: 13550 byte(s)
2005-08-06  Timo Schulz  <twoaday@freakmail.de>
 
        * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
        of the secret key.
        (keycache_init): cache name of secret keyring.
        * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
        (get_key_type): Do not assume 'ultimate' means key pair.
        * wptKeyEditDlgs.cpp (diff_time): New.
        (keyedit_addsubkey_dlg_proc): Changed design and use
        diff_time. Drop checks for invalid keylength (< 1024, > 4096)
        because the combo box automatically handles this.
        * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
        * wptGPG.cpp (get_backup_name): New.
        (gnupg_backup_keyrings): Rotate backup names, from 0..3.
        * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
        not the long keyid.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26