1 |
2005-10-11 Timo Schulz <[email protected]> |
2005-10-28 Werner Koch <[email protected]> |
2 |
|
|
3 |
Port to GPGME basically finished. |
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
4 |
|
unsigned. Never ever use a possible signed char as argument for |
5 |
2005-09-20 Timo Schulz <[email protected]> |
ctype tests. An alternative is to first test using isascii (). |
6 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
7 |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
|
8 |
Do not use gpgme_recipients_t but the listview directly |
2005-10-27 Timo Schulz <[email protected]> |
9 |
to add the selected files. |
|
10 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
11 |
2005-09-07 Timo Schulz <[email protected]> |
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
12 |
|
see if the key is disabled and not each subkey. |
13 |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
(seclist_init): Likewise. |
14 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
15 |
2005-09-01 Timo Schulz <[email protected]> |
gpgme_op_decrypt_verify. |
16 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
17 |
* wptW32API.cpp (center_window): New argument for parent window. |
to keyid conversation. This also fixes a crash. |
18 |
Change all callers. |
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
19 |
(center_window2): Likewise. |
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
20 |
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
already expired if the user wants to change the date. |
21 |
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
22 |
file is enough. Changed all callers. |
'v3 sig' option with the 'ask cert level' option. Sync |
23 |
|
with global preferences. |
24 |
2005-08-15 Timo Schulz <[email protected]> |
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
25 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
26 |
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
27 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
the button when the key is available. |
28 |
* Make sure the passphrase is always overwritten before it is |
Reload key directly, not the entire cache. |
29 |
freed (or the function returns). |
|
30 |
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
2005-10-26 Timo Schulz <[email protected]> |
31 |
(keyprops_dlg_proc): Use it here. |
|
32 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
33 |
2005-08-06 Timo Schulz <[email protected]> |
possible overflow. |
34 |
|
(is_openpgp_ext): Compare case insentensive. |
35 |
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
(add_single_file): New. |
36 |
of the secret key. |
(fm_add_opened_files): Support multi file selection. |
37 |
(keycache_init): cache name of secret keyring. |
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
38 |
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
39 |
(get_key_type): Do not assume 'ultimate' means key pair. |
reload flag. Just update the single key. |
40 |
* wptKeyEditDlgs.cpp (diff_time): New. |
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
41 |
(keyedit_addsubkey_dlg_proc): Changed design and use |
and disable anonymize recipient for now. |
42 |
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
|
43 |
because the combo box automatically handles this. |
Begin to port code to GCC. Fix all warning issued by the gcc |
44 |
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
compiler. |
45 |
* wptGPG.cpp (get_backup_name): New. |
|
46 |
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
2005-10-25 Timo Schulz <[email protected]> |
47 |
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
|
48 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
* wptGPGUtil.cpp (create_process): Hide window. |
49 |
not the long keyid. |
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
50 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
51 |
2005-08-05 Timo Schulz <[email protected]> |
static var 'enable'. |
52 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
53 |
* wptListView.cpp (listview_set_item2): New. |
(gpg_genkey_params): Make sure all primary keys are capable |
54 |
* wptKeyManager.cpp (km_check_if_protected): Directly |
for signing and certification. |
55 |
retrieve gpgme_key_t from the list. |
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
56 |
(km_check_key_status): Likewise. |
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
57 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
NULL. Noted by Ralf. |
58 |
a human-readable name for secret key export. |
(get_gnupg_prog): Simplified. |
59 |
Reload just the keys which were affected by updates |
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
60 |
(edit-key). |
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
61 |
(update_key): New. |
indicate a pending GPG process. |
62 |
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
63 |
version of keylist_add_key. |
and and of an operation. For now just the cursor changes. |
64 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
65 |
reload the keycache here, just flag 'update'. Give the |
* WinPT.cpp (WinMain): Check if there is already an instance and |
66 |
control to the calling dialog. |
set a variable early as possible. |
67 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
(load_gettext): If a previous instance was found, do not output |
68 |
as parameter. Changed all callers. |
any errors. Kudos to Ralf. |
69 |
Add date of expiration to the key info. |
|
70 |
(get_expire_date): New. |
2005-10-24 Timo Schulz <[email protected]> |
71 |
Use a checkbox to allow to ask for the cert level. |
|
72 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
73 |
the cache. |
pre-defined recipients. |
74 |
|
(release_gpg_passphrase_cb): Release recipients. |
75 |
2005-08-04 Timo Schulz <[email protected]> |
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
76 |
|
validity if needed. |
77 |
* wptListView.cpp (listview_scroll): New. |
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
78 |
(listview_get_item2): New. |
|
79 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
2005-10-23 Timo Schulz <[email protected]> |
80 |
item was found, make it visible with scrolling. |
|
81 |
* wptKeyManager.cpp (km_find_key): New. |
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
82 |
(keylist_subclass_proc): Support to handle some acceleators. |
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
83 |
Strg+{C, P, F, A}. |
(get_ext_validity): New. |
84 |
(km_get_key_status): Get the gpgme_key_t object directly |
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
85 |
from the list. |
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
86 |
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
this function. |
87 |
the config file (if it exists). |
(load_clipboard_from_file): Likewise. |
88 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
(save_clipboard_to_file): New. |
89 |
to handle the click->activate situation. |
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
90 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
|
91 |
Support to check the passphrase quality. |
2005-10-22 Timo Schulz <[email protected]> |
92 |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
|
93 |
(request_passphrase): Rename 'init' to 'flags' to allow more |
Localized a lot of more strings. |
94 |
options. |
|
95 |
* wptMAPI.cpp: Check all *alloc results. |
* wptMainProc.cpp (load_smartcard): New. |
96 |
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
97 |
passphrase quality check. |
(fm_check_armor_type): Add new arg. Change all callers. |
98 |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
(fm_get_file_type): Likewise. |
99 |
format and allow to save the checksum in a file. |
* wptKeyPropsDlg.cpp (display_key_info): New. |
100 |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
(keyprops_show_photo): Factored out some code into.. |
101 |
when the PGP mode is disabled. |
(keyprops_load_photo): ..this function. |
102 |
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
|
103 |
one user-ID exists. |
2005-10-21 Timo Schulz <[email protected]> |
104 |
(keyedit_dlg_proc): Fixed index problem. |
|
105 |
* wptKeyPropsDlg.cpp (get_validity): New. |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
106 |
(keyprops_dlg_proc): Actually show extended validity if possible. |
WM_INITPOPUPMENU to localize popup menu texts. |
107 |
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
108 |
(do_addkey): Use listview_add_item2 to store key as opaque |
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
109 |
param inside the list. |
|
110 |
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
2005-10-20 Timo Schulz <[email protected]> |
111 |
(file_stat_dlg_proc): End dialog if no PGP data was found. |
|
112 |
(do_list_packets): Return the number of valid PGP packets |
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
113 |
of the file. |
|
114 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
115 |
2005-08-02 Timo Schulz <[email protected]> |
* wptCardEdit.cpp (genKey): Handle cancel case. |
116 |
|
* keycache.c: Renamed into... |
117 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
* wptKeyCache.cpp: ...this. |
118 |
using 'Default Keyserver' add the real keyserver name to |
* wptW32API.cpp (set_menu_text): Removed unused code. |
119 |
the menu. |
(set_menu_text_bypos): New. |
120 |
The rebuild command does not reload the cache any longer. |
* wptCrypto.h: New. |
121 |
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
* wptMainProc.cpp (winpt_main_proc): Complete localize |
122 |
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
menu texts. |
123 |
(keyserver_proxy_dlg_proc): Changed the design a little |
* wptErrors.cpp (log_debug): Use a static var so the file |
124 |
and add some additional sanity checks. |
is only opened once. |
125 |
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
(debug_end): Cleanup. Currently just close the log file. |
126 |
This fixes the problem that the GPG option dialog does not show |
* wptErrors.h (wipememory): New. |
127 |
very nice lines. |
(sfree_if_alloc): Use it here. |
128 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
* WinPT.cpp (WinMain): Display the min. GPGME version which |
129 |
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
is needed in case of an error. |
130 |
check for 'NOKEY' before asking a keyserver. |
|
131 |
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
2005-10-17 Timo Schulz <[email protected]> |
132 |
If a lot of keys were selected, ask if the user wants to confirm |
|
133 |
each delete procedure or allow to cancel the operation. |
Free all memory returned by the GPGME dll with gpgme_free (). |
134 |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
|
135 |
keys the file contain. |
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
136 |
* wptKeyList.cpp (get_key_algo): Beautified. |
|
137 |
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
138 |
confusing for users. |
(list_handler): With user interaction to allow to insert |
139 |
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
the card into the reader. |
140 |
new code. |
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
141 |
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
(common_card_handler): Fixed incorrect command string. |
142 |
invalid (exp+rev+dis) keys. |
* wptKeyPropsDlg.cpp (get_card_type): New. |
143 |
|
(keyprops_dlg_proc): Show card information if present. |
144 |
2005-08-01 Timo Schulz <[email protected]> |
* wptFileManager.cpp (secret_key_available): Make the code faster. |
145 |
|
|
146 |
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
|
147 |
sizes. |
2005-10-16 Timo Schulz <[email protected]> |
148 |
(check_IP_or_hostname): New. |
|
149 |
(kserver_load_conf): Correct finger URL parsing problem. |
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
150 |
(port_from_proto): New. |
with hanging GPG process on cancel. |
151 |
(keyserver_load_conf): Guess the port. |
* keycache.c (gpg_keycache_release): Release all objects. |
152 |
(keyserver_set_default): Allocate new buffer. |
|
153 |
(kserver_load_conf): Likewise. |
2005-10-15 Timo Schulz <[email protected]> |
154 |
* wptHTTP.c (parse_reqline, parse_request): Removed. |
|
155 |
Use WinPT error code and remove all unused code. |
* wptCardEdit.cpp (setResult, getResult): New. |
156 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
(reset): New. |
157 |
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
(getCardStatus): Check return codes and release all objects |
158 |
invalid host/IP addresses. |
in case of errors. |
159 |
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
160 |
Changed all callers. |
before quit. |
161 |
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
(editcard_handler): Likewise. |
162 |
automatically set 'backup to homedir'. |
(common_card_handler): New. |
163 |
* WinPT.cpp (WinMain): Use desktop window as the parent window |
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
164 |
to load 'first-start' dialogs. |
the old PIN when 'Hide Typing' is disabled. |
165 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
166 |
flag after deleting keys. |
works again. Support to re-enter passphrase. |
167 |
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
|
168 |
for passing the arguments. |
2005-10-14 Timo Schulz <[email protected]> |
169 |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
|
170 |
the OptFile. This was responsible for a lot of 'General Errors' |
* wptCardDlg.cpp (card_status): New fields for the |
171 |
after the first start related to key caching. |
fingerprint creation time. Display card info as title. |
172 |
Automatically set the gpg binary if possible. |
(get_printable_version): New. |
173 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
174 |
2005-07-22 Timo Schulz <[email protected]> |
with the counter comparison. |
175 |
|
|
176 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
2005-10-11 Timo Schulz <[email protected]> |
177 |
messages and make sure WinPT make a keyring backup in this case. |
|
178 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
Port to GPGME basically finished. |
179 |
cache each time. Just do it on startup. |
|
180 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
2005-09-20 Timo Schulz <[email protected]> |
181 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
|
182 |
was set by the calling function. |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
183 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
Do not use gpgme_recipients_t but the listview directly |
184 |
(keygen_dlg_proc): Only add the generated key to the keycache |
to add the selected files. |
185 |
and do not reload the entire cache. |
|
186 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
2005-09-07 Timo Schulz <[email protected]> |
187 |
because in each loop iteration it will be new calculated. |
|
188 |
* wptListView.cpp (listview_del_items): Likewise. |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
189 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
|
190 |
generated key to the list instead of reloading the entire cache. |
2005-09-01 Timo Schulz <[email protected]> |
191 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
|
192 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
193 |
|
Change all callers. |
194 |
|
(center_window2): Likewise. |
195 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
196 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
197 |
|
file is enough. Changed all callers. |
198 |
|
|
199 |
|
2005-08-15 Timo Schulz <[email protected]> |
200 |
|
|
201 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
202 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
203 |
|
* Make sure the passphrase is always overwritten before it is |
204 |
|
freed (or the function returns). |
205 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
206 |
|
(keyprops_dlg_proc): Use it here. |
207 |
|
|
208 |
|
2005-08-06 Timo Schulz <[email protected]> |
209 |
|
|
210 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
211 |
|
of the secret key. |
212 |
|
(keycache_init): cache name of secret keyring. |
213 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
214 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
215 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
216 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
217 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
218 |
|
because the combo box automatically handles this. |
219 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
220 |
|
* wptGPG.cpp (get_backup_name): New. |
221 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
222 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
223 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
224 |
|
not the long keyid. |
225 |
|
|
226 |
|
2005-08-05 Timo Schulz <[email protected]> |
227 |
|
|
228 |
|
* wptListView.cpp (listview_set_item2): New. |
229 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
230 |
|
retrieve gpgme_key_t from the list. |
231 |
|
(km_check_key_status): Likewise. |
232 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
233 |
|
a human-readable name for secret key export. |
234 |
|
Reload just the keys which were affected by updates |
235 |
|
(edit-key). |
236 |
|
(update_key): New. |
237 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
238 |
|
version of keylist_add_key. |
239 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
240 |
|
reload the keycache here, just flag 'update'. Give the |
241 |
|
control to the calling dialog. |
242 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
243 |
|
as parameter. Changed all callers. |
244 |
|
Add date of expiration to the key info. |
245 |
|
(get_expire_date): New. |
246 |
|
Use a checkbox to allow to ask for the cert level. |
247 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
248 |
|
the cache. |
249 |
|
|
250 |
|
2005-08-04 Timo Schulz <[email protected]> |
251 |
|
|
252 |
|
* wptListView.cpp (listview_scroll): New. |
253 |
|
(listview_get_item2): New. |
254 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
255 |
|
item was found, make it visible with scrolling. |
256 |
|
* wptKeyManager.cpp (km_find_key): New. |
257 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
258 |
|
Strg+{C, P, F, A}. |
259 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
260 |
|
from the list. |
261 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
262 |
|
the config file (if it exists). |
263 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
264 |
|
to handle the click->activate situation. |
265 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
266 |
|
Support to check the passphrase quality. |
267 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
268 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
269 |
|
options. |
270 |
|
* wptMAPI.cpp: Check all *alloc results. |
271 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
272 |
|
passphrase quality check. |
273 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
274 |
|
format and allow to save the checksum in a file. |
275 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
276 |
|
when the PGP mode is disabled. |
277 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
278 |
|
one user-ID exists. |
279 |
|
(keyedit_dlg_proc): Fixed index problem. |
280 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
281 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
282 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
283 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
284 |
|
param inside the list. |
285 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
286 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
287 |
|
(do_list_packets): Return the number of valid PGP packets |
288 |
|
of the file. |
289 |
|
|
290 |
|
2005-08-02 Timo Schulz <[email protected]> |
291 |
|
|
292 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
293 |
|
using 'Default Keyserver' add the real keyserver name to |
294 |
|
the menu. |
295 |
|
The rebuild command does not reload the cache any longer. |
296 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
297 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
298 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
299 |
|
and add some additional sanity checks. |
300 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
301 |
|
This fixes the problem that the GPG option dialog does not show |
302 |
|
very nice lines. |
303 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
304 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
305 |
|
check for 'NOKEY' before asking a keyserver. |
306 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
307 |
|
If a lot of keys were selected, ask if the user wants to confirm |
308 |
|
each delete procedure or allow to cancel the operation. |
309 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
310 |
|
keys the file contain. |
311 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
312 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
313 |
|
confusing for users. |
314 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
315 |
|
new code. |
316 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
317 |
|
invalid (exp+rev+dis) keys. |
318 |
|
|
319 |
|
2005-08-01 Timo Schulz <[email protected]> |
320 |
|
|
321 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
322 |
|
sizes. |
323 |
|
(check_IP_or_hostname): New. |
324 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
325 |
|
(port_from_proto): New. |
326 |
|
(keyserver_load_conf): Guess the port. |
327 |
|
(keyserver_set_default): Allocate new buffer. |
328 |
|
(kserver_load_conf): Likewise. |
329 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
330 |
|
Use WinPT error code and remove all unused code. |
331 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
332 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
333 |
|
invalid host/IP addresses. |
334 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
335 |
|
Changed all callers. |
336 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
337 |
|
automatically set 'backup to homedir'. |
338 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
339 |
|
to load 'first-start' dialogs. |
340 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
341 |
|
flag after deleting keys. |
342 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
343 |
|
for passing the arguments. |
344 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
345 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
346 |
|
after the first start related to key caching. |
347 |
|
Automatically set the gpg binary if possible. |
348 |
|
|
349 |
|
2005-07-22 Timo Schulz <[email protected]> |
350 |
|
|
351 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
352 |
|
messages and make sure WinPT make a keyring backup in this case. |
353 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
354 |
|
cache each time. Just do it on startup. |
355 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
356 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
357 |
|
was set by the calling function. |
358 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
359 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
360 |
|
and do not reload the entire cache. |
361 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
362 |
|
because in each loop iteration it will be new calculated. |
363 |
|
* wptListView.cpp (listview_del_items): Likewise. |
364 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
365 |
|
generated key to the list instead of reloading the entire cache. |
366 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
367 |
|
|
368 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
369 |
|
|
370 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
407 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
408 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
409 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
410 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
411 |
* wptW32API.cpp (get_folder_dlg): Free memory. |
* wptW32API.cpp (get_folder_dlg): Free memory. |
412 |
|
|
413 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |