mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Tweak another certified-host-key-prompt.
Like5f3b743eb0
, specifically reassure the user that taking the add-to-cache action will not cause the CA that signed the key to be trusted in any wider context, in the case where there was no previous certified key cached. (I don't know why I missed this out before.) (cherry picked from commit9209c7ea38
)
This commit is contained in:
parent
b760a2a040
commit
4eb089f601
@ -1023,6 +1023,12 @@ SeatPromptResult verify_ssh_host_key(
|
||||
text, SDT_PARA, "If you trust this host, %s to add the key to "
|
||||
"%s's cache and carry on connecting.",
|
||||
pds->hk_accept_action, appname);
|
||||
if (key && ssh_key_alg(key)->is_certificate) {
|
||||
seat_dialog_text_append(
|
||||
text, SDT_PARA, "(Storing this certified key in the cache "
|
||||
"will NOT cause its certification authority to be trusted "
|
||||
"for any other key or host.)");
|
||||
}
|
||||
seat_dialog_text_append(
|
||||
text, SDT_PARA, "If you want to carry on connecting just once, "
|
||||
"without adding the key to the cache, %s.",
|
||||
|
Loading…
Reference in New Issue
Block a user