Backup & recovery
The master key is the root of trust for your whole vault: every entry is
encrypted under it. If you lose it — a wiped Keychain, a dead machine — the
encrypted records are unrecoverable. kovra key makes a portable, encrypted
backup so that never becomes a catastrophe.
Export a backup
Section titled “Export a backup”kovra key export asks you to bioProve (the key is the vault’s root of trust), then a
recovery passphrase (twice), and writes a standard ASCII-armored age
blob — encrypted under that passphrase. The plaintext key never lands in a file.
kovra key export --out kovra-master.ageThe blob is portable: restore it with kovra key import, or decrypt it with any
age implementation in a real disaster. Handy variants:
--clipboard— copy the (encrypted) blob to paste into a password manager.--op— store it directly in 1Password via theopCLI; kovra generates the recovery passphrase and saves it alongside the blob, so there’s nothing to memorize.
Store the backup somewhere independent of the machine it came from — a password manager, not the same disk.
Restore
Section titled “Restore”kovra key import reads the blob, asks for the recovery passphrase, and puts the
key back into the OS keyring:
kovra key import kovra-master.ageOnce restored, the vault unlocks exactly as before.