0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 21:54:48 +01:00
gitea/modules
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
..
activitypub
analyze
auth
avatar
base
cache
charset
context Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
convert
cron Add simple update checker to Gitea (#17212) 2021-10-16 02:14:34 -04:00
csv Prevent NPE in CSV diff rendering when column removed (#17018) 2021-10-20 20:10:03 +01:00
doctor
emoji
eventsource
generate
git Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
gitgraph Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
graceful Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
hcaptcha
highlight
httpcache Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
httplib
indexer Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
json
lfs Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
log
markup Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
matchlist
metrics
migrations
nosql
notification
options
password
pprof
private
process
proxy
public
queue Make the Mirror Queue a queue (#17326) 2021-10-17 12:43:25 +01:00
recaptcha
references
repofiles
repository
secret
session Move session to models/login (#17338) 2021-10-17 19:51:56 +01:00
setting Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
ssh Offer rsa-sha2-512 and rsa-sha2-256 algorithms in internal SSH (#17281) 2021-10-20 15:55:33 -04:00
storage
structs
svg
sync
task
templates Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
test
timeutil Allow mocking timeutil (#17354) 2021-10-18 21:12:26 +01:00
translation
typesniffer
upload
uri
user
util
validation
web