Skip to content

Commit

Permalink
lint against rsa.GenerateKey (#47775)
Browse files Browse the repository at this point in the history
* lint against rsa.GenerateKey

* update e ref
  • Loading branch information
nklaassen authored Oct 21, 2024
1 parent 69a1e7a commit a95fd44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 60 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ linters:
- testifylint
- unconvert
- unused
- forbidigo

linters-settings:
depguard:
Expand Down Expand Up @@ -228,6 +229,10 @@ linters-settings:
- len
- suite-extra-assert-call
- suite-thelper
forbidigo:
forbid:
- p: '^rsa\.GenerateKey$'
msg: 'generating RSA keys is slow, use lib/cryptosuites to generate an appropriate key type'

output:
uniq-by-line: false
Expand Down
2 changes: 1 addition & 1 deletion e
Submodule e updated from d3347a to e4f948
59 changes: 0 additions & 59 deletions lib/auth/native/native.go

This file was deleted.

0 comments on commit a95fd44

Please sign in to comment.