diff options
| author | Santhanam <santhanambr2002@gmail.com> | 2025-11-09 18:35:21 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-12 10:42:48 -0800 |
| commit | b4f2b62076abeee4e43fb59544dac565715fbf1e (patch) | |
| tree | 41f4314a090df2d17bb0f32bd9315fc1c0626386 /acme/http.go | |
| parent | 79ec3a51fcc7fbd2691d56155d578225ccc542e2 (diff) | |
| download | go-x-crypto-b4f2b62076abeee4e43fb59544dac565715fbf1e.tar.xz | |
ssh: fix error message on unsupported cipher
Until now, when ssh keys using one of these[1] ciphers were passed, we were
giving a parse error "ssh: parse error in message type 0".
With this fix, we parse it successfully and return the correct error message.
[1] aes{128,256}-gcm@openssh.com and chacha20-poly1305@openssh.com
Fixes golang/go#52135
Change-Id: I3010fff43c48f29f21edb8d63f44e167861a054e
GitHub-Last-Rev: 14ac7e97306d41cba48053b9c60f2ffc7caded45
GitHub-Pull-Request: golang/crypto#324
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/709275
Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Auto-Submit: Nicola Murino <nicola.murino@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'acme/http.go')
0 files changed, 0 insertions, 0 deletions
