x/crypto/ssh: diffie-hellman-group16/18-sha512 #61381
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?I added support for diffie-hellman-group16/18-sha512 in CL 506839.
The CL includes a benchmark, here are the results
and here is the profiler output for diffie-hellman-group18-sha512
So these kexes are really slow in Go and could easily cause a DoS.
Considering there are a number of more modern kexes based on elliptic curves, which are faster to process and as secure and that supporting
diffie-hellman-group14-sha256
should be enough for interoperability, I think 506839 should not be merged, at least for now. The CL is still useful because we can run the benchmark with newer Go versions and see if the performance improves in the future.profile.zip
cc @golang/security
The text was updated successfully, but these errors were encountered: