1 |
2005-10-24 Timo Schulz <[email protected]> |
2005-12-29 Timo Schulz <[email protected]> |
2 |
|
|
3 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
* wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically. |
4 |
pre-defined recipients. |
(gpg_genkey_params): Simplified. |
5 |
(release_gpg_passphrase_cb): Release recipients. |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal |
6 |
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
exclusion of the dialog items. |
7 |
validity if needed. |
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to |
8 |
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
quit the dialog. |
9 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
10 |
2005-10-23 Timo Schulz <[email protected]> |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND. |
11 |
|
(id2algo): New. |
12 |
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
|
13 |
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
2005-12-28 Timo Schulz <[email protected]> |
14 |
(get_ext_validity): New. |
|
15 |
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
* wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs. |
16 |
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
17 |
this function. |
* wptKeylist.cpp (keylist_udp_key): Likewise. |
18 |
(load_clipboard_from_file): Likewise. |
* wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise. |
19 |
(save_clipboard_to_file): New. |
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem |
20 |
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
when no signing key was found. |
21 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode |
22 |
2005-10-22 Timo Schulz <[email protected]> |
user IDs. |
23 |
|
(translate_popup_strings): s/Revoke/Revoke Cert. |
24 |
Localized a lot of more strings. |
* wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a |
25 |
|
0x prefixed keyid. |
26 |
* wptMainProc.cpp (load_smartcard): New. |
* wptKeyEditCB.cpp (editkey_command_handler): Also reset |
27 |
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
step in case of a bad passphrase. |
28 |
(fm_check_armor_type): Add new arg. Change all callers. |
|
29 |
(fm_get_file_type): Likewise. |
2005-12-27 Timo Schulz <[email protected]> |
30 |
* wptKeyPropsDlg.cpp (display_key_info): New. |
|
31 |
(keyprops_show_photo): Factored out some code into.. |
* wptListView.cpp (listview_set_view): New. |
32 |
(keyprops_load_photo): ..this function. |
(listview_del_column): New. |
33 |
|
* wptW32API.cpp (get_locale_date): New. |
34 |
2005-10-21 Timo Schulz <[email protected]> |
(get_menu_state): New. |
35 |
|
(force_foreground_window): New. |
36 |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
* wptVerifyList.cpp (strtimestamp): Support for |
37 |
WM_INITPOPUPMENU to localize popup menu texts. |
locale date formats. |
38 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
* wptGPGUtil.cpp (gpg_revoke_cert): Handle bad |
39 |
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
passphrases. |
40 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Immediately |
41 |
2005-10-20 Timo Schulz <[email protected]> |
return when a bad passphrase was submitted. |
42 |
|
* wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change |
43 |
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
column order. |
44 |
|
* wptKeylist.cpp (keylist_upd_col): New. |
45 |
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
* wptKeyManagerDlg.cpp (update_ui_items): Deactivate |
46 |
* wptCardEdit.cpp (genKey): Handle cancel case. |
'Revocation' for public keys. |
47 |
* keycache.c: Renamed into... |
(translate_menu_strings): s/Revoke/Revoke Cert. |
48 |
* wptKeyCache.cpp: ...this. |
(modify_listview_columns): New. |
49 |
* wptW32API.cpp (set_menu_text): Removed unused code. |
|
50 |
(set_menu_text_bypos): New. |
2005-12-18 Timo Schulz <[email protected]> |
51 |
* wptCrypto.h: New. |
|
52 |
* wptMainProc.cpp (winpt_main_proc): Complete localize |
* wptKeyManagerDlg.cpp (save_column_size): New. |
53 |
menu texts. |
(restore_column_size): New. |
54 |
* wptErrors.cpp (log_debug): Use a static var so the file |
(keymanager_dlg_proc): Save and restore column sizes for |
55 |
is only opened once. |
the listview control. |
56 |
(debug_end): Cleanup. Currently just close the log file. |
* wptKeyManager.cpp (key_get_info): New. |
57 |
* wptErrors.h (wipememory): New. |
(km_delete_keys): Use it here to have a consistent message. |
58 |
(sfree_if_alloc): Use it here. |
Use stored key context and not the column data. |
59 |
* WinPT.cpp (WinMain): Display the min. GPGME version which |
(km_enable_disable_key): Likewise. |
60 |
is needed in case of an error. |
(km_send_to_keyserver): Likewise. |
61 |
|
(km_set_implicit_trust): Likewise. |
62 |
2005-10-17 Timo Schulz <[email protected]> |
* wptKeylist.cpp (get_key_pubalgo2): New. |
63 |
|
|
64 |
Free all memory returned by the GPGME dll with gpgme_free (). |
2005-12-17 Timo Schulz <[email protected]> |
65 |
|
|
66 |
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
* wptUTF8.cpp: Removed unused charset array. |
67 |
|
* wptSigList.cpp (siglist_build): Increase size for 'class' |
68 |
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
column. |
69 |
(list_handler): With user interaction to allow to insert |
* wptGPG.cpp (get_gnupg_path): Simplified. |
70 |
the card into the reader. |
* WinPT.cpp (load_gpg_env): New. |
71 |
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
(check_crypto_engine): Return type is now bool. |
72 |
(common_card_handler): Fixed incorrect command string. |
* wptRegistry.cpp (is_gpg4win_installed): New. |
73 |
* wptKeyPropsDlg.cpp (get_card_type): New. |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent |
74 |
(keyprops_dlg_proc): Show card information if present. |
dialog design. |
75 |
* wptFileManager.cpp (secret_key_available): Make the code faster. |
* wptKeyManagerDlg.cpp (translate_menu_strings): New. |
76 |
|
(translate_popupmenu_strings): New. |
77 |
|
* wptKeyEditDlgs.cpp (is_jpg_file): New. |
78 |
2005-10-16 Timo Schulz <[email protected]> |
|
79 |
|
2005-12-13 Timo Schulz <[email protected]> |
80 |
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
|
81 |
with hanging GPG process on cancel. |
* wptCommonDlg.cpp (http_dlg_proc): Localized missing elements. |
82 |
* keycache.c (gpg_keycache_release): Release all objects. |
* wptKeyManagerDlg.cpp (change_edit_menu): New. |
83 |
|
(change_key_menu): Renamed from... |
84 |
2005-10-15 Timo Schulz <[email protected]> |
(menu_gpg_readonly): ..this. |
85 |
|
(clip_contains_pgpkey): New. |
86 |
* wptCardEdit.cpp (setResult, getResult): New. |
(update_ui_items): Do not allow to sign expired keys. |
87 |
(reset): New. |
(keymanager_dlg_proc): Same for popup menu. |
88 |
(getCardStatus): Check return codes and release all objects |
* wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling. |
89 |
in case of errors. |
* wptKeyCache.cpp (copy_uid_prefs): |
90 |
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
(gpg_keycache_sync): Copy uid prefs so the key property |
91 |
before quit. |
dialog show the correct values. Thanks to Shane. |
92 |
(editcard_handler): Likewise. |
|
93 |
(common_card_handler): New. |
2005-12-11 Timo Schulz <[email protected]> |
94 |
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
|
95 |
the old PIN when 'Hide Typing' is disabled. |
* wptW32API.cpp (get_file_version): New. |
96 |
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
* wptGPGUtil.cpp (create_process): Always hide window. |
97 |
works again. Support to re-enter passphrase. |
* wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close' |
98 |
|
instead of 'Exit'. |
99 |
2005-10-14 Timo Schulz <[email protected]> |
* wptKeyManager.cpp (km_http_import): New filename |
100 |
|
generation code. |
101 |
* wptCardDlg.cpp (card_status): New fields for the |
(km_send_to_mail_recipient): Cleanups. |
102 |
fingerprint creation time. Display card info as title. |
* wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog. |
103 |
(get_printable_version): New. |
* wptKeyManagerDlg.cpp (update_ui_items): Handle the case |
104 |
* wptCardEditCB.cpp (editcard_handler): Fix problem |
when multiple keys are selected. |
105 |
with the counter comparison. |
(popup_multiple): New. |
106 |
|
* WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe |
107 |
2005-10-11 Timo Schulz <[email protected]> |
file versions are equal. Rewrote --keymanager code. |
108 |
|
|
109 |
Port to GPGME basically finished. |
2005-12-08 Timo Schulz <[email protected]> |
110 |
|
|
111 |
2005-09-20 Timo Schulz <[email protected]> |
* wptKeyserverDlg.cpp (show_imported_keys): Enhanced. |
112 |
|
(hkp_recv_key2): Show user-id of the imported key instead |
113 |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
of just the pattern. |
114 |
Do not use gpgme_recipients_t but the listview directly |
* wptFileCBS.cpp (read_cb): Changed to W32 API. |
115 |
to add the selected files. |
(write_cb): Likewise. Create output file on demand. |
116 |
|
(gpg_file_data_new): Adjusted code for new API. |
117 |
2005-09-07 Timo Schulz <[email protected]> |
* wptKeyEdit.cpp (cleanKey): New. |
118 |
|
* wptKeyEditCB.cpp (cmd_clean_handler): New. |
119 |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
(editkey_command_handler): Call clean handler. |
120 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort |
121 |
2005-09-01 Timo Schulz <[email protected]> |
keylist after inserting items. |
122 |
|
* wptFileManager.cpp (fm_set_status): Take care of |
123 |
* wptW32API.cpp (center_window): New argument for parent window. |
cleartext sigs. |
124 |
Change all callers. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make |
125 |
(center_window2): Likewise. |
sure can be closed. |
126 |
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
|
127 |
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
2005-12-07 Timo Schulz <[email protected]> |
128 |
file is enough. Changed all callers. |
|
129 |
|
* wptOwnertrustDlg.cpp (ownertrust_dlg_proc): |
130 |
2005-08-15 Timo Schulz <[email protected]> |
Use 'Close' instead of 'Exit'. |
131 |
|
* wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise. |
132 |
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
* wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA |
133 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
as the destination dir. Thanks to Werner. |
134 |
* Make sure the passphrase is always overwritten before it is |
* wptRegistry.cpp (is_gpgee_installed): New. |
135 |
freed (or the function returns). |
(regist_inst_winpt): Do not register file extensions |
136 |
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
if GPGee is available. |
137 |
(keyprops_dlg_proc): Use it here. |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit |
138 |
|
use of local vars. |
139 |
2005-08-06 Timo Schulz <[email protected]> |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure |
140 |
|
no illegal backup mode is saved. |
141 |
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
* wptKeyserverDlg.cpp (show_imported_key): New. |
142 |
of the secret key. |
(hkp_recv_key2): Show imported keys if the blob |
143 |
(keycache_init): cache name of secret keyring. |
contained more than one. |
144 |
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
|
145 |
(get_key_type): Do not assume 'ultimate' means key pair. |
2005-12-06 Timo Schulz <[email protected]> |
146 |
* wptKeyEditDlgs.cpp (diff_time): New. |
|
147 |
(keyedit_addsubkey_dlg_proc): Changed design and use |
* WinPT.cpp (WinMain): Load the gettext environment soon |
148 |
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
as possible so all 'first start' messages are localized. |
149 |
because the combo box automatically handles this. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is |
150 |
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
received via the keyserver, return the gpgme key context on |
151 |
* wptGPG.cpp (get_backup_name): New. |
success and add it directly to the list. |
152 |
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param |
153 |
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
to store the key. |
154 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
(hkp_recv_key2): Add extra param for the fingerprint. |
155 |
not the long keyid. |
(hkp_recv_key): Call hkp_recv_key2 without fingerprint. |
156 |
|
|
157 |
2005-08-05 Timo Schulz <[email protected]> |
2005-12-02 Werner Koch <[email protected]> |
158 |
|
|
159 |
* wptListView.cpp (listview_set_item2): New. |
* wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs. |
160 |
* wptKeyManager.cpp (km_check_if_protected): Directly |
|
161 |
retrieve gpgme_key_t from the list. |
2005-12-01 Timo Schulz <[email protected]> |
162 |
(km_check_key_status): Likewise. |
|
163 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
* wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic |
164 |
a human-readable name for secret key export. |
for get_gpg_sigstat(). |
165 |
Reload just the keys which were affected by updates |
* wptGPGME.cpp (get_gpg_sigstat): New. It is now a function. |
166 |
(edit-key). |
As a macro strings will not be translated at runtime. |
167 |
(update_key): New. |
* wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we |
168 |
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
need to update the cache. Thanks to Jan-Oliver. |
169 |
version of keylist_add_key. |
* wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized. |
170 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
|
171 |
reload the keycache here, just flag 'update'. Give the |
2005-11-30 Timo Schulz <[email protected]> |
172 |
control to the calling dialog. |
|
173 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
* wptW32API.cpp (dialog_box_param): Removed LANG_DE code. |
174 |
as parameter. Changed all callers. |
* WinPT-en.rc: Removed string list. |
175 |
Add date of expiration to the key info. |
* wptFileSaveDlg.cpp (file_save_dlg_proc): Localized |
176 |
(get_expire_date): New. |
* wptKeylist.cpp (keylist_build): Cannot use global |
177 |
Use a checkbox to allow to ask for the cert level. |
arrays for the columns due to gettext. |
178 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
|
179 |
the cache. |
2005-11-29 Timo Schulz <[email protected]> |
180 |
|
|
181 |
2005-08-04 Timo Schulz <[email protected]> |
* WinPT.cpp (WinMain): Modify --keymanager. If an instance |
182 |
|
is running, just send the command to open the manager. |
183 |
* wptListView.cpp (listview_scroll): New. |
|
184 |
(listview_get_item2): New. |
2005-11-25 Timo Schulz <[email protected]> |
185 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
|
186 |
item was found, make it visible with scrolling. |
* wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging |
187 |
* wptKeyManager.cpp (km_find_key): New. |
process when the revoker is already there. |
188 |
(keylist_subclass_proc): Support to handle some acceleators. |
|
189 |
Strg+{C, P, F, A}. |
2005-11-24 Timo Schulz <[email protected]> |
190 |
(km_get_key_status): Get the gpgme_key_t object directly |
|
191 |
from the list. |
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
192 |
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
signing dialog items. |
193 |
the config file (if it exists). |
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
194 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now. |
195 |
to handle the click->activate situation. |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items. |
196 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
* wptKeylist.cpp (key_check_validity): Likewise. |
197 |
Support to check the passphrase quality. |
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise. |
198 |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
|
199 |
(request_passphrase): Rename 'init' to 'flags' to allow more |
2005-11-22 Timo Schulz <[email protected]> |
200 |
options. |
|
201 |
* wptMAPI.cpp: Check all *alloc results. |
* wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG |
202 |
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
macro debug output will be generated in release version. |
203 |
passphrase quality check. |
|
204 |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
2005-11-21 Timo Schulz <[email protected]> |
205 |
format and allow to save the checksum in a file. |
|
206 |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
* WinPT.cpp (WinMain): Implement --stop switch. |
207 |
when the PGP mode is disabled. |
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize |
208 |
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
missing string. |
209 |
one user-ID exists. |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise. |
210 |
(keyedit_dlg_proc): Fixed index problem. |
* wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context |
211 |
* wptKeyPropsDlg.cpp (get_validity): New. |
first. Thanks to Ralf. |
212 |
(keyprops_dlg_proc): Actually show extended validity if possible. |
* wptFileManagerDlg.cpp (update_ui_items): New. |
213 |
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
* wptFileManager.cpp (fm_set_status): New sigmode param. |
214 |
(do_addkey): Use listview_add_item2 to store key as opaque |
Changed all callers. |
215 |
param inside the list. |
|
216 |
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
2005-11-17 Timo Schulz <[email protected]> |
217 |
(file_stat_dlg_proc): End dialog if no PGP data was found. |
|
218 |
(do_list_packets): Return the number of valid PGP packets |
* wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that |
219 |
of the file. |
the cache will be loaded twice. |
220 |
|
* wptRegistry.cpp (regist_inst_winpt): More comments. |
221 |
2005-08-02 Timo Schulz <[email protected]> |
* wptKeyManagerDlg.cpp (do_center_window): Make sure that |
222 |
|
neg. coordinates are never used. |
223 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all |
224 |
using 'Default Keyserver' add the real keyserver name to |
strings. |
225 |
the menu. |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
226 |
The rebuild command does not reload the cache any longer. |
* wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu |
227 |
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
and save 'AlwaysOnTop' in the registry. |
228 |
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
|
229 |
(keyserver_proxy_dlg_proc): Changed the design a little |
2005-11-16 Timo Schulz <[email protected]> |
230 |
and add some additional sanity checks. |
|
231 |
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
* WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2. |
232 |
This fixes the problem that the GPG option dialog does not show |
* wptKeylist.cpp (keylist_add_key): Add disabled keys in list |
233 |
very nice lines. |
mode. |
234 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings. |
235 |
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
* wptRegistry.cpp (regist_inst_winpt): Set install directory. |
236 |
check for 'NOKEY' before asking a keyserver. |
Useful for other programs to figure out the path to the EXE. |
237 |
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
|
238 |
If a lot of keys were selected, ask if the user wants to confirm |
2005-11-14 Timo Schulz <[email protected]> |
239 |
each delete procedure or allow to cancel the operation. |
|
240 |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
* wptGPG.cpp (check_gnupg_engine): Fix version check. |
241 |
keys the file contain. |
* wptMainProc.cpp (winpt_main_proc): Check keyring |
242 |
* wptKeyList.cpp (get_key_algo): Beautified. |
file permissions always and do not use interative output |
243 |
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
when the windows session ends. |
244 |
confusing for users. |
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): |
245 |
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
Localize all strings. |
246 |
new code. |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
247 |
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise. |
248 |
invalid (exp+rev+dis) keys. |
* wptKeyEditDlgs.cpp (do_init_keylist): Skip all |
249 |
|
non-valid keys. |
250 |
2005-08-01 Timo Schulz <[email protected]> |
|
251 |
|
2005-11-12 Timo Schulz <[email protected]> |
252 |
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
|
253 |
sizes. |
Fix more GCC warnings. |
254 |
(check_IP_or_hostname): New. |
|
255 |
(kserver_load_conf): Correct finger URL parsing problem. |
2005-11-10 Timo Schulz <[email protected]> |
256 |
(port_from_proto): New. |
|
257 |
(keyserver_load_conf): Guess the port. |
* wptClipSignDlg.cpp (one_key_proc): Use |
258 |
(keyserver_set_default): Allocate new buffer. |
release_gpg_passphrase_cb() to free the context. |
259 |
(kserver_load_conf): Likewise. |
* wptListView.cpp (listview_deselect_all): New. |
260 |
* wptHTTP.c (parse_reqline, parse_request): Removed. |
* wptMAPI.cpp (mapi_send_pubkey): Works again. |
261 |
Use WinPT error code and remove all unused code. |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt & |
262 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
zip. |
263 |
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
* wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase |
264 |
invalid host/IP addresses. |
caching for signing operations. |
265 |
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
* wptKeyManager.cpp (km_send_to_mail_recipient): Works again. |
266 |
Changed all callers. |
* wptFileManager.cpp (fm_send_file): Likewise. |
267 |
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
(fm_encrypt_into_zip): New. |
268 |
automatically set 'backup to homedir'. |
|
269 |
* WinPT.cpp (WinMain): Use desktop window as the parent window |
2005-11-09 Timo Schulz <[email protected]> |
270 |
to load 'first-start' dialogs. |
|
271 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
* wptNLS.c (get_gettext_langid): Map user language id to |
272 |
flag after deleting keys. |
printable gettext language strings. |
273 |
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
* wptRegistry.cpp (get_reg_entry_mo): Support for the |
274 |
for passing the arguments. |
gettext environment. |
275 |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
* wptFileManager.cpp (fm_encrypt): Close all files before |
276 |
the OptFile. This was responsible for a lot of 'General Errors' |
the wipe procedure is called. |
277 |
after the first start related to key caching. |
* wptVerlist.cpp (verlist_add_sig): Handle the case the |
278 |
Automatically set the gpg binary if possible. |
issuer is not valid but the signature is. |
279 |
|
(verlist_add_sig_log): Likewise. Thanks to the folks on |
280 |
2005-07-22 Timo Schulz <[email protected]> |
winpt-users. |
281 |
|
|
282 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
2005-11-08 Werner Koch <[email protected]> |
283 |
messages and make sure WinPT make a keyring backup in this case. |
|
284 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
* SAFE.ICO, SIGN.ICO: Fixed capitalization. |
285 |
cache each time. Just do it on startup. |
* WinPT-en.rc: Ditto. |
286 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
* winpt_km.ico: Moved from ../. |
287 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
|
288 |
was set by the calling function. |
* Makefile.am (resource_files): Add missing backslash. |
289 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
|
290 |
(keygen_dlg_proc): Only add the generated key to the keycache |
2005-11-08 Timo Schulz <[email protected]> |
291 |
and do not reload the entire cache. |
|
292 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
More minor changes to avoid GCC warnings. |
293 |
because in each loop iteration it will be new calculated. |
|
294 |
* wptListView.cpp (listview_del_items): Likewise. |
* wptGPG.cpp (check_homedir): Free memory in case of errors. |
295 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
(multi_gnupg_path): Add strict mode. If non-strict mode return |
296 |
generated key to the list instead of reloading the entire cache. |
the folder even if it does not exist. |
297 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
(check_for_gpgwin): New. |
298 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is |
299 |
|
initialized. |
300 |
|
* wptRegistry.cpp (get_reg_entry_gpg4win): New. |
301 |
|
(get_reg_entry_mo): Support for gpg4win. |
302 |
|
|
303 |
|
2005-11-07 Timo Schulz <[email protected]> |
304 |
|
|
305 |
|
* wptMainProc.cpp (winpt_main_proc): Disable |
306 |
|
some menu items when no secret key is available. |
307 |
|
|
308 |
|
2005-11-05 Timo Schulz <[email protected]> |
309 |
|
|
310 |
|
More minor changes to avoid GCC warnings. |
311 |
|
|
312 |
|
* wptErrors.cp (winpt_strerror): Return w32 |
313 |
|
formatted error and do not use 'break'. |
314 |
|
|
315 |
|
2005-11-04 Werner Koch <[email protected]> |
316 |
|
|
317 |
|
* WinPT-en.rc: Fixed locations of icons. |
318 |
|
|
319 |
|
2005-11-03 Timo Schulz <[email protected]> |
320 |
|
|
321 |
|
A lot of minor changes to avoid GCC warnings. |
322 |
|
|
323 |
|
* wptGPG.cpp (get_gnupg_keyring): Only check size for |
324 |
|
public keyring. |
325 |
|
* wptKeyManager.cpp (km_update_default_key_str): Do |
326 |
|
not issue a bug message when no secret key was found. |
327 |
|
* wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct. |
328 |
|
|
329 |
|
2005-11-02 Werner Koch <[email protected]> |
330 |
|
|
331 |
|
* WinPT.cpp (WinMain): Disabled PTD version tests. |
332 |
|
(check_crypto_engine): Fixed version check for scard. |
333 |
|
|
334 |
|
* wptErrors.cpp (debug_end): Add dummy function. |
335 |
|
|
336 |
|
* Makefile.am (code_files): Added wptCardEditCB.cpp and |
337 |
|
wptKeyEditCB.cpp. |
338 |
|
|
339 |
|
2005-10-31 Werner Koch <[email protected]> |
340 |
|
|
341 |
|
* wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD |
342 |
|
functions. |
343 |
|
|
344 |
|
* wptKeyEditDlgs.cpp: Include oleauto.h |
345 |
|
* wptKeyEdit.cpp: Include time.h. |
346 |
|
* wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h. |
347 |
|
* wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/. |
348 |
|
|
349 |
|
* Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp, |
350 |
|
wptKeyEdit.cpp and wptKeycache.cpp. |
351 |
|
|
352 |
|
* wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h |
353 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
354 |
|
* wptGPG.cpp: Fixed spelling of wptGpgCmds.h |
355 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
356 |
|
* wptKeyManager.cpp (km_http_import): Ditto |
357 |
|
* wptMainProc.cpp: Include wptCrypto.h |
358 |
|
* wptKeyManager.cpp: Ditto. |
359 |
|
* wptFileManager.cpp: Ditto. |
360 |
|
* wptImportList.cpp (parse_colon_key): Need to cast argument for |
361 |
|
isdigit. Include ctype.h. |
362 |
|
* wptGPG.cpp: Include shlobj.h. |
363 |
|
|
364 |
|
Fixed double inclusion of windows.h. |
365 |
|
|
366 |
|
* Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now. |
367 |
|
* wptKeylist.cpp (get_key_created): Broke up trigraph. |
368 |
|
(get_key_status): Removed dangerous use of sprintf. Still other |
369 |
|
flaws present, see comment. |
370 |
|
|
371 |
|
* wptCardPCSC.c: Don't include winscard.h. |
372 |
|
(pcsc_readerstate_t, pcsc_context_t): New. Changed call users to |
373 |
|
use these types. |
374 |
|
(PCSC_): Added a lot of constants, all taked from GnuPG 1.9. |
375 |
|
(SCARD_S_SUCCESS): Changed all compares to test the value directly |
376 |
|
against zero. |
377 |
|
|
378 |
|
* WinPT.cpp: Include wptCrypto.h. |
379 |
|
(WinMain): Don't shard S. Removed usunsed variable SIZE. |
380 |
|
* Makefile.am (code_files): Actually add files by adding a first |
381 |
|
backslash. |
382 |
|
* wptMDSumDlg.cpp: Include wptCrypto.h. |
383 |
|
* wptProxySettingsDlg.cpp: Included ctype.h. |
384 |
|
* wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h. |
385 |
|
* wptKeysignDlg.cpp: Ditto |
386 |
|
* wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h. |
387 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove. |
388 |
|
Removed unused variable. |
389 |
|
* wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to |
390 |
|
silly c++ operator synonyms. |
391 |
|
* wptKeyEditDlgs.cpp: Include time.h. |
392 |
|
* wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE. |
393 |
|
* wptFileManagerDlg.cpp: Ditto. |
394 |
|
(space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't |
395 |
|
matter if it does an rmdir for a directory. |
396 |
|
|
397 |
|
Fixed include of resource.h which is not anymore in the top |
398 |
|
directory. |
399 |
|
|
400 |
|
2005-10-28 Werner Koch <[email protected]> |
401 |
|
|
402 |
|
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
403 |
|
unsigned. Never ever use a possible signed char as argument for |
404 |
|
ctype tests. An alternative is to first test using isascii (). |
405 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
406 |
|
|
407 |
|
2005-10-27 Timo Schulz <[email protected]> |
408 |
|
|
409 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
410 |
|
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
411 |
|
see if the key is disabled and not each subkey. |
412 |
|
(seclist_init): Likewise. |
413 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
414 |
|
gpgme_op_decrypt_verify. |
415 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
416 |
|
to keyid conversation. This also fixes a crash. |
417 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
418 |
|
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
419 |
|
already expired if the user wants to change the date. |
420 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
421 |
|
'v3 sig' option with the 'ask cert level' option. Sync |
422 |
|
with global preferences. |
423 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
424 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
425 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
426 |
|
the button when the key is available. |
427 |
|
Reload key directly, not the entire cache. |
428 |
|
|
429 |
|
2005-10-26 Timo Schulz <[email protected]> |
430 |
|
|
431 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
432 |
|
possible overflow. |
433 |
|
(is_openpgp_ext): Compare case insentensive. |
434 |
|
(add_single_file): New. |
435 |
|
(fm_add_opened_files): Support multi file selection. |
436 |
|
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
437 |
|
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
438 |
|
reload flag. Just update the single key. |
439 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
440 |
|
and disable anonymize recipient for now. |
441 |
|
|
442 |
|
Begin to port code to GCC. Fix all warning issued by the gcc |
443 |
|
compiler. |
444 |
|
|
445 |
|
2005-10-25 Timo Schulz <[email protected]> |
446 |
|
|
447 |
|
* wptGPGUtil.cpp (create_process): Hide window. |
448 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
449 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
450 |
|
static var 'enable'. |
451 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
452 |
|
(gpg_genkey_params): Make sure all primary keys are capable |
453 |
|
for signing and certification. |
454 |
|
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
455 |
|
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
456 |
|
NULL. Noted by Ralf. |
457 |
|
(get_gnupg_prog): Simplified. |
458 |
|
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
459 |
|
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
460 |
|
indicate a pending GPG process. |
461 |
|
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
462 |
|
and and of an operation. For now just the cursor changes. |
463 |
|
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
464 |
|
* WinPT.cpp (WinMain): Check if there is already an instance and |
465 |
|
set a variable early as possible. |
466 |
|
(load_gettext): If a previous instance was found, do not output |
467 |
|
any errors. Kudos to Ralf. |
468 |
|
|
469 |
|
2005-10-24 Timo Schulz <[email protected]> |
470 |
|
|
471 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
472 |
|
pre-defined recipients. |
473 |
|
(release_gpg_passphrase_cb): Release recipients. |
474 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
475 |
|
validity if needed. |
476 |
|
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
477 |
|
|
478 |
|
2005-10-23 Timo Schulz <[email protected]> |
479 |
|
|
480 |
|
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
481 |
|
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
482 |
|
(get_ext_validity): New. |
483 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
484 |
|
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
485 |
|
this function. |
486 |
|
(load_clipboard_from_file): Likewise. |
487 |
|
(save_clipboard_to_file): New. |
488 |
|
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
489 |
|
|
490 |
|
2005-10-22 Timo Schulz <[email protected]> |
491 |
|
|
492 |
|
Localized a lot of more strings. |
493 |
|
|
494 |
|
* wptMainProc.cpp (load_smartcard): New. |
495 |
|
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
496 |
|
(fm_check_armor_type): Add new arg. Change all callers. |
497 |
|
(fm_get_file_type): Likewise. |
498 |
|
* wptKeyPropsDlg.cpp (display_key_info): New. |
499 |
|
(keyprops_show_photo): Factored out some code into.. |
500 |
|
(keyprops_load_photo): ..this function. |
501 |
|
|
502 |
|
2005-10-21 Timo Schulz <[email protected]> |
503 |
|
|
504 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
505 |
|
WM_INITPOPUPMENU to localize popup menu texts. |
506 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
507 |
|
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
508 |
|
|
509 |
|
2005-10-20 Timo Schulz <[email protected]> |
510 |
|
|
511 |
|
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
512 |
|
|
513 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
514 |
|
* wptCardEdit.cpp (genKey): Handle cancel case. |
515 |
|
* keycache.c: Renamed into... |
516 |
|
* wptKeyCache.cpp: ...this. |
517 |
|
* wptW32API.cpp (set_menu_text): Removed unused code. |
518 |
|
(set_menu_text_bypos): New. |
519 |
|
* wptCrypto.h: New. |
520 |
|
* wptMainProc.cpp (winpt_main_proc): Complete localize |
521 |
|
menu texts. |
522 |
|
* wptErrors.cpp (log_debug): Use a static var so the file |
523 |
|
is only opened once. |
524 |
|
(debug_end): Cleanup. Currently just close the log file. |
525 |
|
* wptErrors.h (wipememory): New. |
526 |
|
(sfree_if_alloc): Use it here. |
527 |
|
* WinPT.cpp (WinMain): Display the min. GPGME version which |
528 |
|
is needed in case of an error. |
529 |
|
|
530 |
|
2005-10-17 Timo Schulz <[email protected]> |
531 |
|
|
532 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
533 |
|
|
534 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
535 |
|
|
536 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
537 |
|
(list_handler): With user interaction to allow to insert |
538 |
|
the card into the reader. |
539 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
540 |
|
(common_card_handler): Fixed incorrect command string. |
541 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
542 |
|
(keyprops_dlg_proc): Show card information if present. |
543 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
544 |
|
|
545 |
|
|
546 |
|
2005-10-16 Timo Schulz <[email protected]> |
547 |
|
|
548 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
549 |
|
with hanging GPG process on cancel. |
550 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
551 |
|
|
552 |
|
2005-10-15 Timo Schulz <[email protected]> |
553 |
|
|
554 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
555 |
|
(reset): New. |
556 |
|
(getCardStatus): Check return codes and release all objects |
557 |
|
in case of errors. |
558 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
559 |
|
before quit. |
560 |
|
(editcard_handler): Likewise. |
561 |
|
(common_card_handler): New. |
562 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
563 |
|
the old PIN when 'Hide Typing' is disabled. |
564 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
565 |
|
works again. Support to re-enter passphrase. |
566 |
|
|
567 |
|
2005-10-14 Timo Schulz <[email protected]> |
568 |
|
|
569 |
|
* wptCardDlg.cpp (card_status): New fields for the |
570 |
|
fingerprint creation time. Display card info as title. |
571 |
|
(get_printable_version): New. |
572 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
573 |
|
with the counter comparison. |
574 |
|
|
575 |
|
2005-10-11 Timo Schulz <[email protected]> |
576 |
|
|
577 |
|
Port to GPGME basically finished. |
578 |
|
|
579 |
|
2005-09-20 Timo Schulz <[email protected]> |
580 |
|
|
581 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
582 |
|
Do not use gpgme_recipients_t but the listview directly |
583 |
|
to add the selected files. |
584 |
|
|
585 |
|
2005-09-07 Timo Schulz <[email protected]> |
586 |
|
|
587 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
588 |
|
|
589 |
|
2005-09-01 Timo Schulz <[email protected]> |
590 |
|
|
591 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
592 |
|
Change all callers. |
593 |
|
(center_window2): Likewise. |
594 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
595 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
596 |
|
file is enough. Changed all callers. |
597 |
|
|
598 |
|
2005-08-15 Timo Schulz <[email protected]> |
599 |
|
|
600 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
601 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
602 |
|
* Make sure the passphrase is always overwritten before it is |
603 |
|
freed (or the function returns). |
604 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
605 |
|
(keyprops_dlg_proc): Use it here. |
606 |
|
|
607 |
|
2005-08-06 Timo Schulz <[email protected]> |
608 |
|
|
609 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
610 |
|
of the secret key. |
611 |
|
(keycache_init): cache name of secret keyring. |
612 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
613 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
614 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
615 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
616 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
617 |
|
because the combo box automatically handles this. |
618 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
619 |
|
* wptGPG.cpp (get_backup_name): New. |
620 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
621 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
622 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
623 |
|
not the long keyid. |
624 |
|
|
625 |
|
2005-08-05 Timo Schulz <[email protected]> |
626 |
|
|
627 |
|
* wptListView.cpp (listview_set_item2): New. |
628 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
629 |
|
retrieve gpgme_key_t from the list. |
630 |
|
(km_check_key_status): Likewise. |
631 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
632 |
|
a human-readable name for secret key export. |
633 |
|
Reload just the keys which were affected by updates |
634 |
|
(edit-key). |
635 |
|
(update_key): New. |
636 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
637 |
|
version of keylist_add_key. |
638 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
639 |
|
reload the keycache here, just flag 'update'. Give the |
640 |
|
control to the calling dialog. |
641 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
642 |
|
as parameter. Changed all callers. |
643 |
|
Add date of expiration to the key info. |
644 |
|
(get_expire_date): New. |
645 |
|
Use a checkbox to allow to ask for the cert level. |
646 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
647 |
|
the cache. |
648 |
|
|
649 |
|
2005-08-04 Timo Schulz <[email protected]> |
650 |
|
|
651 |
|
* wptListView.cpp (listview_scroll): New. |
652 |
|
(listview_get_item2): New. |
653 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
654 |
|
item was found, make it visible with scrolling. |
655 |
|
* wptKeyManager.cpp (km_find_key): New. |
656 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
657 |
|
Strg+{C, P, F, A}. |
658 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
659 |
|
from the list. |
660 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
661 |
|
the config file (if it exists). |
662 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
663 |
|
to handle the click->activate situation. |
664 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
665 |
|
Support to check the passphrase quality. |
666 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
667 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
668 |
|
options. |
669 |
|
* wptMAPI.cpp: Check all *alloc results. |
670 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
671 |
|
passphrase quality check. |
672 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
673 |
|
format and allow to save the checksum in a file. |
674 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
675 |
|
when the PGP mode is disabled. |
676 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
677 |
|
one user-ID exists. |
678 |
|
(keyedit_dlg_proc): Fixed index problem. |
679 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
680 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
681 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
682 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
683 |
|
param inside the list. |
684 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
685 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
686 |
|
(do_list_packets): Return the number of valid PGP packets |
687 |
|
of the file. |
688 |
|
|
689 |
|
2005-08-02 Timo Schulz <[email protected]> |
690 |
|
|
691 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
692 |
|
using 'Default Keyserver' add the real keyserver name to |
693 |
|
the menu. |
694 |
|
The rebuild command does not reload the cache any longer. |
695 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
696 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
697 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
698 |
|
and add some additional sanity checks. |
699 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
700 |
|
This fixes the problem that the GPG option dialog does not show |
701 |
|
very nice lines. |
702 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
703 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
704 |
|
check for 'NOKEY' before asking a keyserver. |
705 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
706 |
|
If a lot of keys were selected, ask if the user wants to confirm |
707 |
|
each delete procedure or allow to cancel the operation. |
708 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
709 |
|
keys the file contain. |
710 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
711 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
712 |
|
confusing for users. |
713 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
714 |
|
new code. |
715 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
716 |
|
invalid (exp+rev+dis) keys. |
717 |
|
|
718 |
|
2005-08-01 Timo Schulz <[email protected]> |
719 |
|
|
720 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
721 |
|
sizes. |
722 |
|
(check_IP_or_hostname): New. |
723 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
724 |
|
(port_from_proto): New. |
725 |
|
(keyserver_load_conf): Guess the port. |
726 |
|
(keyserver_set_default): Allocate new buffer. |
727 |
|
(kserver_load_conf): Likewise. |
728 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
729 |
|
Use WinPT error code and remove all unused code. |
730 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
731 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
732 |
|
invalid host/IP addresses. |
733 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
734 |
|
Changed all callers. |
735 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
736 |
|
automatically set 'backup to homedir'. |
737 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
738 |
|
to load 'first-start' dialogs. |
739 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
740 |
|
flag after deleting keys. |
741 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
742 |
|
for passing the arguments. |
743 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
744 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
745 |
|
after the first start related to key caching. |
746 |
|
Automatically set the gpg binary if possible. |
747 |
|
|
748 |
|
2005-07-22 Timo Schulz <[email protected]> |
749 |
|
|
750 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
751 |
|
messages and make sure WinPT make a keyring backup in this case. |
752 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
753 |
|
cache each time. Just do it on startup. |
754 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
755 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
756 |
|
was set by the calling function. |
757 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
758 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
759 |
|
and do not reload the entire cache. |
760 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
761 |
|
because in each loop iteration it will be new calculated. |
762 |
|
* wptListView.cpp (listview_del_items): Likewise. |
763 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
764 |
|
generated key to the list instead of reloading the entire cache. |
765 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
766 |
|
|
767 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
768 |
|
|
769 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
806 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
807 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
808 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
809 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
810 |
* wptW32API.cpp (get_folder_dlg): Free memory. |
* wptW32API.cpp (get_folder_dlg): Free memory. |
811 |
|
|
812 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |
1151 |
|
|
1152 |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
1153 |
from WinMain (). |
from WinMain (). |
1154 |
(WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner |
(WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner |
1155 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
1156 |
in the list control, add at least the internal default HKP server. |
in the list control, add at least the internal default HKP server. |
1157 |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |