mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
winpgnt: menu options to delete/reencrypt everything.
Now the systray menu includes 'Remove All Keys' and 'Re-encrypt All Keys' options, which do exactly what they say on the tin.
This commit is contained in:
13
pageant.c
13
pageant.c
@ -1408,6 +1408,19 @@ bool pageant_reencrypt_nth_ssh2_key(int i)
|
||||
return reencrypt_key(pk);
|
||||
}
|
||||
|
||||
void pageant_delete_all(void)
|
||||
{
|
||||
remove_all_keys(1);
|
||||
remove_all_keys(2);
|
||||
}
|
||||
|
||||
void pageant_reencrypt_all(void)
|
||||
{
|
||||
PageantKey *pk;
|
||||
for (int i = 0; (pk = index234(keytree, i)) != NULL; i++)
|
||||
reencrypt_key(pk);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* The agent plug.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user