Skip to content

Commit

Permalink
feat!: bump default TLS version to TLS v1.2 (#121)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kruskall authored Jan 1, 2025
1 parent 318addd commit 7bbbce8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions transport/tlscommon/versions_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const (

var (
// TLSVersionMin is the min TLS version supported.
TLSVersionMin = TLSVersion10
TLSVersionMin = TLSVersion11

// TLSVersionMax is the max TLS version supported.
TLSVersionMax = TLSVersion13

// TLSVersionDefaultMin is the minimal default TLS version that is
// enabled by default. TLSVersionDefaultMin is >= TLSVersionMin
TLSVersionDefaultMin = TLSVersion11
TLSVersionDefaultMin = TLSVersion12

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

// TLSDefaultVersions list of versions of TLS we should support.
var TLSDefaultVersions = []TLSVersion{
TLSVersion11,
TLSVersion12,
TLSVersion13,
}
Expand Down

0 comments on commit 7bbbce8

Please sign in to comment.