1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

winpgnt: add context help for 'Add Key (encrypted)' button.

I wrote a docs section, but forgot to link it to the context help.
This commit is contained in:
Simon Tatham 2021-04-04 09:34:50 +01:00
parent 0f61291f80
commit 9e3d78bddb
3 changed files with 4 additions and 1 deletions

View File

@ -231,7 +231,7 @@ you can send it all the way back to Pageant using the local
and then it's available to every machine that has agent forwarding
available (not just the ones downstream of the place you added it).
\H{pageant-mainwin-addkey} Loading keys without decrypting them
\H{pageant-deferred-decryption} Loading keys without decrypting them
You can also add keys to Pageant \e{without} decrypting them. The key
file will be held in Pageant's memory still encrypted, and when a

View File

@ -172,6 +172,7 @@
#define WINHELP_CTX_pageant_keylist "pageant-mainwin-keylist"
#define WINHELP_CTX_pageant_addkey "pageant-mainwin-addkey"
#define WINHELP_CTX_pageant_remkey "pageant-mainwin-remkey"
#define WINHELP_CTX_pageant_deferred "pageant-deferred-decryption"
#define WINHELP_CTX_pgpfingerprints "pgpkeys"
#define WINHELP_CTX_puttygen_general "pubkey-puttygen"
#define WINHELP_CTX_puttygen_keytype "puttygen-keytype"

View File

@ -659,6 +659,8 @@ static INT_PTR CALLBACK KeyListProc(HWND hwnd, UINT msg,
case IDC_KEYLIST_LISTBOX: topic = WINHELP_CTX_pageant_keylist; break;
case IDC_KEYLIST_ADDKEY: topic = WINHELP_CTX_pageant_addkey; break;
case IDC_KEYLIST_REMOVE: topic = WINHELP_CTX_pageant_remkey; break;
case IDC_KEYLIST_ADDKEY_ENC:
topic = WINHELP_CTX_pageant_deferred; break;
}
if (topic) {
launch_help(hwnd, topic);