From c6f6cbce3f5017da6d8aae0c3e8b1d3a13961b25 Mon Sep 17 00:00:00 2001 From: Mitali Paygude Date: Wed, 27 Sep 2023 12:30:29 -0700 Subject: [PATCH] Fix minimum bits code scanner error --- 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) }