diff --git a/Makefile b/Makefile index 54769e09e..5c58222a4 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ CONTAINER_TOOL ?= docker SHELL = /usr/bin/env bash -o pipefail .SHELLFLAGS = -ec +### env variable(s) to enable FIPS compliance +export CGO_ENABLED=1 +export GOEXPERIMENT=boringcrypto + .PHONY: all all: build diff --git a/cmd/main.go b/cmd/main.go index fac2204f3..e39f5d6eb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -17,6 +17,7 @@ limitations under the License. package main import ( + _ "crypto/tls/fipsonly" "flag" "os"