Encryption at rest
Everything a store persists, except a few small plain files, is sealed with authenticated encryption. This section describes the keys, the keyring file, the trailer that ends every sealed region, how nonces are built and what each sealed object binds into its authentication.
Algorithms
Section titled “Algorithms”| Purpose | Algorithm |
|---|---|
| All sealing | AES-256-GCM (aws-lc-rs), 96-bit nonce, 128-bit tag |
| Key derivation for auxiliary keys | HMAC-SHA256 |
| WAL record integrity (inside the AEAD) | CRC32C |
| Bloom hashing | xxh3-64 (not a security function) |
What is sealed
Section titled “What is sealed”A sealed region is a WAL block, a MANIFEST record body, a SEAM frame, a SEAM footer or a derived cache file. Each ends with the 32-byte seal trailer. The keyring file is sealed directly by the master key with its own layout. Catalog values for MySQL caching_sha2 passwords have their own sealed form.
- Key hierarchy: master key, data keys, cluster keys and the auth key.
- Keyring file: header, body and rewrite rules.
- Seal trailer: tag, nonce parts and key id.
- Nonces and epochs: why nonces cannot repeat.
- AAD per object: what each sealed object binds.
- Sealed caching_sha2 verifier