-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPS/DNS-over-HTTPS/DNS-over-TLS #590
Conversation
…ar them out from config
…decodes the certificate
…used by /tls/configure
… the warning over json.
…guration removes ports and certificates
} | ||
} | ||
|
||
func validateCertificates(data tlsConfig) tlsConfig { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cyclomatic complexity 22 of func validateCertificates
is high (> 20) (from gocyclo
)
KeyType string `yaml:"-" json:"key_type,omitempty"` // KeyType is one of RSA or ECDSA | ||
|
||
// is usable? set by validator | ||
usable bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usable
is unused (from structcheck
)
Codecov Report
@@ Coverage Diff @@
## master #590 +/- ##
===========================================
- Coverage 61.84% 29.11% -32.74%
===========================================
Files 9 20 +11
Lines 1418 3215 +1797
===========================================
+ Hits 877 936 +59
- Misses 438 2170 +1732
- Partials 103 109 +6
Continue to review full report at Codecov.
|
Print all net interfaces when bind_host is 0.0.0.0
No description provided.