0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-27 14:34:51 +01:00
zeripath 35b918f574
Offer rsa-sha2-512 and rsa-sha2-256 algorithms in internal SSH (#17281)
* Offer rsa-sha2-512 and rsa-sha2-256 algorithms in internal SSH

There is a subtle bug in the SSH library x/crypto/ssh which makes the incorrect
assumption that the public key type is the same as the signature algorithm type.

This means that only ssh-rsa signatures are offered by default.

This PR adds a workaround around this problem.

Fix #17175

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-20 15:55:33 -04:00
..
2021-10-17 20:47:12 +01:00
2021-10-17 20:47:12 +01:00
2021-10-17 20:47:12 +01:00
2021-10-17 20:47:12 +01:00
2021-10-17 20:47:12 +01:00
2021-10-17 20:47:12 +01:00
2021-10-13 22:50:23 -04:00
2021-10-18 21:12:26 +01:00
2021-10-13 22:50:23 -04:00
2021-10-13 22:50:23 -04:00