FIPS support in Go 1.24

Kudos to the Red Hat team. link

The benefits of native FIPS support in Go 1.24

The introduction of the FIPS Cryptographic Module in Go 1.24 marks a watershed moment for the language’s security capabilities. This new module provides FIPS 140-3-compliant implementations of cryptographic algorithms, seamlessly integrated into the standard library. What makes this particularly noteworthy is its transparent implementation. Existing Go applications can leverage FIPS-compliant cryptography without requiring code changes.

Build-time configuration through the GOFIPS140 environment variable, allowing developers to select specific versions of the Go Cryptographic Module.

GOFIPS140=true go build

Runtime control via the fips140 GODEBUG setting, enabling dynamic FIPS mode activation.

GODEBUG=

Keep these in your toolbox along with GOARCH=ppc64le

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *