Skip to content

Commit

Permalink
nosec directives for intentional use of InsecureSkipVerify
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Nov 27, 2023
1 parent ca37ac4 commit 8a421ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/utls/utls.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func NewTransportFromJA3(ja3 string, InsecureSkipVerify bool, proxy func(*http.R
}

tlsConfig := &t.Config{
InsecureSkipVerify: InsecureSkipVerify,
InsecureSkipVerify: InsecureSkipVerify, // #nosec G402 - intentionally configurable to allow self-signed certificates
}

transport := Transport{
Expand All @@ -154,7 +154,7 @@ func NewTransportFromParrot(parrot string, InsecureSkipVerify bool, proxy func(*
}

tlsConfig := &t.Config{
InsecureSkipVerify: InsecureSkipVerify,
InsecureSkipVerify: InsecureSkipVerify, // #nosec G402 - intentionally configurable to allow self-signed certificates
}

transport := Transport{
Expand Down

0 comments on commit 8a421ca

Please sign in to comment.