Skip to content

Commit

Permalink
golangci: disable gosec linter in martian dir
Browse files Browse the repository at this point in the history
Some of the issues need some discussion before the fix:

internal/martian/proxy.go: G402: TLS MinVersion too low. (gosec)
       return &tls.Config{}

internal/martian/mitm/mitm.go: G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
        "crypto/sha1"

internal/martian/mitm/mitm.go: G401: Use of weak cryptographic primitive (gosec)
        h := sha1.New()
  • Loading branch information
Choraden committed Aug 16, 2023
1 parent c869381 commit ed51261
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ issues:
- goheader
- gochecknoglobals
- errcheck
- gosec

- linters:
- thelper
Expand Down

0 comments on commit ed51261

Please sign in to comment.