mirror of
https://github.com/rclone/rclone.git
synced 2025-01-03 04:49:47 +01:00
vendor patch: allow 2048 bit DSA keys DO NOT MERGE
This commit is contained in:
parent
e4f1e19127
commit
c4700f4bf1
2
vendor/golang.org/x/crypto/ssh/keys.go
generated
vendored
2
vendor/golang.org/x/crypto/ssh/keys.go
generated
vendored
@ -412,7 +412,7 @@ func checkDSAParams(param *dsa.Parameters) error {
|
||||
// SSH specifies FIPS 186-2, which only provided a single size
|
||||
// (1024 bits) DSA key. FIPS 186-3 allows for larger key
|
||||
// sizes, which would confuse SSH.
|
||||
if l := param.P.BitLen(); l != 1024 {
|
||||
if l := param.P.BitLen(); l != 1024 && l != 2048 {
|
||||
return fmt.Errorf("ssh: unsupported DSA key size %d", l)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user