diff --git a/api/api.go b/api/api.go index 699092a7..2ae6e6e8 100644 --- a/api/api.go +++ b/api/api.go @@ -3,7 +3,7 @@ package api import ( "context" "crypto" - "crypto/dsa" + "crypto/dsa" //nolint "crypto/ecdsa" "crypto/rsa" "crypto/x509" diff --git a/api/api_test.go b/api/api_test.go index 190e5a2a..944927ff 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -4,7 +4,7 @@ import ( "bytes" "context" "crypto" - "crypto/dsa" + "crypto/dsa" //nolint "crypto/ecdsa" "crypto/elliptic" "crypto/rand" diff --git a/kms/softkms/softkms_test.go b/kms/softkms/softkms_test.go index 11c0cdd1..607a5a51 100644 --- a/kms/softkms/softkms_test.go +++ b/kms/softkms/softkms_test.go @@ -83,7 +83,7 @@ func TestSoftKMS_CreateSigner(t *testing.T) { t.Fatal(err) } block, _ := pem.Decode(b) - block.Bytes, err = x509.DecryptPEMBlock(block, []byte("pass")) + block.Bytes, err = x509.DecryptPEMBlock(block, []byte("pass")) //nolint if err != nil { t.Fatal(err) } diff --git a/kms/sshagentkms/sshagentkms_test.go b/kms/sshagentkms/sshagentkms_test.go index 4c572530..30edd5d1 100644 --- a/kms/sshagentkms/sshagentkms_test.go +++ b/kms/sshagentkms/sshagentkms_test.go @@ -295,7 +295,7 @@ func TestSSHAgentKMS_CreateSigner(t *testing.T) { t.Fatal(err) } block, _ := pem.Decode(b) - block.Bytes, err = x509.DecryptPEMBlock(block, []byte("pass")) + block.Bytes, err = x509.DecryptPEMBlock(block, []byte("pass")) //nolint if err != nil { t.Fatal(err) }