1 |
2005-10-11 Timo Schulz <[email protected]> |
2005-11-21 Timo Schulz <[email protected]> |
2 |
|
|
3 |
Port to GPGME basically finished. |
* WinPT.cpp (WinMain): Implement --stop switch. |
4 |
|
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize |
5 |
2005-09-20 Timo Schulz <[email protected]> |
missing string. |
6 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise. |
7 |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
* wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context |
8 |
Do not use gpgme_recipients_t but the listview directly |
first. Thanks to Ralf. |
9 |
to add the selected files. |
* wptFileManagerDlg.cpp (update_ui_items): New. |
10 |
|
* wptFileManager.cpp (fm_set_status): New sigmode param. |
11 |
2005-09-07 Timo Schulz <[email protected]> |
Changed all callers. |
12 |
|
|
13 |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
2005-11-17 Timo Schulz <[email protected]> |
14 |
|
|
15 |
2005-09-01 Timo Schulz <[email protected]> |
* wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that |
16 |
|
the cache will be loaded twice. |
17 |
* wptW32API.cpp (center_window): New argument for parent window. |
* wptRegistry.cpp (regist_inst_winpt): More comments. |
18 |
Change all callers. |
* wptKeyManagerDlg.cpp (do_center_window): Make sure that |
19 |
(center_window2): Likewise. |
neg. coordinates are never used. |
20 |
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all |
21 |
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
strings. |
22 |
file is enough. Changed all callers. |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
23 |
|
* wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu |
24 |
2005-08-15 Timo Schulz <[email protected]> |
and save 'AlwaysOnTop' in the registry. |
25 |
|
|
26 |
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
2005-11-16 Timo Schulz <[email protected]> |
27 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
|
28 |
* Make sure the passphrase is always overwritten before it is |
* WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2. |
29 |
freed (or the function returns). |
* wptKeylist.cpp (keylist_add_key): Add disabled keys in list |
30 |
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
mode. |
31 |
(keyprops_dlg_proc): Use it here. |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings. |
32 |
|
* wptRegistry.cpp (regist_inst_winpt): Set install directory. |
33 |
2005-08-06 Timo Schulz <[email protected]> |
Useful for other programs to figure out the path to the EXE. |
34 |
|
|
35 |
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
2005-11-14 Timo Schulz <[email protected]> |
36 |
of the secret key. |
|
37 |
(keycache_init): cache name of secret keyring. |
* wptGPG.cpp (check_gnupg_engine): Fix version check. |
38 |
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
* wptMainProc.cpp (winpt_main_proc): Check keyring |
39 |
(get_key_type): Do not assume 'ultimate' means key pair. |
file permissions always and do not use interative output |
40 |
* wptKeyEditDlgs.cpp (diff_time): New. |
when the windows session ends. |
41 |
(keyedit_addsubkey_dlg_proc): Changed design and use |
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): |
42 |
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
Localize all strings. |
43 |
because the combo box automatically handles this. |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
44 |
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise. |
45 |
* wptGPG.cpp (get_backup_name): New. |
* wptKeyEditDlgs.cpp (do_init_keylist): Skip all |
46 |
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
non-valid keys. |
47 |
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
|
48 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
2005-11-12 Timo Schulz <[email protected]> |
49 |
not the long keyid. |
|
50 |
|
Fix more GCC warnings. |
51 |
2005-08-05 Timo Schulz <[email protected]> |
|
52 |
|
2005-11-10 Timo Schulz <[email protected]> |
53 |
* wptListView.cpp (listview_set_item2): New. |
|
54 |
* wptKeyManager.cpp (km_check_if_protected): Directly |
* wptClipSignDlg.cpp (one_key_proc): Use |
55 |
retrieve gpgme_key_t from the list. |
release_gpg_passphrase_cb() to free the context. |
56 |
(km_check_key_status): Likewise. |
* wptListView.cpp (listview_deselect_all): New. |
57 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
* wptMAPI.cpp (mapi_send_pubkey): Works again. |
58 |
a human-readable name for secret key export. |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt & |
59 |
Reload just the keys which were affected by updates |
zip. |
60 |
(edit-key). |
* wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase |
61 |
(update_key): New. |
caching for signing operations. |
62 |
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
* wptKeyManager.cpp (km_send_to_mail_recipient): Works again. |
63 |
version of keylist_add_key. |
* wptFileManager.cpp (fm_send_file): Likewise. |
64 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
(fm_encrypt_into_zip): New. |
65 |
reload the keycache here, just flag 'update'. Give the |
|
66 |
control to the calling dialog. |
2005-11-09 Timo Schulz <[email protected]> |
67 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
|
68 |
as parameter. Changed all callers. |
* wptNLS.c (get_gettext_langid): Map user language id to |
69 |
Add date of expiration to the key info. |
printable gettext language strings. |
70 |
(get_expire_date): New. |
* wptRegistry.cpp (get_reg_entry_mo): Support for the |
71 |
Use a checkbox to allow to ask for the cert level. |
gettext environment. |
72 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
* wptFileManager.cpp (fm_encrypt): Close all files before |
73 |
the cache. |
the wipe procedure is called. |
74 |
|
* wptVerlist.cpp (verlist_add_sig): Handle the case the |
75 |
2005-08-04 Timo Schulz <[email protected]> |
issuer is not valid but the signature is. |
76 |
|
(verlist_add_sig_log): Likewise. Thanks to the folks on |
77 |
* wptListView.cpp (listview_scroll): New. |
winpt-users. |
78 |
(listview_get_item2): New. |
|
79 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
2005-11-08 Werner Koch <[email protected]> |
80 |
item was found, make it visible with scrolling. |
|
81 |
* wptKeyManager.cpp (km_find_key): New. |
* SAFE.ICO, SIGN.ICO: Fixed capitalization. |
82 |
(keylist_subclass_proc): Support to handle some acceleators. |
* WinPT-en.rc: Ditto. |
83 |
Strg+{C, P, F, A}. |
* winpt_km.ico: Moved from ../. |
84 |
(km_get_key_status): Get the gpgme_key_t object directly |
|
85 |
from the list. |
* Makefile.am (resource_files): Add missing backslash. |
86 |
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
|
87 |
the config file (if it exists). |
2005-11-08 Timo Schulz <[email protected]> |
88 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
|
89 |
to handle the click->activate situation. |
More minor changes to avoid GCC warnings. |
90 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
|
91 |
Support to check the passphrase quality. |
* wptGPG.cpp (check_homedir): Free memory in case of errors. |
92 |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
(multi_gnupg_path): Add strict mode. If non-strict mode return |
93 |
(request_passphrase): Rename 'init' to 'flags' to allow more |
the folder even if it does not exist. |
94 |
options. |
(check_for_gpgwin): New. |
95 |
* wptMAPI.cpp: Check all *alloc results. |
* wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is |
96 |
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
initialized. |
97 |
passphrase quality check. |
* wptRegistry.cpp (get_reg_entry_gpg4win): New. |
98 |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
(get_reg_entry_mo): Support for gpg4win. |
99 |
format and allow to save the checksum in a file. |
|
100 |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
2005-11-07 Timo Schulz <[email protected]> |
101 |
when the PGP mode is disabled. |
|
102 |
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
* wptMainProc.cpp (winpt_main_proc): Disable |
103 |
one user-ID exists. |
some menu items when no secret key is available. |
104 |
(keyedit_dlg_proc): Fixed index problem. |
|
105 |
* wptKeyPropsDlg.cpp (get_validity): New. |
2005-11-05 Timo Schulz <[email protected]> |
106 |
(keyprops_dlg_proc): Actually show extended validity if possible. |
|
107 |
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
More minor changes to avoid GCC warnings. |
108 |
(do_addkey): Use listview_add_item2 to store key as opaque |
|
109 |
param inside the list. |
* wptErrors.cp (winpt_strerror): Return w32 |
110 |
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
formatted error and do not use 'break'. |
111 |
(file_stat_dlg_proc): End dialog if no PGP data was found. |
|
112 |
(do_list_packets): Return the number of valid PGP packets |
2005-11-04 Werner Koch <[email protected]> |
113 |
of the file. |
|
114 |
|
* WinPT-en.rc: Fixed locations of icons. |
115 |
2005-08-02 Timo Schulz <[email protected]> |
|
116 |
|
2005-11-03 Timo Schulz <[email protected]> |
117 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
|
118 |
using 'Default Keyserver' add the real keyserver name to |
A lot of minor changes to avoid GCC warnings. |
119 |
the menu. |
|
120 |
The rebuild command does not reload the cache any longer. |
* wptGPG.cpp (get_gnupg_keyring): Only check size for |
121 |
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
public keyring. |
122 |
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
* wptKeyManager.cpp (km_update_default_key_str): Do |
123 |
(keyserver_proxy_dlg_proc): Changed the design a little |
not issue a bug message when no secret key was found. |
124 |
and add some additional sanity checks. |
* wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct. |
125 |
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
|
126 |
This fixes the problem that the GPG option dialog does not show |
2005-11-02 Werner Koch <[email protected]> |
127 |
very nice lines. |
|
128 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
* WinPT.cpp (WinMain): Disabled PTD version tests. |
129 |
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
(check_crypto_engine): Fixed version check for scard. |
130 |
check for 'NOKEY' before asking a keyserver. |
|
131 |
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
* wptErrors.cpp (debug_end): Add dummy function. |
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. |
* Makefile.am (code_files): Added wptCardEditCB.cpp and |
134 |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
wptKeyEditCB.cpp. |
135 |
keys the file contain. |
|
136 |
* wptKeyList.cpp (get_key_algo): Beautified. |
2005-10-31 Werner Koch <[email protected]> |
137 |
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
|
138 |
confusing for users. |
* wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD |
139 |
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
functions. |
140 |
new code. |
|
141 |
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
* wptKeyEditDlgs.cpp: Include oleauto.h |
142 |
invalid (exp+rev+dis) keys. |
* wptKeyEdit.cpp: Include time.h. |
143 |
|
* wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h. |
144 |
2005-08-01 Timo Schulz <[email protected]> |
* wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/. |
145 |
|
|
146 |
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
* Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp, |
147 |
sizes. |
wptKeyEdit.cpp and wptKeycache.cpp. |
148 |
(check_IP_or_hostname): New. |
|
149 |
(kserver_load_conf): Correct finger URL parsing problem. |
* wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h |
150 |
(port_from_proto): New. |
* wptImportList.cpp (implist_load): Use remove and not unlink. |
151 |
(keyserver_load_conf): Guess the port. |
* wptGPG.cpp: Fixed spelling of wptGpgCmds.h |
152 |
(keyserver_set_default): Allocate new buffer. |
* wptImportList.cpp (implist_load): Use remove and not unlink. |
153 |
(kserver_load_conf): Likewise. |
* wptKeyManager.cpp (km_http_import): Ditto |
154 |
* wptHTTP.c (parse_reqline, parse_request): Removed. |
* wptMainProc.cpp: Include wptCrypto.h |
155 |
Use WinPT error code and remove all unused code. |
* wptKeyManager.cpp: Ditto. |
156 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
* wptFileManager.cpp: Ditto. |
157 |
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
* wptImportList.cpp (parse_colon_key): Need to cast argument for |
158 |
invalid host/IP addresses. |
isdigit. Include ctype.h. |
159 |
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
* wptGPG.cpp: Include shlobj.h. |
160 |
Changed all callers. |
|
161 |
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
Fixed double inclusion of windows.h. |
162 |
automatically set 'backup to homedir'. |
|
163 |
* WinPT.cpp (WinMain): Use desktop window as the parent window |
* Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now. |
164 |
to load 'first-start' dialogs. |
* wptKeylist.cpp (get_key_created): Broke up trigraph. |
165 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
(get_key_status): Removed dangerous use of sprintf. Still other |
166 |
flag after deleting keys. |
flaws present, see comment. |
167 |
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
|
168 |
for passing the arguments. |
* wptCardPCSC.c: Don't include winscard.h. |
169 |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
(pcsc_readerstate_t, pcsc_context_t): New. Changed call users to |
170 |
the OptFile. This was responsible for a lot of 'General Errors' |
use these types. |
171 |
after the first start related to key caching. |
(PCSC_): Added a lot of constants, all taked from GnuPG 1.9. |
172 |
Automatically set the gpg binary if possible. |
(SCARD_S_SUCCESS): Changed all compares to test the value directly |
173 |
|
against zero. |
174 |
2005-07-22 Timo Schulz <[email protected]> |
|
175 |
|
* WinPT.cpp: Include wptCrypto.h. |
176 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
(WinMain): Don't shard S. Removed usunsed variable SIZE. |
177 |
messages and make sure WinPT make a keyring backup in this case. |
* Makefile.am (code_files): Actually add files by adding a first |
178 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
backslash. |
179 |
cache each time. Just do it on startup. |
* wptMDSumDlg.cpp: Include wptCrypto.h. |
180 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
* wptProxySettingsDlg.cpp: Included ctype.h. |
181 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
* wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h. |
182 |
was set by the calling function. |
* wptKeysignDlg.cpp: Ditto |
183 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
* wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h. |
184 |
(keygen_dlg_proc): Only add the generated key to the keycache |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove. |
185 |
and do not reload the entire cache. |
Removed unused variable. |
186 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
* wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to |
187 |
because in each loop iteration it will be new calculated. |
silly c++ operator synonyms. |
188 |
* wptListView.cpp (listview_del_items): Likewise. |
* wptKeyEditDlgs.cpp: Include time.h. |
189 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
* wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE. |
190 |
generated key to the list instead of reloading the entire cache. |
* wptFileManagerDlg.cpp: Ditto. |
191 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
(space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't |
192 |
|
matter if it does an rmdir for a directory. |
193 |
|
|
194 |
|
Fixed include of resource.h which is not anymore in the top |
195 |
|
directory. |
196 |
|
|
197 |
|
2005-10-28 Werner Koch <[email protected]> |
198 |
|
|
199 |
|
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
200 |
|
unsigned. Never ever use a possible signed char as argument for |
201 |
|
ctype tests. An alternative is to first test using isascii (). |
202 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
203 |
|
|
204 |
|
2005-10-27 Timo Schulz <[email protected]> |
205 |
|
|
206 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
207 |
|
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
208 |
|
see if the key is disabled and not each subkey. |
209 |
|
(seclist_init): Likewise. |
210 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
211 |
|
gpgme_op_decrypt_verify. |
212 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
213 |
|
to keyid conversation. This also fixes a crash. |
214 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
215 |
|
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
216 |
|
already expired if the user wants to change the date. |
217 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
218 |
|
'v3 sig' option with the 'ask cert level' option. Sync |
219 |
|
with global preferences. |
220 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
221 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
222 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
223 |
|
the button when the key is available. |
224 |
|
Reload key directly, not the entire cache. |
225 |
|
|
226 |
|
2005-10-26 Timo Schulz <[email protected]> |
227 |
|
|
228 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
229 |
|
possible overflow. |
230 |
|
(is_openpgp_ext): Compare case insentensive. |
231 |
|
(add_single_file): New. |
232 |
|
(fm_add_opened_files): Support multi file selection. |
233 |
|
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
234 |
|
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
235 |
|
reload flag. Just update the single key. |
236 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
237 |
|
and disable anonymize recipient for now. |
238 |
|
|
239 |
|
Begin to port code to GCC. Fix all warning issued by the gcc |
240 |
|
compiler. |
241 |
|
|
242 |
|
2005-10-25 Timo Schulz <[email protected]> |
243 |
|
|
244 |
|
* wptGPGUtil.cpp (create_process): Hide window. |
245 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
246 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
247 |
|
static var 'enable'. |
248 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
249 |
|
(gpg_genkey_params): Make sure all primary keys are capable |
250 |
|
for signing and certification. |
251 |
|
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
252 |
|
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
253 |
|
NULL. Noted by Ralf. |
254 |
|
(get_gnupg_prog): Simplified. |
255 |
|
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
256 |
|
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
257 |
|
indicate a pending GPG process. |
258 |
|
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
259 |
|
and and of an operation. For now just the cursor changes. |
260 |
|
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
261 |
|
* WinPT.cpp (WinMain): Check if there is already an instance and |
262 |
|
set a variable early as possible. |
263 |
|
(load_gettext): If a previous instance was found, do not output |
264 |
|
any errors. Kudos to Ralf. |
265 |
|
|
266 |
|
2005-10-24 Timo Schulz <[email protected]> |
267 |
|
|
268 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
269 |
|
pre-defined recipients. |
270 |
|
(release_gpg_passphrase_cb): Release recipients. |
271 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
272 |
|
validity if needed. |
273 |
|
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
274 |
|
|
275 |
|
2005-10-23 Timo Schulz <[email protected]> |
276 |
|
|
277 |
|
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
278 |
|
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
279 |
|
(get_ext_validity): New. |
280 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
281 |
|
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
282 |
|
this function. |
283 |
|
(load_clipboard_from_file): Likewise. |
284 |
|
(save_clipboard_to_file): New. |
285 |
|
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
286 |
|
|
287 |
|
2005-10-22 Timo Schulz <[email protected]> |
288 |
|
|
289 |
|
Localized a lot of more strings. |
290 |
|
|
291 |
|
* wptMainProc.cpp (load_smartcard): New. |
292 |
|
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
293 |
|
(fm_check_armor_type): Add new arg. Change all callers. |
294 |
|
(fm_get_file_type): Likewise. |
295 |
|
* wptKeyPropsDlg.cpp (display_key_info): New. |
296 |
|
(keyprops_show_photo): Factored out some code into.. |
297 |
|
(keyprops_load_photo): ..this function. |
298 |
|
|
299 |
|
2005-10-21 Timo Schulz <[email protected]> |
300 |
|
|
301 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
302 |
|
WM_INITPOPUPMENU to localize popup menu texts. |
303 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
304 |
|
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
305 |
|
|
306 |
|
2005-10-20 Timo Schulz <[email protected]> |
307 |
|
|
308 |
|
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
309 |
|
|
310 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
311 |
|
* wptCardEdit.cpp (genKey): Handle cancel case. |
312 |
|
* keycache.c: Renamed into... |
313 |
|
* wptKeyCache.cpp: ...this. |
314 |
|
* wptW32API.cpp (set_menu_text): Removed unused code. |
315 |
|
(set_menu_text_bypos): New. |
316 |
|
* wptCrypto.h: New. |
317 |
|
* wptMainProc.cpp (winpt_main_proc): Complete localize |
318 |
|
menu texts. |
319 |
|
* wptErrors.cpp (log_debug): Use a static var so the file |
320 |
|
is only opened once. |
321 |
|
(debug_end): Cleanup. Currently just close the log file. |
322 |
|
* wptErrors.h (wipememory): New. |
323 |
|
(sfree_if_alloc): Use it here. |
324 |
|
* WinPT.cpp (WinMain): Display the min. GPGME version which |
325 |
|
is needed in case of an error. |
326 |
|
|
327 |
|
2005-10-17 Timo Schulz <[email protected]> |
328 |
|
|
329 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
330 |
|
|
331 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
332 |
|
|
333 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
334 |
|
(list_handler): With user interaction to allow to insert |
335 |
|
the card into the reader. |
336 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
337 |
|
(common_card_handler): Fixed incorrect command string. |
338 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
339 |
|
(keyprops_dlg_proc): Show card information if present. |
340 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
341 |
|
|
342 |
|
|
343 |
|
2005-10-16 Timo Schulz <[email protected]> |
344 |
|
|
345 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
346 |
|
with hanging GPG process on cancel. |
347 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
348 |
|
|
349 |
|
2005-10-15 Timo Schulz <[email protected]> |
350 |
|
|
351 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
352 |
|
(reset): New. |
353 |
|
(getCardStatus): Check return codes and release all objects |
354 |
|
in case of errors. |
355 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
356 |
|
before quit. |
357 |
|
(editcard_handler): Likewise. |
358 |
|
(common_card_handler): New. |
359 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
360 |
|
the old PIN when 'Hide Typing' is disabled. |
361 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
362 |
|
works again. Support to re-enter passphrase. |
363 |
|
|
364 |
|
2005-10-14 Timo Schulz <[email protected]> |
365 |
|
|
366 |
|
* wptCardDlg.cpp (card_status): New fields for the |
367 |
|
fingerprint creation time. Display card info as title. |
368 |
|
(get_printable_version): New. |
369 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
370 |
|
with the counter comparison. |
371 |
|
|
372 |
|
2005-10-11 Timo Schulz <[email protected]> |
373 |
|
|
374 |
|
Port to GPGME basically finished. |
375 |
|
|
376 |
|
2005-09-20 Timo Schulz <[email protected]> |
377 |
|
|
378 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
379 |
|
Do not use gpgme_recipients_t but the listview directly |
380 |
|
to add the selected files. |
381 |
|
|
382 |
|
2005-09-07 Timo Schulz <[email protected]> |
383 |
|
|
384 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
385 |
|
|
386 |
|
2005-09-01 Timo Schulz <[email protected]> |
387 |
|
|
388 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
389 |
|
Change all callers. |
390 |
|
(center_window2): Likewise. |
391 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
392 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
393 |
|
file is enough. Changed all callers. |
394 |
|
|
395 |
|
2005-08-15 Timo Schulz <[email protected]> |
396 |
|
|
397 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
398 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
399 |
|
* Make sure the passphrase is always overwritten before it is |
400 |
|
freed (or the function returns). |
401 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
402 |
|
(keyprops_dlg_proc): Use it here. |
403 |
|
|
404 |
|
2005-08-06 Timo Schulz <[email protected]> |
405 |
|
|
406 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
407 |
|
of the secret key. |
408 |
|
(keycache_init): cache name of secret keyring. |
409 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
410 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
411 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
412 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
413 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
414 |
|
because the combo box automatically handles this. |
415 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
416 |
|
* wptGPG.cpp (get_backup_name): New. |
417 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
418 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
419 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
420 |
|
not the long keyid. |
421 |
|
|
422 |
|
2005-08-05 Timo Schulz <[email protected]> |
423 |
|
|
424 |
|
* wptListView.cpp (listview_set_item2): New. |
425 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
426 |
|
retrieve gpgme_key_t from the list. |
427 |
|
(km_check_key_status): Likewise. |
428 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
429 |
|
a human-readable name for secret key export. |
430 |
|
Reload just the keys which were affected by updates |
431 |
|
(edit-key). |
432 |
|
(update_key): New. |
433 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
434 |
|
version of keylist_add_key. |
435 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
436 |
|
reload the keycache here, just flag 'update'. Give the |
437 |
|
control to the calling dialog. |
438 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
439 |
|
as parameter. Changed all callers. |
440 |
|
Add date of expiration to the key info. |
441 |
|
(get_expire_date): New. |
442 |
|
Use a checkbox to allow to ask for the cert level. |
443 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
444 |
|
the cache. |
445 |
|
|
446 |
|
2005-08-04 Timo Schulz <[email protected]> |
447 |
|
|
448 |
|
* wptListView.cpp (listview_scroll): New. |
449 |
|
(listview_get_item2): New. |
450 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
451 |
|
item was found, make it visible with scrolling. |
452 |
|
* wptKeyManager.cpp (km_find_key): New. |
453 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
454 |
|
Strg+{C, P, F, A}. |
455 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
456 |
|
from the list. |
457 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
458 |
|
the config file (if it exists). |
459 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
460 |
|
to handle the click->activate situation. |
461 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
462 |
|
Support to check the passphrase quality. |
463 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
464 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
465 |
|
options. |
466 |
|
* wptMAPI.cpp: Check all *alloc results. |
467 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
468 |
|
passphrase quality check. |
469 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
470 |
|
format and allow to save the checksum in a file. |
471 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
472 |
|
when the PGP mode is disabled. |
473 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
474 |
|
one user-ID exists. |
475 |
|
(keyedit_dlg_proc): Fixed index problem. |
476 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
477 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
478 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
479 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
480 |
|
param inside the list. |
481 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
482 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
483 |
|
(do_list_packets): Return the number of valid PGP packets |
484 |
|
of the file. |
485 |
|
|
486 |
|
2005-08-02 Timo Schulz <[email protected]> |
487 |
|
|
488 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
489 |
|
using 'Default Keyserver' add the real keyserver name to |
490 |
|
the menu. |
491 |
|
The rebuild command does not reload the cache any longer. |
492 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
493 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
494 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
495 |
|
and add some additional sanity checks. |
496 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
497 |
|
This fixes the problem that the GPG option dialog does not show |
498 |
|
very nice lines. |
499 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
500 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
501 |
|
check for 'NOKEY' before asking a keyserver. |
502 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
503 |
|
If a lot of keys were selected, ask if the user wants to confirm |
504 |
|
each delete procedure or allow to cancel the operation. |
505 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
506 |
|
keys the file contain. |
507 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
508 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
509 |
|
confusing for users. |
510 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
511 |
|
new code. |
512 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
513 |
|
invalid (exp+rev+dis) keys. |
514 |
|
|
515 |
|
2005-08-01 Timo Schulz <[email protected]> |
516 |
|
|
517 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
518 |
|
sizes. |
519 |
|
(check_IP_or_hostname): New. |
520 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
521 |
|
(port_from_proto): New. |
522 |
|
(keyserver_load_conf): Guess the port. |
523 |
|
(keyserver_set_default): Allocate new buffer. |
524 |
|
(kserver_load_conf): Likewise. |
525 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
526 |
|
Use WinPT error code and remove all unused code. |
527 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
528 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
529 |
|
invalid host/IP addresses. |
530 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
531 |
|
Changed all callers. |
532 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
533 |
|
automatically set 'backup to homedir'. |
534 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
535 |
|
to load 'first-start' dialogs. |
536 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
537 |
|
flag after deleting keys. |
538 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
539 |
|
for passing the arguments. |
540 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
541 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
542 |
|
after the first start related to key caching. |
543 |
|
Automatically set the gpg binary if possible. |
544 |
|
|
545 |
|
2005-07-22 Timo Schulz <[email protected]> |
546 |
|
|
547 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
548 |
|
messages and make sure WinPT make a keyring backup in this case. |
549 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
550 |
|
cache each time. Just do it on startup. |
551 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
552 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
553 |
|
was set by the calling function. |
554 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
555 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
556 |
|
and do not reload the entire cache. |
557 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
558 |
|
because in each loop iteration it will be new calculated. |
559 |
|
* wptListView.cpp (listview_del_items): Likewise. |
560 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
561 |
|
generated key to the list instead of reloading the entire cache. |
562 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
563 |
|
|
564 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
565 |
|
|
566 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
603 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
604 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
605 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
606 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
607 |
* wptW32API.cpp (get_folder_dlg): Free memory. |
* wptW32API.cpp (get_folder_dlg): Free memory. |
608 |
|
|
609 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |