You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(fips): verify kernel FIPS mode at startup #6231
A binary built for FIPS (linked against the system OpenSSL) still depends on the host to enforce the posture: if the kernel is not in FIPS mode, the OpenSSL module is not operating in its validated mode, and the deployment is silently non-compliant.
Problem
There is currently no runtime check. The gateway behaves identically on a FIPS-enabled and a non-FIPS host, so a misconfigured cluster looks healthy while providing no actual FIPS guarantee.
Proposed approach
When the binary is built with the FIPS feature set, verify at startup that the kernel is in FIPS mode:
read /proc/sys/crypto/fips_enabled,
if it is not 1, refuse to start by default (an escape hatch to warn-and-continue can be provided for development environments, behind an explicit opt-in).
This mirrors what other FIPS-aware services in the ecosystem do (for example the praxis-proxy projects gate this behavior behind a REQUIRE_FIPS-style environment variable).
Current state
Proposal; not implemented yet. The feasibility branch already carries the FIPS feature set distinction to hang the check on.
Activity