Skip to content

feat(fips): UBI9 FIPS runtime image #6229

Backlog

Description

@akram

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

Context

The default image build path either vendors OpenSSL (openssl-src) or compiles aws-lc-rs/ring into the binaries. A FIPS 140-3 deployment needs the shipped binaries to link the system libcrypto of a FIPS-enabled base, so that the crypto actually runs inside the validated module of the host.

Problem

There is currently no image variant that guarantees this: no base pinned to UBI9 with FIPS expectations, no build flag set that keeps non-module crypto out of the production graph, and no assertion that the resulting binary links the system libcrypto.

Proposed approach

A dedicated Dockerfile (deploy/docker/Dockerfile.gateway.ubi-fips) that:

  • builds from UBI9,
  • builds the gateway with the crypto-openssl feature set (no aws-lc-rs, no ring, no RustCrypto crypto in the production dependency graph),
  • links openssl dynamically against the base image's libcrypto (no vendored openssl-src),
  • produces a binary that can be checked for compliance: links libcrypto.so.3, imports the OpenSSL EVP functions, and carries an auditable SBOM listing no denied crate.

Current state

The Dockerfile exists on the feasibility branch (feat/openssl-fips-cargo-wiring) and builds. The resulting binary was scanned with cargo-fips-check with no real finding. What remains is turning it into a maintained, CI-built image variant.

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