-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto/x509: support certificates with X25519 public keys #70642
base: master
Are you sure you want to change the base?
Conversation
Even though X25519 can't be used for signing, it may be desirable to use a CA structure to sign X25519 keys that are used for ECDH purposes. This change adds the ability to properly extract X25519 public keys from certificates that contain such keys. It also makes it possible to create such certificates through CreateCertificate().
This PR (HEAD: e65cf75) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/632875. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Message from Mateusz Poliwczak: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Message from Ed Schouten: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Message from Filippo Valsorda: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Message from Roland Shoemaker: Patch Set 2: Hold+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Message from Ed Schouten: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/632875. |
Even though X25519 can't be used for signing, it may be desirable to use
a CA structure to sign X25519 keys that are used for ECDH purposes. This
change adds the ability to properly extract X25519 public keys from
certificates that contain such keys. It also makes it possible to create
such certificates through CreateCertificate().