Simon Tatham
d663356634
Work around key algorithm naming change in OpenSSH <= 7.7.
...
When you send a "publickey" USERAUTH_REQUEST containing a certified
RSA key, and you want to use a SHA-2 based RSA algorithm, modern
OpenSSH expects you to send the algorithm string as
rsa-sha2-NNN-cert-v01@openssh.com . But 7.7 and earlier didn't
recognise those names, and expected the algorithm string in the
userauth request packet to be ssh-rsa-cert-v01@... and would then
follow it with an rsa-sha2-NNN signature.
OpenSSH itself has a bug workaround for its own older versions. Follow
suit.
2023-05-05 00:05:28 +01:00
..
2021-04-22 18:09:13 +01:00
2021-06-27 13:52:48 +01:00
2022-08-16 20:33:58 +01:00
2021-06-27 13:52:48 +01:00
2021-04-22 18:09:13 +01:00
2022-08-07 18:44:11 +01:00
2021-04-22 18:09:13 +01:00
2021-04-22 18:09:13 +01:00
2022-08-03 20:48:46 +01:00
2022-05-01 10:16:19 +01:00
2023-05-04 23:54:01 +01:00
2021-11-06 14:48:26 +00:00
2022-08-03 20:48:46 +01:00
2023-05-04 23:54:01 +01:00
2021-12-28 18:08:31 +00:00
2021-11-06 14:48:26 +00:00
2021-04-22 18:09:13 +01:00
2023-05-04 23:54:01 +01:00
2021-12-28 18:08:31 +00:00
2021-04-22 18:09:13 +01:00
2022-01-22 15:51:31 +00:00
2022-09-17 07:55:08 +01:00
2021-04-22 18:09:13 +01:00
2022-09-13 20:53:03 +01:00
2022-04-15 17:46:06 +01:00
2023-05-04 23:54:01 +01:00
2023-05-04 23:54:01 +01:00
2022-08-03 20:48:46 +01:00
2021-04-22 18:09:13 +01:00
2021-04-22 18:09:13 +01:00
2022-09-17 07:55:08 +01:00
2022-08-03 20:48:46 +01:00
2022-08-03 20:48:46 +01:00
2023-05-04 23:54:01 +01:00
2021-11-19 11:32:47 +00:00
2022-07-07 18:05:32 +01:00
2022-01-22 15:51:31 +00:00
2023-04-19 14:28:36 +01:00
2022-09-03 12:02:48 +01:00
2022-01-03 06:40:51 +00:00
2021-04-22 18:09:13 +01:00
2021-04-22 18:09:13 +01:00
2022-09-03 12:02:48 +01:00
2021-04-22 18:09:13 +01:00
2023-05-04 23:54:22 +01:00
2021-04-22 18:09:13 +01:00
2023-05-04 23:54:01 +01:00
2022-09-10 10:15:27 +01:00
2021-04-22 18:09:13 +01:00
2023-05-05 00:05:28 +01:00
2023-05-04 23:54:01 +01:00
2023-05-05 00:05:28 +01:00
2023-04-19 14:28:36 +01:00
2022-09-03 12:02:48 +01:00