Skip to content

Commit

Permalink
more curves
Browse files Browse the repository at this point in the history
  • Loading branch information
cviecco committed Dec 2, 2024
1 parent b26a8e9 commit d835b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/keymasterd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ func main() {
ClientAuth: tls.VerifyClientCertIfGiven,
GetCertificate: runtimeState.certManager.GetCertificate,
MinVersion: tls.VersionTLS12,
CurvePreferences: []tls.CurveID{tls.CurveP521, tls.CurveP384, tls.CurveP256},
CurvePreferences: []tls.CurveID{tls.CurveP521, tls.CurveP384, tls.CurveP256, tls.X25519},
PreferServerCipherSuites: true,
CipherSuites: []uint16{
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
Expand Down Expand Up @@ -2014,7 +2014,7 @@ func main() {
ClientAuth: tls.VerifyClientCertIfGiven,
GetCertificate: runtimeState.certManager.GetCertificate,
MinVersion: tls.VersionTLS12,
CurvePreferences: []tls.CurveID{tls.CurveP521, tls.CurveP384, tls.CurveP256},
CurvePreferences: []tls.CurveID{tls.CurveP521, tls.CurveP384, tls.CurveP256, tls.X25519},
PreferServerCipherSuites: true,
CipherSuites: []uint16{
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
Expand Down

0 comments on commit d835b87

Please sign in to comment.