Skip to content

feat(fips): verify kernel FIPS mode at startup #6231

Backlog

Description

@akram

Part of the FIPS 140-3 umbrella (#6224).

Context

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

  1. added
    state:triage-needed
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions