/[winpt]/trunk/Src/wptKeyCache.cpp
ViewVC logotype

Log of /trunk/Src/wptKeyCache.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 328 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 16:07:38 2009 UTC (15 years, 5 months ago) by twoaday
File length: 26054 byte(s)
Diff to previous 271


Revision 271 - (view) (annotate) - [select for diffs]
Modified Sun Nov 5 08:57:45 2006 UTC (18 years, 3 months ago) by twoaday
File length: 26328 byte(s)
Diff to previous 260


Revision 260 - (view) (annotate) - [select for diffs]
Modified Wed Aug 16 10:01:30 2006 UTC (18 years, 6 months ago) by twoaday
File length: 26300 byte(s)
Diff to previous 256


Revision 256 - (view) (annotate) - [select for diffs]
Modified Sat Aug 5 10:31:06 2006 UTC (18 years, 6 months ago) by twoaday
File length: 26305 byte(s)
Diff to previous 234
1.0.0pre3 release.



Revision 234 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 10:16:41 2006 UTC (18 years, 8 months ago) by twoaday
File length: 26131 byte(s)
Diff to previous 226


Revision 226 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 13:40:21 2006 UTC (18 years, 8 months ago) by twoaday
File length: 26131 byte(s)
Diff to previous 217
Prepare new release.



Revision 217 - (view) (annotate) - [select for diffs]
Modified Mon May 22 14:21:39 2006 UTC (18 years, 9 months ago) by twoaday
File length: 25782 byte(s)
Diff to previous 214
2005-05-20  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
        process call when no photo is available.
        (keyprops_dlg_proc): avoid static data.
        * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
        of on demand key requests.
        (show_verify_result): Likewise.
        (secret_key_available): Likewise.
        (fm_decrypt, fm_sign): Handle the new on demand key request
        mode and free all memory.



Revision 214 - (view) (annotate) - [select for diffs]
Modified Sun May 14 18:40:36 2006 UTC (18 years, 9 months ago) by twoaday
File length: 24823 byte(s)
Diff to previous 210
2006-05-14  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
        preferred keyserver URL.
        * wptHTTP.cpp (extractHostInfo): Fix segv.
        * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
        gpg.conf.
        * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
        assume an existing user id.
        * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
        if no passphrase is available.

(for complete list of changes, see Src/ChangeLog)

About to release 0.12.1



Revision 210 - (view) (annotate) - [select for diffs]
Modified Thu May 4 08:44:11 2006 UTC (18 years, 9 months ago) by twoaday
File length: 24611 byte(s)
Diff to previous 209
2006-05-03  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
        Thanks to Mathias.



Revision 209 - (view) (annotate) - [select for diffs]
Modified Wed May 3 14:34:08 2006 UTC (18 years, 10 months ago) by twoaday
File length: 24618 byte(s)
Diff to previous 208
2006-05-02  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
        caption for the radio button group.
        * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
        * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
        ldap_recvkey): Avoid fixed buffers.
        (do_spawn_ldap_helper): New.
        (ldap_recvkey): Factor out code into helper function.
        * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
        Increase width of the list box to make sure even large
        user IDs will be completly displayed.



Revision 208 - (view) (annotate) - [select for diffs]
Modified Mon May 1 12:22:18 2006 UTC (18 years, 10 months ago) by twoaday
File length: 24581 byte(s)
Diff to previous 207
See ChangeLog.



Revision 207 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 10:28:24 2006 UTC (18 years, 10 months ago) by twoaday
File length: 24167 byte(s)
Diff to previous 205
Bug fixes and cleanups.



Revision 205 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 12:46:03 2006 UTC (18 years, 10 months ago) by twoaday
File length: 23903 byte(s)
Diff to previous 196
2006-04-27  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeyManager.cpp (km_get_key_ptr): New.
        * wptListview.cpp (listview_get_item_text): Drop utf8 support.
        * wptKeyCache.cpp (keycache_decode_uids): New.
        (free_native_uids): New.
        * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
                                                                                
