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

Make it clearer that detached SSH cert is optional.

Someone just asked us a question which suggests they might have thought
they need to supply both files in the 'Public-key authentication' box in
the config dialog, to use public-key authentication at all. I can see
why someone might think that, anyway.
This commit is contained in:
Jacob Nevins 2023-07-19 17:15:23 +01:00
parent c406d8efe5
commit 2a6e2dfff4
2 changed files with 5 additions and 1 deletions

View File

@ -2917,7 +2917,8 @@ void setup_config_box(struct controlbox *b, bool midsession,
FILTER_KEY_FILES, false, "Select private key file", FILTER_KEY_FILES, false, "Select private key file",
HELPCTX(ssh_auth_privkey), HELPCTX(ssh_auth_privkey),
conf_filesel_handler, I(CONF_keyfile)); conf_filesel_handler, I(CONF_keyfile));
ctrl_filesel(s, "Certificate to use with the private key:", 'e', ctrl_filesel(s, "Certificate to use with the private key "
"(optional):", 'e',
NULL, false, "Select certificate file", NULL, false, "Select certificate file",
HELPCTX(ssh_auth_cert), HELPCTX(ssh_auth_cert),
conf_filesel_handler, I(CONF_detached_cert)); conf_filesel_handler, I(CONF_detached_cert));

View File

@ -3033,6 +3033,9 @@ PuTTY can't fall back to using this file itself.
\S{config-ssh-cert} \q{\ii{Certificate} to use with the private key} \S{config-ssh-cert} \q{\ii{Certificate} to use with the private key}
(This is optional. If you don't know you need it, you can leave this
blank.)
In some environments, user authentication keys can be signed in turn In some environments, user authentication keys can be signed in turn
by a \q{certifying authority} (\q{CA} for short), and user accounts on by a \q{certifying authority} (\q{CA} for short), and user accounts on
an SSH server can be configured to automatically trust any key that's an SSH server can be configured to automatically trust any key that's