NEW RasterizedDB 1.1.0 is out: sharding and the gateway, the message broker, roles and row-level security, compression, .NET on NuGet, and the enterprise edition. What's new ›
FIPS 140-3 MODE BUILD OPTION

Cryptography you can account for.

A FIPS 140-3 mode built on the AWS-LC FIPS module, as a build option. In a build with it on, every cryptographic function the server relies on for security runs inside that module, the module tests itself before the server starts, and anything without an approved implementation is refused.

FIPS mode is in the 1.1.0 source as a build option, off by default; the prebuilt release archives are built without it. A certified deployment needs a release that pins an AWS-LC FIPS module version named on a current CMVP certificate; RasterizedDB itself makes no certification claim.

HOW IT WORKS · ANIMATED 12 s cycle

Every security function inside one validated module

A build option in 1.1.0: in a build with FIPS mode on, the cryptography the server relies on for security runs inside the AWS-LC FIPS module, and whatever has no approved implementation is refused, not quietly allowed.

RASTERIZEDDB SERVER TLS handshake SCRAM login S3 SigV4 · Object Lock Ledger hashes Vault AES-256-GCM AWS-LC FIPS MODULE · BOUNDARY ✓ power-on self-tests passed TLS 1.3 · approved suites and groups SHA-256 · HMAC · PBKDF2 SigV4 signing · checksums SHA-256 chains · AES-256-GCM · DRBG keys: a validated HSM via PKCS#11 a release pins a module version named on a CMVP certificate md5 LOGINrefused in FIPS modeuse SCRAM-SHA-256 ML-KEM / ML-DSA (POST-QUANTUM)refused in FIPS modenot inside the validated module NOT SECURITY · UNCHANGEDCRC32C, xxHash for integrity and routing,the md5() SQL function
  1. 1
    Self-tests before anything

    At start the module runs its power-on self-tests. If they fail, the server does not start.

  2. 2
    TLS: approved only

    rustls's FIPS provider offers only approved cipher suites and key-exchange groups. A client that wants anything else does not get a connection.

  3. 3
    Logins inside the module

    SCRAM-SHA-256's SHA-256, HMAC and PBKDF2 run in the module. md5 logins are refused outright.

  4. 4
    Storage and backups

    S3 request signing and the Object Lock checksums go through the module too.

  5. 5
    Ledger and vaults

    Ledger hashes, the vaults' AES-256-GCM and their random numbers come from the module; vault keys belong in a validated HSM via PKCS#11.

  6. 6
    No unvalidated crypto

    Post-quantum options whose code is not in the validated module are refused in FIPS mode instead of being used.

1 / 5

What runs inside the module

  • TLS: rustls's FIPS provider, offering only approved cipher suites and key-exchange groups
  • Logins: SCRAM-SHA-256's SHA-256, HMAC and PBKDF2
  • Object storage: S3 SigV4 request signing and the Object Lock checksums
  • Ledger tables: leaf and chain hashes
  • Secret vaults: AES-256-GCM and their random numbers
  • The Rust client's SCRAM too, in a client built with the same option
2 / 5

What it refuses

Refusal is the point. A mode that quietly fell back to an unvalidated implementation would make every other guarantee on this page unverifiable.

  • md5 password logins: use SCRAM-SHA-256
  • Post-quantum key and signature options (ML-KEM, ML-DSA) whose code is not in the validated module
  • Starting at all, if the module's power-on self-tests fail
3 / 5

Building it

Keys used in FIPS mode belong in a FIPS 140-3 validated HSM, reached through PKCS#11.

shell
# AWS-LC's FIPS module needs CMake, Go and Perl to build
cargo build --release -p rasterizeddb_core --features fips
cargo build --release -p rasterizeddb_client --features fips
4 / 5

What it does not cover

Checksums and hashes that protect nothing against an attacker stay as they are: CRC32C and xxHash for integrity and routing, and the md5() SQL function. They are not security functions, and FIPS does not apply to them.

5 / 5

Certification, plainly

FIPS 140-3 certification belongs to a cryptographic module, not to a database. RasterizedDB's FIPS mode puts its security cryptography inside AWS-LC's FIPS module; whether a given deployment can rely on a certificate depends on the module version a release pins, which must be one named on a current CMVP certificate. Ask for the pinned version and its certificate number for the release you deploy.

✓ page rendered in 155 µs axum + tera + htmx · no other javascript