1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00: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-06-07 07:27:09 +02: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
2020-10-02 23:37:53 -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-05-03 13:24:24 -04:00
2021-10-13 22:50:23 -04:00
2021-10-18 21:12:26 +01:00
2020-04-05 07:20:50 +01:00
2021-10-13 22:50:23 -04:00
2021-10-13 22:50:23 -04:00