1 |
|
2005-10-17 Timo Schulz <[email protected]> |
2 |
|
|
3 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
4 |
|
|
5 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
6 |
|
|
7 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
8 |
|
(list_handler): With user interaction to allow to insert |
9 |
|
the card into the reader. |
10 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
11 |
|
(common_card_handler): Fixed incorrect command string. |
12 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
13 |
|
(keyprops_dlg_proc): Show card information if present. |
14 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
15 |
|
|
16 |
|
2005-10-16 Timo Schulz <[email protected]> |
17 |
|
|
18 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
19 |
|
with hanging GPG process on cancel. |
20 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
21 |
|
|
22 |
|
2005-10-15 Timo Schulz <[email protected]> |
23 |
|
|
24 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
25 |
|
(reset): New. |
26 |
|
(getCardStatus): Check return codes and release all objects |
27 |
|
in case of errors. |
28 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
29 |
|
before quit. |
30 |
|
(editcard_handler): Likewise. |
31 |
|
(common_card_handler): New. |
32 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
33 |
|
the old PIN when 'Hide Typing' is disabled. |
34 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
35 |
|
works again. Support to re-enter passphrase. |
36 |
|
|
37 |
|
2005-10-14 Timo Schulz <[email protected]> |
38 |
|
|
39 |
|
* wptCardDlg.cpp (card_status): New fields for the |
40 |
|
fingerprint creation time. Display card info as title. |
41 |
|
(get_printable_version): New. |
42 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
43 |
|
with the counter comparison. |
44 |
|
|
45 |
|
2005-10-11 Timo Schulz <[email protected]> |
46 |
|
|
47 |
|
Port to GPGME basically finished. |
48 |
|
|
49 |
|
2005-09-20 Timo Schulz <[email protected]> |
50 |
|
|
51 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
52 |
|
Do not use gpgme_recipients_t but the listview directly |
53 |
|
to add the selected files. |
54 |
|
|
55 |
|
2005-09-07 Timo Schulz <[email protected]> |
56 |
|
|
57 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
58 |
|
|
59 |
|
2005-09-01 Timo Schulz <[email protected]> |
60 |
|
|
61 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
62 |
|
Change all callers. |
63 |
|
(center_window2): Likewise. |
64 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
65 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
66 |
|
file is enough. Changed all callers. |
67 |
|
|
68 |
|
2005-08-15 Timo Schulz <[email protected]> |
69 |
|
|
70 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
71 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
72 |
|
* Make sure the passphrase is always overwritten before it is |
73 |
|
freed (or the function returns). |
74 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
75 |
|
(keyprops_dlg_proc): Use it here. |
76 |
|
|
77 |
|
2005-08-06 Timo Schulz <[email protected]> |
78 |
|
|
79 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
80 |
|
of the secret key. |
81 |
|
(keycache_init): cache name of secret keyring. |
82 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
83 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
84 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
85 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
86 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
87 |
|
because the combo box automatically handles this. |
88 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
89 |
|
* wptGPG.cpp (get_backup_name): New. |
90 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
91 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
92 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
93 |
|
not the long keyid. |
94 |
|
|
95 |
|
2005-08-05 Timo Schulz <[email protected]> |
96 |
|
|
97 |
|
* wptListView.cpp (listview_set_item2): New. |
98 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
99 |
|
retrieve gpgme_key_t from the list. |
100 |
|
(km_check_key_status): Likewise. |
101 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
102 |
|
a human-readable name for secret key export. |
103 |
|
Reload just the keys which were affected by updates |
104 |
|
(edit-key). |
105 |
|
(update_key): New. |
106 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
107 |
|
version of keylist_add_key. |
108 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
109 |
|
reload the keycache here, just flag 'update'. Give the |
110 |
|
control to the calling dialog. |
111 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
112 |
|
as parameter. Changed all callers. |
113 |
|
Add date of expiration to the key info. |
114 |
|
(get_expire_date): New. |
115 |
|
Use a checkbox to allow to ask for the cert level. |
116 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
117 |
|
the cache. |
118 |
|
|
119 |
|
2005-08-04 Timo Schulz <[email protected]> |
120 |
|
|
121 |
|
* wptListView.cpp (listview_scroll): New. |
122 |
|
(listview_get_item2): New. |
123 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
124 |
|
item was found, make it visible with scrolling. |
125 |
|
* wptKeyManager.cpp (km_find_key): New. |
126 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
127 |
|
Strg+{C, P, F, A}. |
128 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
129 |
|
from the list. |
130 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
131 |
|
the config file (if it exists). |
132 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
133 |
|
to handle the click->activate situation. |
134 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
135 |
|
Support to check the passphrase quality. |
136 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
137 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
138 |
|
options. |
139 |
|
* wptMAPI.cpp: Check all *alloc results. |
140 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
141 |
|
passphrase quality check. |
142 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
143 |
|
format and allow to save the checksum in a file. |
144 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
145 |
|
when the PGP mode is disabled. |
146 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
147 |
|
one user-ID exists. |
148 |
|
(keyedit_dlg_proc): Fixed index problem. |
149 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
150 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
151 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
152 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
153 |
|
param inside the list. |
154 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
155 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
156 |
|
(do_list_packets): Return the number of valid PGP packets |
157 |
|
of the file. |
158 |
|
|
159 |
|
2005-08-02 Timo Schulz <[email protected]> |
160 |
|
|
161 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
162 |
|
using 'Default Keyserver' add the real keyserver name to |
163 |
|
the menu. |
164 |
|
The rebuild command does not reload the cache any longer. |
165 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
166 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
167 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
168 |
|
and add some additional sanity checks. |
169 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
170 |
|
This fixes the problem that the GPG option dialog does not show |
171 |
|
very nice lines. |
172 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
173 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
174 |
|
check for 'NOKEY' before asking a keyserver. |
175 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
176 |
|
If a lot of keys were selected, ask if the user wants to confirm |
177 |
|
each delete procedure or allow to cancel the operation. |
178 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
179 |
|
keys the file contain. |
180 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
181 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
182 |
|
confusing for users. |
183 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
184 |
|
new code. |
185 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
186 |
|
invalid (exp+rev+dis) keys. |
187 |
|
|
188 |
|
2005-08-01 Timo Schulz <[email protected]> |
189 |
|
|
190 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
191 |
|
sizes. |
192 |
|
(check_IP_or_hostname): New. |
193 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
194 |
|
(port_from_proto): New. |
195 |
|
(keyserver_load_conf): Guess the port. |
196 |
|
(keyserver_set_default): Allocate new buffer. |
197 |
|
(kserver_load_conf): Likewise. |
198 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
199 |
|
Use WinPT error code and remove all unused code. |
200 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
201 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
202 |
|
invalid host/IP addresses. |
203 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
204 |
|
Changed all callers. |
205 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
206 |
|
automatically set 'backup to homedir'. |
207 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
208 |
|
to load 'first-start' dialogs. |
209 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
210 |
|
flag after deleting keys. |
211 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
212 |
|
for passing the arguments. |
213 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
214 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
215 |
|
after the first start related to key caching. |
216 |
|
Automatically set the gpg binary if possible. |
217 |
|
|
218 |
2005-07-22 Timo Schulz <[email protected]> |
2005-07-22 Timo Schulz <[email protected]> |
219 |
|
|
220 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
276 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
277 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
278 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
279 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
280 |
|
* wptW32API.cpp (get_folder_dlg): Free memory. |
281 |
|
|
282 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |
283 |
|
|