Skip to content

Commit 7bbbce8

Browse files
authored
feat!: bump default TLS version to TLS v1.2 (#121)
* feat: bump default TLS version to TLS v1.2 * Update versions_default.go * Update versions_default.go BREAKING CHANGE: the default min TLS version is now 1.2 BREAKING CHANGE: TLS 1.0 is no longer supported
1 parent 318addd commit 7bbbce8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

transport/tlscommon/versions_default.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ const (
3131

3232
var (
3333
// TLSVersionMin is the min TLS version supported.
34-
TLSVersionMin = TLSVersion10
34+
TLSVersionMin = TLSVersion11
3535

3636
// TLSVersionMax is the max TLS version supported.
3737
TLSVersionMax = TLSVersion13
3838

3939
// TLSVersionDefaultMin is the minimal default TLS version that is
4040
// enabled by default. TLSVersionDefaultMin is >= TLSVersionMin
41-
TLSVersionDefaultMin = TLSVersion11
41+
TLSVersionDefaultMin = TLSVersion12
4242

4343
// TLSVersionDefaultMax is the max default TLS version that
4444
// is enabled by default.
@@ -47,7 +47,6 @@ var (
4747

4848
// TLSDefaultVersions list of versions of TLS we should support.
4949
var TLSDefaultVersions = []TLSVersion{
50-
TLSVersion11,
5150
TLSVersion12,
5251
TLSVersion13,
5352
}

0 commit comments

Comments
 (0)