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

Log of /trunk/Src/wptGPGUtil.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 273 - (view) (annotate) - [select for diffs]
Modified Fri Dec 8 10:22:17 2006 UTC (18 years, 2 months ago) by twoaday
File length: 20505 byte(s)
Diff to previous 270


Revision 270 - (view) (annotate) - [select for diffs]
Modified Sat Oct 21 18:08:57 2006 UTC (18 years, 4 months ago) by twoaday
File length: 20997 byte(s)
Diff to previous 219


Revision 219 - (view) (annotate) - [select for diffs]
Modified Sat May 27 08:56:00 2006 UTC (18 years, 9 months ago) by twoaday
File length: 20921 byte(s)
Diff to previous 214
2006-05-25  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
        * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
        * wptVerifyList.cpp (verlist_build): New argument type.
        Change all callers.
        (verlist_set_info_control): New.
        (verlist_set_additional_info): New.
        * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
        * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
        * wptFileCBS.cpp (read_cb, write_cb): Add logging.
                                                                                



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: 20862 byte(s)
Diff to previous 208
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 208 - (view) (annotate) - [select for diffs]
Modified Mon May 1 12:22:18 2006 UTC (18 years, 10 months ago) by twoaday
File length: 20849 byte(s)
Diff to previous 200
See ChangeLog.



Revision 200 - (view) (annotate) - [select for diffs]
Modified Mon Apr 17 09:12:50 2006 UTC (18 years, 10 months ago) by twoaday
File length: 21295 byte(s)
Diff to previous 193
2006-04-16  Timo Schulz  <ts@g10code.de>
 
        * wptHTTP.cpp (getErrorCode): New.
        (connect): Store winsock error code.
        * wptGPGMEData.cpp (is_armor_header): New.
        * wptGPG.cpp (check_gnupg_engine): Free context.
        (gnupg_backup_keyrings): Do not use global vars.
        * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
         
2006-04-15  Timo Schulz  <ts@g10code.de>
 
        * wptKeyManager.cpp (km_get_key): New.
        (km_key_show_revoc_info): New.
        * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
        (on_init_dialog): New.
        * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
        out some common code and use km_get_key() instead.
        * wptKeyEditDlgs.cpp (do_init_keylist): Change second
        param type. Change all callers.
        * wptKeyEdit.cpp (addNotation): New.
        * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
        param everywhere. Change all callers.



Revision 193 - (view) (annotate) - [select for diffs]
Modified Sat Apr 1 12:36:35 2006 UTC (18 years, 11 months ago) by twoaday
File length: 20950 byte(s)
Diff to previous 181
2006-03-31  Timo Schulz  <ts@g10code.de>
 
        * wptCommonDlg.cpp (nls_load_langlist): New.
        (nsl_set_language): New.
        (nls_dlg_proc): New.
        (select_language): New. Allow user to select the language.
        * wptNLS.c (get_gettext_langid): Updated available languages.
        * WinPT.cpp (WinMain): Allow to select the languag on first
        start in non-installer environments.
        * wptVerifyList.cpp (verlist_build): Simplified.
        (verlist_add_sig_log): Likewise.
        * wptListview.cpp (listview_set_column_width,
        listview_get_selected_item): New.
        * wptKeyManager.cpp (gpg_clip_export): Merged into..
        (km_clip_export): ..this function.



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: 21131 byte(s)
Diff to previous 180
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 180 - (view) (annotate) - [select for diffs]
Modified Mon Mar 6 14:41:58 2006 UTC (18 years, 11 months ago) by twoaday
File length: 20117 byte(s)
Diff to previous 179
2006-02-27  Timo Schulz  <twoaday@freakmail.de>
 
        * wptSOCKS.cpp (socks_handshake): New.
        * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
        the key manager in teh foreground if possible.
        * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
        * wptRegistry.cpp (get_reg_proxy_prefs,
        set_reg_proxy_prefs): Use directly the proxy context.
        Changed all callers.
        * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
        (keyserver_proxy_dlg_proc): Use directly the proxy context.
        * wptKeyserver.cpp (kserver_connect): Better proxy support.
        (kserver_send_request, kserver_recvkey_request): Likewise.
        * wptKeyserverDlg.cpp (name_from_proto): New.
        (set_proxy): Adjusted for the new code.



Revision 179 - (view) (annotate) - [select for diffs]
Modified Fri Feb 24 13:12:26 2006 UTC (19 years ago) by twoaday
File length: 20089 byte(s)
Diff to previous 175
Prepare 0.11.8



