Skip to content

Commit

Permalink
Prevent github.com/cloudflare/cfssl from being imported (#50089)
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 11, 2024
1 parent c68e919 commit aeaa1a2
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 @@ -113,6 +113,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 and e. 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 aeaa1a2

Please sign in to comment.