From 1873792208ebe3f5ab30d967519c6e7f89d17903 Mon Sep 17 00:00:00 2001 From: cpanato Date: Fri, 5 Jul 2024 14:32:48 +0200 Subject: [PATCH] update test Signed-off-by: cpanato --- pkg/cosign/keys_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cosign/keys_test.go b/pkg/cosign/keys_test.go index 3fe9994433b..f5e2ab465f6 100644 --- a/pkg/cosign/keys_test.go +++ b/pkg/cosign/keys_test.go @@ -407,7 +407,7 @@ func TestImportPrivateKey(t *testing.T) { { fileName: "invalidecp224.key", pemData: invalidecp224, - expected: errors.New("error validating ecdsa key: unsupported ec curve, expected NIST P-256, P-384, or P-521"), + expected: errors.New("error validating ecdsa key: ECDSA curve P-224 not allowed"), }, { fileName: "invalidecunsupported.key",