Revision 175 - (view) (annotate) - [select for diffs]
Modified Tue Feb 7 08:58:04 2006 UTC (19 years ago) by twoaday
File length: 19059 byte(s)
Diff to previous 164
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 164 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 09:19:15 2006 UTC (19 years, 1 month ago) by twoaday
File length: 17472 byte(s)
Diff to previous 133
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 133 - (view) (annotate) - [select for diffs]
Modified Mon Jan 9 09:15:29 2006 UTC (19 years, 1 month ago) by twoaday
File length: 17444 byte(s)
Diff to previous 129
A lot of minor bug fixes.
New icons.

For a complete history, see the ChangeLog entries.



Revision 129 - (view) (annotate) - [select for diffs]
Modified Fri Dec 30 13:56:10 2005 UTC (19 years, 2 months ago) by twoaday
File length: 16361 byte(s)
Diff to previous 121
2005-12-27  Timo Schulz  <ts@g10code.com>
                                                                                
        * wptListView.cpp (listview_set_view): New.
        (listview_del_column): New.
        * wptW32API.cpp (get_locale_date): New.
        (get_menu_state): New.
        (force_foreground_window): New.
        * wptVerifyList.cpp (strtimestamp): Support for
        locale date formats.
        * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
        passphrases.
        * wptKeyEditCB.cpp (editkey_command_handler): Immediately
        return when a bad passphrase was submitted.
        * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
        column order.
        * wptKeylist.cpp (keylist_upd_col): New.
        * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
        'Revocation' for public keys.
        (translate_menu_strings): s/Revoke/Revoke Cert.
        (modify_listview_columns): New.



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: 16277 byte(s)
Diff to previous 73
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 73 - (view) (annotate) - [select for diffs]
Modified Tue Nov 8 07:15:13 2005 UTC (19 years, 3 months ago) by twoaday
File length: 15953 byte(s)
Diff to previous 48
2005-11-08  Timo Schulz  <ts@g10code.com>
 
        More minor changes to avoid GCC warnings.
         
        * wptGPG.cpp (check_homedir): Free memory in case of errors.
        (multi_gnupg_path): Add strict mode. If non-strict mode return
        the folder even if it does not exist.
        (check_for_gpgwin): New.
        * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
        initialized.
        * wptRegistry.cpp (get_reg_entry_gpg4win): New.
        (get_reg_entry_mo): Support for gpg4win.
         
For complete changes see ChangeLogs.


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: 15830 byte(s)
Diff to previous 36
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 36 - (view) (annotate) - [select for diffs]
Modified Thu Oct 27 15:25:13 2005 UTC (19 years, 4 months ago) by werner
File length: 15838 byte(s)
Diff to previous 34
First set of changes to use autotools for building.

Revision 34 - (view) (annotate) - [select for diffs]
Modified Wed Oct 26 11:20:09 2005 UTC (19 years, 4 months ago) by twoaday
File length: 16407 byte(s)
Diff to previous 33
2005-10-25  Timo Schulz  <twoaday@g10code.com>
                                                                                
        * wptGPGUtil.cpp (create_process): Hide window.
        * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
        * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
        static var 'enable'.
        * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
        (gpg_genkey_params): Make sure all primary keys are capable
        for signing and certification.
        * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
        * wptGPG.cpp (gnupg_access_keyring): Check return value for
        NULL. Noted by Ralf.
        (get_gnupg_prog): Simplified.
        (check_homedir): Fixed. Return 0 when the dir is successfully created.
        * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
        indicate a pending GPG process.
        * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
        and and of an operation. For now just the cursor changes.
        (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
        * WinPT.cpp (WinMain): Check if there is already an instance and
        set a variable early as possible.
        (load_gettext): If a previous instance was found, do not output
        any errors. Kudos to Ralf.



Revision 33 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 07:46:20 2005 UTC (19 years, 4 months ago) by twoaday
File length: 16355 byte(s)
Diff to previous 32
More bug fixes and cleanups.
See ChangeLog for details.


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: 13609 byte(s)
Diff to previous 25
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 25 - (view) (annotate) - [select for diffs]
Added Wed Oct 12 10:04:26 2005 UTC (19 years, 4 months ago) by twoaday
File length: 13520 byte(s)
First testing phase finished.
Provide bug fixes for a lot of (minor) problems.


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