ID Recovery Kit is an open-source, cold-start disaster-recovery protocol. It encapsulates your password manager emergency tokens, single-use 2SV backup codes, seed phrases, and live TOTP authenticators inside a self-contained, offline AES-GCM-256 encrypted terminal that you can unlock on any borrowed browser with nothing more than your memory.
$ ./scripts/deploy.sh payload.json --provider cloudflare
[1/7] Running pre-flight security checks...
โ Valid JSON payload with required credentials.
[2/7] Enter 6-word Diceware passphrase: ******
โ Sufficient Diceware entropy detected (~77.5 bits).
[3/7] Encrypting with PBKDF2-SHA256 (600,000 rounds) + AES-GCM-256...
โ Zero Git Persistence: Staged in ephemeral staging directory.
[4/7] Synchronizing Cloudflare DNS TXT dead-drop (sos.yourdomain.com)...
โ DNS TXT record published worldwide. Queryable via DoH anywhere.
๐ Recovery terminal live worldwide at https://sos.yourdomain.com
Modern password managers are fantastic, until physical disaster strikes. What happens when you are stranded with zero primary devices?
You are traveling and your backpack with your phone, laptop, and hardware security key (YubiKey) is stolen.
You walk into a hotel business center or library. You know your master password, but your password manager requires an emergency secret key or token (which was on your laptop), and your primary email account requires a hardware key or 2SV prompt (which was on your phone).
Without your devices, you cannot log in. Without logging in, you cannot retrieve your devices.
Key derivation exceeds OWASP recommendations by 300,000 rounds. Encrypted via AES-GCM-256 with 96-bit CSPRNG initialization vectors.
If your web domain is blocked, censored, or unreachable, your ciphertext is queryable as a DNS TXT record via Cloudflare & Google DoH.
Strictly self-contained single-file HTML. No external npm libraries, zero third-party CDNs, and a strict Content Security Policy (CSP).
Deploy with automated header parity across Cloudflare Pages, Netlify, and Vercel with no-store caching and clickjacking protection.
Built-in WebCrypto HMAC-SHA1 engine generates 30-second live 2FA codes directly in browser, with offline QR code generation for mobile re-enrollment.
Pressing Escape x3 instantly flushes all decrypted secrets from DOM memory. System clipboard auto-clears after 45 seconds.
Automate encryption, verification tests, and zero-persistence direct edge deployment in seconds.
# 1. Clone repository
git clone https://github.com/janhrabcak/identity-recovery.git
cd identity-recovery
# 2. Copy sample payload and populate credentials
cp templates/sample-payload.json payload.json
chmod 600 payload.json
vim payload.json
# 3. Direct Edge Upload to Cloudflare Pages (Zero Git Secrets)
./scripts/deploy.sh payload.json --provider cloudflare --project identity-recovery