From c6ff83bf2d4fce6d1af3698341d14ae49c4f1829 Mon Sep 17 00:00:00 2001 From: Mitali Paygude Date: Wed, 27 Sep 2023 14:00:30 -0700 Subject: [PATCH] Fix minimum bits code scanner error (#6740) --- internal/pkg/oidc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/oidc/server.go b/internal/pkg/oidc/server.go index 6c5194b7e314..04726f9c65c3 100644 --- a/internal/pkg/oidc/server.go +++ b/internal/pkg/oidc/server.go @@ -29,7 +29,7 @@ type discoveryResponse struct { } func GenerateMinimalProvider(issuerURL string) (*MinimalProvider, error) { - privateKey, err := rsa.GenerateKey(rand.Reader, 1024) + privateKey, err := rsa.GenerateKey(rand.Reader, 2048) if err != nil { return nil, fmt.Errorf("generating rsa key for OIDC: %v", err) }