From bec3a78167f12823e5e9b25a9622ad7fd5f86a8d Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Wed, 14 Oct 2026 13:51:48 +1000 Subject: [PATCH] test: use 1024-bit signing key in OCI api client tests --- spinifex/cloud/oci/apiclient_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spinifex/cloud/oci/apiclient_test.go b/spinifex/cloud/oci/apiclient_test.go index dc9034f75..44794aedf 100644 --- a/spinifex/cloud/oci/apiclient_test.go +++ b/spinifex/cloud/oci/apiclient_test.go @@ -49,7 +49,7 @@ func testClient(t *testing.T, h http.HandlerFunc) (oci.Client, *[]capture) { })) t.Cleanup(srv.Close) - key, err := rsa.GenerateKey(rand.Reader, 2048) + key, err := rsa.GenerateKey(rand.Reader, 1024) require.NoError(t, err) pemKey := pem.EncodeToMemory(&pem.Block{ Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(key),