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

The backup carries the old key during a key change, wrapped as the key is #17722

opened this

Merged 5h 37m ago, live in production

While a key change is under way, some sealed values open only with secret.key.old. The snapshot took secret.key alone, so a forge restored in that time could not open them. The old key now travels as secret.key.old.wrapped, under the same passphrase, for this forge and each hosted one.

Notes

opened this

While a key change is under way, some sealed values open only with secret.key.old. The snapshot took secret.key alone, so a forge restored in that time could not open them. The old key now travels as secret.key.old.wrapped, under the same passphrase, for this forge and each hosted one. Without a passphrase neither key travels. A wrong passphrase is refused before anything is written.

Ran: the new tests without the fix (2 of 3 failed; a later test, for an empty old key, was not run that way), then 308 tests on this head (0 fail), tsc and the gate. Not run: the full suite, a real bucket.

Try: move secret.key to secret.key.old, restart, take a backup, restore it with the passphrase: values saved before still open.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs