← Security Utilities

Deterministic Recovery Key

Protocol v1 · HKDF-SHA-512 · 256-bit Base64URL output · fully offline

Do not replace an existing recovery credential in place. Add and test this credential on a disposable LUKS2/KDBX4 copy first. Keep the original software and inputs for old snapshots. This protocol still needs independent cryptographic review.
Exact NFC-normalized UTF-8 value. Whitespace is preserved.
Exactly 64 hexadecimal characters. Store this independently from the manifest. Exact NFC-normalized UTF-8 values in Q1/Q2/Q3 order. Missing answers are explicit empty fields. Maximum 10 files and 5 MiB each. Ordered by normalized filename bytes, then SHA-512 digest bytes. Load a previous manifest to fail closed if an input or recovery file is missing, changed, or from another protocol version.
Required when downloading a manifest. Copy it from the verified release .sha256 file.

Protocol v1 encoding

The seed is HKDF input keying material. A SHA-512 digest of the versioned, tagged, length-prefixed canonical context is the salt. The fixed info string is Security Utils Recovery Key v1. No value is trimmed and no locale-sensitive ordering is used.

Clearing fields only removes visible values. Browsers cannot guarantee secret memory erasure, and clipboard managers may retain copied credentials.