fipsboot

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package fipsboot enforces FIPS 140-3 mode at process startup.

Blank-import this package from every binary's main:

import _ "github.com/mulgadc/viperblock/internal/fipsboot"

Builds with GOFIPS140=v1.0.0 link the Go Cryptographic Module v1.0.0 (NIST CMVP cert #5247). At runtime FIPS mode can still be turned off via GODEBUG=fips140=off; init() panics in that case to close the hole.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL