Closed mendsley closed 7 years ago
It looks like the error is coming from LetsEncrypt, and not Go's client library. Correct me if I'm wrong. Can other users use P512 with LetsEncrypt?
Note that only Go's P256 implementation is both fast (in assembly on amd64 and s390x currently) and constant-time, and LetsEncrypt is largely written in Go, which might be why they don't accept other curves.
Oh, now I see your CL.
CL https://golang.org/cl/34555 mentions this issue.
What version of Go are you using (
go version
)?go version go1.7 linux/amd64
What did you do?
Use a elliptic.P521() key for the acme client signer
example: https://gist.github.com/mendsley/840ce420b1769b05b4e2a22b12538e8e
What did you expect to see?
No output - Acme client correctly signed request using EC512 key
What did you see instead?
output "Should support ES512 signatures"