Skip to content

Commit

Permalink
Remove support for TLS1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Dec 23, 2024
1 parent 6aa64be commit 7640451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Breaking changes

* Remove support for TLS1.0. [#1259](https://github.com/elastic/package-registry/pull/1259)

### Bugfixes

### Added
Expand Down
3 changes: 0 additions & 3 deletions flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
)

var supportedTLSVersions map[string]uint16 = map[string]uint16{
"1.0": tls.VersionTLS10,
"1.1": tls.VersionTLS11,
"1.2": tls.VersionTLS12,
"1.3": tls.VersionTLS13,
Expand All @@ -24,8 +23,6 @@ type tlsVersionValue uint16

func (t tlsVersionValue) String() string {
switch t {
case tls.VersionTLS10:
return "1.0"
case tls.VersionTLS11:
return "1.1"
case tls.VersionTLS12:
Expand Down

0 comments on commit 7640451

Please sign in to comment.