superfly / flyctl

Potentially bad TLS connection settings GSC-G402
Security
Major
2 months ago2 years old
TLS MinVersion too low.
471			"Authorization": "Basic " + basicAuth(appName, config.Tokens(ctx).Docker()),
472		}),
473		dockerclient.WithDialContext(func(ctx context.Context, network, addr string) (net.Conn, error) {
474			return tls.Dial("tcp", parsedHostUrl.Host+":443", &tls.Config{})475		}),
476	}
477
TLS MinVersion too low.
233		client := &http.Client{
234			Transport: &http.Transport{
235				DialContext: func(ctx context.Context, network, addr string) (net.Conn, error) {
236					return tls.Dial("tcp", fmt.Sprintf("%s.fly.dev:443", app.Name), &tls.Config{})237				},
238			},
239		}