Skip to content

Commit

Permalink
remove nolint, change to 2048bit rsaKey
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag committed Dec 18, 2022
1 parent 2303f43 commit 5550dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/oidc/oidc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ func testNewKey(tb testing.TB) (jwk.Key, jwk.Key) {
func testDuplicateKey(tb testing.TB) (jwk.Key, jwk.Key, jwk.Key) {
tb.Helper()

rsaKey, err := rsa.GenerateKey(rand.Reader, 1024) //nolint:gosec // using 1024bit in the test
rsaKey, err := rsa.GenerateKey(rand.Reader, 2048)
require.NoError(tb, err)

key, err := jwk.New(rsaKey)
Expand Down

0 comments on commit 5550dff

Please sign in to comment.