Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Conversation

@gdbelvin
Copy link
Contributor

@gdbelvin gdbelvin requested review from pav-kv and phad and removed request for pav-kv July 25, 2018 09:21
Vlog.Printf("Warning: Skipping verification of KT Server's TLS certificate.")
return credentials.NewTLS(&tls.Config{
InsecureSkipVerify: true, // nolint: gas
InsecureSkipVerify: true, // nolint: gosec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

if insecure {
return credentials.NewTLS(&tls.Config{
InsecureSkipVerify: true, // nolint: gas
InsecureSkipVerify: true, // nolint: gosec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

@codecov
Copy link

codecov bot commented Jul 25, 2018

Codecov Report

Merging #1024 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1024   +/-   ##
=======================================
  Coverage   65.12%   65.12%           
=======================================
  Files          39       39           
  Lines        2707     2707           
=======================================
  Hits         1763     1763           
  Misses        630      630           
  Partials      314      314

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67bbdf6...05fea47. Read the comment docs.

case insecure: // Impatient insecure.
return credentials.NewTLS(&tls.Config{
InsecureSkipVerify: true, // nolint: gas
InsecureSkipVerify: true, // nolint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why doesn't this line mention the gosec linter? the others in this PR do.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, the linter stopped recognizing the nolint with the linter. Why I'm not sure.

Copy link
Contributor

@phad phad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure this is fine, but one qq for you .

@gdbelvin gdbelvin merged commit 8522e4b into google:master Jul 25, 2018
@gdbelvin gdbelvin deleted the fix/metalinter branch July 25, 2018 10:40
gdbelvin added a commit to gdbelvin/keytransparency that referenced this pull request Jul 25, 2018
* master:
  Implement garbage collection for domains (google#1021)
  Remove TRILLIAN_MYSQL_DRIVER (google#1023)
  Rename gometalinter gas to gosec (google#1024)
  Remove service-key (google#1022)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants