Skip to content

Commit

Permalink
Prevent github.com/cloudflare/cfssl from being imported (#50089) (#50118
Browse files Browse the repository at this point in the history
)

Updates the depguard rules to deny the dependency in favor of using
crypto or x/crypto and their subpackages instead.
  • Loading branch information
rosstimothy authored Dec 12, 2024
1 parent 81eca5c commit f61cb56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ linters-settings:
desc: 'use "golang.org/x/mod/semver" or "coreos/go-semver/semver" instead'
- pkg: github.com/microsoftgraph/msgraph-sdk-go
desc: 'use "github.com/gravitational/teleport/lib/msgraph" instead'
- pkg: github.com/cloudflare/cfssl
desc: 'use "crypto" or "x/crypto" instead'
# Prevent logrus from being imported by api. Once everything in teleport has been converted
# to use log/slog this should be moved into the main block above.
logrus:
Expand Down

0 comments on commit f61cb56

Please sign in to comment.