Skip to content

Commit

Permalink
Bump max TLS to 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
a-b authored and dominicrobertsc committed Sep 10, 2021
1 parent 5ffa262 commit 95bac9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
code.cloudfoundry.org/gofileutils v0.0.0-20170111115228-4d0c80011a0f
code.cloudfoundry.org/jsonry v1.1.3
code.cloudfoundry.org/lager v1.1.1-0.20191008172124-a9afc05ee5be
code.cloudfoundry.org/tlsconfig v0.0.0-20200131000646-bbe0f8da39b3
code.cloudfoundry.org/tlsconfig v0.0.0-20210615191307-5d92ef3894a7
code.cloudfoundry.org/ykk v0.0.0-20170424192843-e4df4ce2fd4d
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/SermoDigital/jose v0.9.2-0.20161205224733-f6df55f235c2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ code.cloudfoundry.org/rfc5424 v0.0.0-20180905210152-236a6d29298a h1:8rqv2w8xEceN
code.cloudfoundry.org/rfc5424 v0.0.0-20180905210152-236a6d29298a/go.mod h1:tkZo8GtzBjySJ7USvxm4E36lNQw1D3xM6oKHGqdaAJ4=
code.cloudfoundry.org/tlsconfig v0.0.0-20200131000646-bbe0f8da39b3 h1:2Qal+q+tw/DmDOoJBWwDCPE3lIJNj/1o7oMkkb2c5SI=
code.cloudfoundry.org/tlsconfig v0.0.0-20200131000646-bbe0f8da39b3/go.mod h1:eTbFJpyXRGuFVyg5+oaj9B2eIbIc+0/kZjH8ftbtdew=
code.cloudfoundry.org/tlsconfig v0.0.0-20210615191307-5d92ef3894a7 h1:5N6M1WbWH3bknkX80Q/s7eEo5odqjixLAW79Zrrbqu0=
code.cloudfoundry.org/tlsconfig v0.0.0-20210615191307-5d92ef3894a7/go.mod h1:CKI5CV+3MlfcohVSuU3FxXubFyC52lYJGMLnZ2ltvks=
code.cloudfoundry.org/ykk v0.0.0-20170424192843-e4df4ce2fd4d h1:M+zXqtXJqcsmpL76aU0tdl1ho23eYa4axYoM4gD62UA=
code.cloudfoundry.org/ykk v0.0.0-20170424192843-e4df4ce2fd4d/go.mod h1:YUJiVOr5xl0N/RjMxM1tHmgSpBbi5UM+KoVR5AoejO0=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
Expand Down
4 changes: 2 additions & 2 deletions util/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var _ = Describe("TLS", func() {
Expect(tlsConfig.MinVersion).To(BeEquivalentTo(tls.VersionTLS12))
})

It("sets maximum version of TLS to 1.2", func() {
Expect(tlsConfig.MaxVersion).To(BeEquivalentTo(tls.VersionTLS12))
It("sets maximum version of TLS to 1.3", func() {
Expect(tlsConfig.MaxVersion).To(BeEquivalentTo(tls.VersionTLS13))
})

It("does not have any trusted CAs", func() {
Expand Down

0 comments on commit 95bac9e

Please sign in to comment.