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.
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.
- 1Self-tests before anything
At start the module runs its power-on self-tests. If they fail, the server does not start.
- 2TLS: 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.
- 3Logins inside the module
SCRAM-SHA-256's SHA-256, HMAC and PBKDF2 run in the module. md5 logins are refused outright.
- 4Storage and backups
S3 request signing and the Object Lock checksums go through the module too.
- 5Ledger 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.
- 6No unvalidated crypto
Post-quantum options whose code is not in the validated module are refused in FIPS mode instead of being used.
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
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
Building it
Keys used in FIPS mode belong in a FIPS 140-3 validated HSM, reached through PKCS#11.
# 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
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.
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.