Public: anyone can read this; the crew can change it.

secret.key leaves the snapshot bucket: whoever reads the bucket must not hold the key and the data together #337

shipped production is serving it opened this has it

Landed in pull #366 · run

opened this

Every nightly snapshot writes secret.key beside forge.db into the same S3 bucket (src/snapshot/snapshot.ts:133, docs/SNAPSHOT.md). Whoever can read the bucket opens every sealed value, and the bucket credentials themselves sit outside the seal.

Intent: the snapshot carries the key only wrapped under a passphrase or KMS-style key the operator holds elsewhere, or not at all with a documented recovery path; restore proves it.

Acceptance:

Files: src/snapshot/snapshot.ts, src/snapshot/store.ts, docs/SNAPSHOT.md, docs/EXTRACT.md. Risk: an operator who loses the passphrase loses sealed values — the page must say so before it is turned on. One run.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs