From bf937f362b9eb75d0865c96b6dcacde142958376 Mon Sep 17 00:00:00 2001 From: bobby <1544881+desimone@users.noreply.github.com> Date: Fri, 18 Sep 2020 08:18:21 -0700 Subject: [PATCH] controplane: remove p-521 EC (#1420) * controplane: remove p-521 EC Signed-off-by: Bobby DeSimone --- internal/controlplane/xds_cluster_test.go | 12 ++++++------ internal/controlplane/xds_clusters.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/controlplane/xds_cluster_test.go b/internal/controlplane/xds_cluster_test.go index 0cd5e83b4..972db6c45 100644 --- a/internal/controlplane/xds_cluster_test.go +++ b/internal/controlplane/xds_cluster_test.go @@ -34,7 +34,7 @@ func Test_buildPolicyTransportSocket(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "validationContext": { @@ -66,7 +66,7 @@ func Test_buildPolicyTransportSocket(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "validationContext": { @@ -99,7 +99,7 @@ func Test_buildPolicyTransportSocket(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "validationContext": { @@ -133,7 +133,7 @@ func Test_buildPolicyTransportSocket(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "validationContext": { @@ -167,7 +167,7 @@ func Test_buildPolicyTransportSocket(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "tlsCertificates": [{ @@ -253,7 +253,7 @@ func Test_buildCluster(t *testing.T) { "X25519", "P-256", "P-384", - "P-512" + "P-521" ] }, "validationContext": { diff --git a/internal/controlplane/xds_clusters.go b/internal/controlplane/xds_clusters.go index 96609535d..855ca322e 100644 --- a/internal/controlplane/xds_clusters.go +++ b/internal/controlplane/xds_clusters.go @@ -123,7 +123,7 @@ func buildPolicyTransportSocket(policy *config.Policy) *envoy_config_core_v3.Tra "X25519", "P-256", "P-384", - "P-512", + "P-521", }, }, AlpnProtocols: []string{"http/1.1"},