Skip to content

ferritor

Secrets stored encrypted in Postgres, opened only by keys that live in the memory of an unsealed server.

Envelope encryption

Every secret version has its own data key, wrapped by a versioned key-encryption key, wrapped in turn by a root key that is never stored. Keys and ciphertexts live in two separate databases: either alone opens nothing.

Unsealing

A threshold of operators’ Shamir shares rebuilds the root key in memory; or a server unseals itself through AWS KMS or Google Cloud KMS, with the shares kept for recovery. Sealing is the emergency stop.

Identity and policy

Every caller presents a client certificate naming it. Operators’ rules live in the config; applications’ grants are stored policies, signed so that writing the database grants no one anything.

Tamper-evident audit log

One JSON line per decision and per change, hash-chained and signed with Ed25519, verified offline with ferritor audit verify.

Secrets as files

ferritor-agent keeps an application’s secrets current as files; in Kubernetes, the CSI provider does it for every pod on a node. Both hear of a change at once.

Workload identity

Workloads trade the token their platform gives them (a Kubernetes service account’s, a CI job’s) for a short-lived certificate: none to issue by hand.