fix(clients): inline Go gosec directive and strip IPv6 brackets in Python authority split
This commit is contained in:
@@ -234,11 +234,9 @@ func tlsConfigForOptions(opts Options) *tls.Config {
|
||||
return nil
|
||||
}
|
||||
return &tls.Config{
|
||||
MinVersion: tls.VersionTLS12,
|
||||
ServerName: opts.ServerNameOverride,
|
||||
//nolint:gosec // internal tool; self-signed cert is the expected gateway default;
|
||||
// opt-in to strict verification via RequireCertificateValidation.
|
||||
InsecureSkipVerify: !opts.RequireCertificateValidation,
|
||||
MinVersion: tls.VersionTLS12,
|
||||
ServerName: opts.ServerNameOverride,
|
||||
InsecureSkipVerify: !opts.RequireCertificateValidation, //nolint:gosec // internal tool; self-signed gateway cert expected; opt-in strict via RequireCertificateValidation
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user