2006-04-26  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeylist.cpp (get_keyid_from_fpr): New.
        * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
        * wptVerifyList.cpp (verlist_add_sig): Likewise.



Revision 196 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 10:47:37 2006 UTC (18 years, 10 months ago) by twoaday
File length: 22365 byte(s)
Diff to previous 188
2006-04-07  Timo Schulz  <ts@g10code.de>

        * wptW32API.cpp (set_clip_text): Change code so it also
        works again with non-XP systems.



Revision 188 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 12:39:02 2006 UTC (18 years, 11 months ago) by twoaday
File length: 22351 byte(s)
Diff to previous 187
2006-03-22  Timo Schulz  <ts@g10code.de>
 
        * wptClipSignDlg.cpp (on_init_dialog): New.
        Check that there is at least one useable signing key.
        * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
        * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
        if needed.



Revision 187 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 11:04:20 2006 UTC (18 years, 11 months ago) by twoaday
File length: 22321 byte(s)
Diff to previous 181
2006-03-21  Timo Schulz  <ts@g10code.de>
 
        * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
        (utf8_to_native): Likewise. Remove cp850 conversion.
        * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
        * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
        flag.

Prepare new release...



Revision 181 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 11:01:22 2006 UTC (18 years, 11 months ago) by twoaday
File length: 22249 byte(s)
Diff to previous 175
2006-03-12  Timo Schulz  <ts@g10code.de>
 
        * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
        * wptKeyPropsDlg.cpp (display_key_info): Automatically update
        sym algorithm preferences if needed.
        * wptKeysignDlg.cpp (date_is_today): New.
        (keysign_dlg_proc): Only allow to set cert expire date if
        the option was found.
        * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
        'ask-cert-expire'.
         



Revision 175 - (view) (annotate) - [select for diffs]
Modified Tue Feb 7 08:58:04 2006 UTC (19 years ago) by twoaday
File length: 20091 byte(s)
Diff to previous 168
2006-02-04  Timo Schulz  <ts@g10code.de>
                                                                                                                            
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
        at least one ultimately trusted key.
        * wptKeyManager.cpp (km_refresh_key_from_keyserver):
        Only check inet connection if we refresh all keys.
        * wptGPGUtil.cpp (gpg_extract_keys): New.
        * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
        * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
        * wptClipSignDlg.cpp (get_selected_key): New.
        (one_key_proc): Use it here.
        (count_useable_seckeys): New.
        * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
        * wptKeyEditDlgs.cpp (diff_time): Removed.
        (w32_mktime): New.
        (keyedit_addsubkey_dlg_proc): Use it here.
                                                                                                                            
2006-02-02  Timo Schulz  <ts@g10code.de>
                                                                                                                            
        * wptW32API.cpp (get_temp_name): New.
        * wptKeyserver.cpp (ldap_recvkey): Use it here.
        * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
        * wptGPGUtil.cpp (create_tempfile): Likewise.
        * wptImportList.cpp (implist_load): Likewise.
        * wptKeyCache.cpp (parse_attr_data): Likewise.
        (w32_tempfile): Removed.
        * wptGPGME.cpp (check_ultimate_trusted_key): New.
                                                                                                                            


Revision 168 - (view) (annotate) - [select for diffs]
Modified Fri Jan 27 10:08:10 2006 UTC (19 years, 1 month ago) by twoaday
File length: 20380 byte(s)
Diff to previous 167
2006-01-27  Timo Schulz  <ts@g10code.de>
 
        * WinPT.cpp (WinMain): Set minimal list mode as default.
        * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
         

Prepare a new release.



