Skip to content

Commit

Permalink
PEM-4556: Fix for TLS v1.3 (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayesh-srivastava authored Feb 23, 2024
1 parent 273f1d7 commit 18dbcab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/.local/share/golang \
if [ ${CRYPTO_LIB} ]; \
then \
GOARCH=${ARCH} go-build-fips.sh -a -o manager main.go ;\
GOARCH=${ARCH} go-build-fips.sh -a -o manager sigs.k8s.io/cluster-api-provider-aws ;\
else \
GOARCH=${ARCH} go-build-static.sh -a -o manager main.go ;\
GOARCH=${ARCH} go-build-static.sh -a -o manager sigs.k8s.io/cluster-api-provider-aws ;\
fi
RUN if [ "${CRYPTO_LIB}" ]; then assert-static.sh manager; fi
RUN if [ "${CRYPTO_LIB}" ]; then assert-fips.sh manager; fi
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

BUILDER_GOLANG_VERSION ?= 1.21
BUILDER_GOLANG_VERSION ?= 1.21.6
ROOT_DIR_RELATIVE := .

include $(ROOT_DIR_RELATIVE)/common.mk
Expand Down
2 changes: 1 addition & 1 deletion util/flags/tls_boring.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ func InsecureSkipVerify(insecureSkipVerify bool) bool {
}

func GetTlsMaxVersion() uint16 {
return tls.VersionTLS12
return tls.VersionTLS13
}

0 comments on commit 18dbcab

Please sign in to comment.