Chore: Bump golangci-lint v1.57.1 (#84998)

* bump golangci-lint v1.57.1

* update setting

* remove goconst

* fix linting issues

* prettier

* fix G601

* go mod tidy
go work sync
This commit is contained in:
ismail simsek
2024-03-25 15:28:24 +01:00
committed by GitHub
parent e6fa367d02
commit 6137c4e0a6
16 changed files with 186 additions and 20 deletions
+2 -1
View File
@@ -6,13 +6,14 @@ import (
"encoding/pem"
"fmt"
jose "github.com/go-jose/go-jose/v3"
"github.com/go-jose/go-jose/v3"
)
var rsaKeys [3]*rsa.PrivateKey
var jwKeys [3]jose.JSONWebKey
var jwksPublic jose.JSONWebKeySet
// #nosec G101
const rsaKeysPEM = `
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA0vKKKQzRHxtnvgvScOvZW2lIBiZ0YBN8ZwAfQdpEQy2w7qAT