Skip to content

Commit

Permalink
Fix minimum bits code scanner error (#6740)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitalipaygude authored Sep 27, 2023
1 parent eeea4e1 commit c6ff83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/oidc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type discoveryResponse struct {
}

func GenerateMinimalProvider(issuerURL string) (*MinimalProvider, error) {

Check warning on line 31 in internal/pkg/oidc/server.go

View workflow job for this annotation

GitHub Actions / lint

exported: exported function GenerateMinimalProvider should have comment or be unexported (revive)
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)
}
Expand Down

0 comments on commit c6ff83b

Please sign in to comment.