Skip to content

Commit

Permalink
Prevent github.com/cloudflare/cfssl from being imported (#50089) (#50119
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 10f7868 commit cce96e2
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 @@ -76,6 +76,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 importing internal packages in client tools or packages containing
# common interfaces consumed by them that are known to bloat binaries or break builds
# because they only support a single platform.
Expand Down

0 comments on commit cce96e2

Please sign in to comment.