Expand description
Streamed age-encrypted recovery packages (.unvpkg, format v1).
Structs§
Constants§
- DRILL_
IDENTITY_ META_ KEY - The age identity used only by an unlocked local executor to exercise a
restore drill.
vault_metais SQLCipher-encrypted and this value is never exposed through an output command; the user-held recovery-key copy remains the recovery path for a new machine. - RECIPIENT_
META_ KEY
Functions§
- drill_
identity - generate_
identity - Generates a recovery identity, returning the public recipient and the identity text that must be shown or saved exactly once by the caller.
- inspect_
package - Reads the cleartext envelope header only; the vault payload stays encrypted.
- recipient
- restore_
package - Decrypts and validates into a staging directory before any target file is written.
- restore_
package_ with_ identity - Decrypts a package with in-memory identity text. This is used by the
unlocked monthly drill so it never materializes the identity in a temporary
file. Human recovery still uses
restore_packageand a user-held key. - set_
drill_ identity - Stores the recovery identity inside the encrypted vault for unattended restore drills. Callers must never print this value after creation.
- set_
recipient - verify_
restored - Validates every local invariant of a restored package directory.
- verify_
restored_ with_ key - Equivalent to
verify_restored, but reuses an already-derived key held by the unlocked executor. Restore drills therefore do not prompt for, retain or re-derive the vault password. - write_
package - Writes one package to
outputwithout buffering the vault or package.