Revision 167 - (view) (annotate) - [select for diffs]
Modified Thu Jan 26 10:17:17 2006 UTC (19 years, 1 month ago) by twoaday
File length: 20356 byte(s)
Diff to previous 165
2006-01-25  Timo Schulz  <ts@g10code.com>
 
        * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
        the key exist with no value.
        * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
        * wptKeysignDlg.cpp (do_fill_seclist): Select the
        default key if possible.
        * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
        return the choice.
        * wptKeylist.cpp (get_key_desc): New.
        (keylist_upd_key): Free memory.
        * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
        (gpg_keycache_set_default_key): New.
        * WinPT.cpp (gpg_prefs_ok): New.
        (WinMain): Only start gpg prefs if needed.
         



Revision 165 - (view) (annotate) - [select for diffs]
Modified Tue Jan 24 10:10:15 2006 UTC (19 years, 1 month ago) by twoaday
File length: 19431 byte(s)
Diff to previous 164
2006-01-21  Timo Schulz  <twoaday@freakmail.de>
                                                                                
        * wptKeyCache.cpp (keycache_next_key): Handle the case
        that there is a secret key without a public part.
        * wptKeyserver.cpp (kserver_save_conf): Save ports.
        * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
        Reset keyserver name.
        * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
        an update, do not update the cache.
        * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
        dialog for both clipboard and file imports.
        * wptKeyManager.cpp (km_file_import, km_clip_import):
        Changes to support new update system.
        (gpg_clip_import): New.
        * wptKeyManagerDlg.cpp (km_gui_import): New.
        (find_keypos): Rewritten.
        (refresh_keylist): Improved error checking.
                                                                                
(for complete list of changes, see PTD/ChangeLog, Src/ChangeLog)



Revision 164 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 09:19:15 2006 UTC (19 years, 1 month ago) by twoaday
File length: 19320 byte(s)
Diff to previous 150
2006-01-20  Timo Schulz  <ts@g10code.com>
 
        * wptKeyCache.cpp (w32_tmpfile): New.
        (parse_attr_data): Use it here.
        * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
         
2006-01-19  Timo Schulz  <ts@g10code.com>
 
        * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
        reload the entire cache, just update the key.
        * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
        * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
        * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
        if need after showing the properties.
        * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
        * wptKeyManager.cpp (km_import_file): New param. Changed
        all callers.
        (km_import_clip): Likewise.
        (delete_keys_from_cache): Delete secret part if available.
        * wptClipImportDlg.cpp (print_import_status): If there
        are too many new keys, use reload code.
         



Revision 150 - (view) (annotate) - [select for diffs]
Modified Wed Jan 18 11:52:45 2006 UTC (19 years, 1 month ago) by twoaday
File length: 18908 byte(s)
Diff to previous 147
2006-01-18  Timo Schulz  <ts@g10code.com>
 
        * wptListview.cpp (listview_del_sel_items): Fixed index
        calculation. This fixed a lot of problems with the KM listview
        update.
        (listview_del_all): Renamed to...
        (listview_del_all_items): ..this. Changed all callers.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
        list when file import contained new/updated keys.
        * wptKeyManager.cpp (km_file_import): Indicate if the
        import contained any new/update keys.
        * wptClipImportDlg.cpp (print_import_status): Just mark
        keys which actually changed.
         



Revision 147 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 14:21:16 2006 UTC (19 years, 1 month ago) by twoaday
File length: 18636 byte(s)
Diff to previous 133
2006-11-13  Timo Schulz  <ts@g10code.com>
 
        * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
        * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
        * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
        dialog isn't shown twice.
        * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
        (gpg_keycache_update_key): Set update flag.
        * wptKeyManagerDlg.cpp (refresh_keylist): New.
        (keymanager_dlg_proc): Use new refresh system for keyservers.
        * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
        Update keycache.
        * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
        * wptKeyserver.cpp (socket_read_ext): New.
        (kserver_recv_key_ext): New.
        (kserver_read_config, kserver_write_config): Removed.
         



Revision 133 - (view) (annotate) - [select for diffs]
Modified Mon Jan 9 09:15:29 2006 UTC (19 years, 1 month ago) by twoaday
File length: 18177 byte(s)
Diff to previous 123
A lot of minor bug fixes.
New icons.

For a complete history, see the ChangeLog entries.



Revision 123 - (view) (annotate) - [select for diffs]
Modified Wed Dec 14 09:01:45 2005 UTC (19 years, 2 months ago) by twoaday
File length: 15544 byte(s)
Diff to previous 121
2005-12-13  Timo Schulz  <ts@g10code.com>
 
        * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
        * wptKeyManagerDlg.cpp (change_edit_menu): New.
        (change_key_menu): Renamed from...
        (menu_gpg_readonly): ..this.
        (clip_contains_pgpkey): New.
        (update_ui_items): Do not allow to sign expired keys.
        (keymanager_dlg_proc): Same for popup menu.
        * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
        * wptKeyCache.cpp (copy_uid_prefs):
        (gpg_keycache_sync): Copy uid prefs so the key property
        dialog show the correct values. Thanks to Shane.
         



Revision 121 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 11:19:56 2005 UTC (19 years, 2 months ago) by twoaday
File length: 15234 byte(s)
Diff to previous 69
2005-12-11  Timo Schulz  <ts@g10code.com>
 
        * wptW32API.cpp (get_file_version): New.
        * wptGPGUtil.cpp (create_process): Always hide window.
        * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
        instead of 'Exit'.
        * wptKeyManager.cpp (km_http_import): New filename
        generation code.
        (km_send_to_mail_recipient): Cleanups.
        * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
        * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
        when multiple keys are selected.
        (popup_multiple): New.
        * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
        file versions are equal. Rewrote --keymanager code.
         
Removed temporary w32gpgme dirctory, all code is now in Src.
Changed configure files.



Revision 69 - (view) (annotate) - [select for diffs]
Modified Sat Nov 5 12:28:12 2005 UTC (19 years, 3 months ago) by twoaday
File length: 15235 byte(s)
Diff to previous 65
More minor fixes...


Revision 65 - (view) (annotate) - [select for diffs]
Modified Thu Nov 3 16:55:25 2005 UTC (19 years, 3 months ago) by twoaday
File length: 15187 byte(s)
Diff to previous 48
Minor changes to avoid GCC warnings.



Revision 48 - (view) (annotate) - [select for diffs]
Modified Mon Oct 31 21:14:11 2005 UTC (19 years, 4 months ago) by werner
File length: 15199 byte(s)
Diff to previous 42
More changes.  Compiles again but there are at least gettext issues with
w32-gettext.c.  I can't get a gpg-error build with ENABLE_NLS.


Revision 42 - (view) (annotate) - [select for diffs]
Modified Fri Oct 28 08:25:30 2005 UTC (19 years, 4 months ago) by werner
File length: 15220 byte(s)
Diff to previous 41
Readded lost changes from revision 40


Revision 41 - (view) (annotate) - [select for diffs]
Modified Fri Oct 28 07:15:26 2005 UTC (19 years, 4 months ago) by twoaday
File length: 15150 byte(s)
Diff to previous 36
A lot of bug fixes. See ChangeLog.


Revision 36 - (view) (annotate) - [select for diffs]
Modified Thu Oct 27 15:25:13 2005 UTC (19 years, 4 months ago) by werner
File length: 15222 byte(s)
Diff to previous 32
First set of changes to use autotools for building.

Revision 32 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 08:03:48 2005 UTC (19 years, 4 months ago) by twoaday
File length: 15748 byte(s)
Diff to previous 28
2005-10-23  Timo Schulz  <twoaday@g10code.com>
 
        * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.
        * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
        (get_ext_validity): New.
        * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
        * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
        this function.
        (load_clipboard_from_file): Likewise.
        (save_clipboard_to_file): New.
        * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.

For complete details, see the ChangeLog files.


Revision 28 - (view) (annotate) - [select for diffs]
Added Thu Oct 20 12:35:59 2005 UTC (19 years, 4 months ago) by twoaday
File length: 15698 byte(s)
Minor cleanups and prepare the translation.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26