Skip to content

Commit

Permalink
Update repository.go
Browse files Browse the repository at this point in the history
  • Loading branch information
morri-son authored Feb 19, 2025
1 parent a594ca4 commit a22c5c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/oci/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ func (c *Client) setupCertificates(ctx context.Context) error {
}

func (c *Client) constructTLSRoundTripper() http.RoundTripper {
tlsConfig := &tls.Config{} //nolint:gosec // must provide lower version for quay.io
// nolint:gosec // must provide lower version for quay.io
tlsConfig := &tls.Config{}

Check failure

Code scanning / gosec

TLS MinVersion too low. Error

TLS MinVersion too low.
caCertPool := x509.NewCertPool()
caCertPool.AppendCertsFromPEM(c.ca)

Expand Down

0 comments on commit a22c5c8

Please sign in to comment.