All one hundred eight build stories
Recovery Vault / Build Story
How to store recovery codes without trusting one place
Learning how to store recovery codes starts with one simple test: if your phone vanished today, could you still unlock your accounts without leaving those spare keys easy for someone else to read?
The common trap
Keeping backup codes in a screenshot or notes app on the very phone they are meant to rescue means losing the phone loses both the authenticator and the spare key.
The goal
Place recovery material outside that single device, keep outsiders from reading it alone, and know what breaks each copy before an emergency arrives.
Where to Save Recovery Codes and What Each Option Survives
When you turn on two-step verification (also called 2SV or 2FA), services often hand you a list of emergency backup codes so you are not permanently locked out if your phone is lost or breaks. As the UK National Cyber Security Centre explains in Setting up 2-Step Verification (2SV): "Some accounts also give you a list of backup codes when you switch on 2SV."
Before deciding where to save recovery codes, compare what each storage habit can survive. A spare key only helps if it still exists when your phone is gone, yet still stays hidden if someone looks in one drawer or steals one file.
| Storage choice | Survives a lost phone | Risk if one place is seen |
|---|---|---|
| Phone note or photo | No, unless synced elsewhere | Anyone unlocking the phone or synced cloud album sees the whole list |
| Paper in a locked spot | Yes, separate from the phone | Fire, flood, or someone opening that drawer reveals or destroys the only copy |
| Encrypted USB or vault | Yes, if the master key is known | Forgetting the vault password or locking it behind the lost phone blocks entry |
| Split among trusted phones | Yes, when threshold phones meet | One guardian phone cannot read the vault alone, though colluding threshold phones can |
How to Safely Store Recovery Codes Step by Step
Whether you keep your backup list on paper or inside an encrypted store, knowing how to safely store recovery codes comes down to four repeatable habits drawn from public security guidance.
-
Save the list immediately and track each single-use code.
The Electronic Frontier Foundation's Surveillance Self-Defense 2FA guide notes: "Each code works exactly once to log in to your account, and is no longer usable thereafter." Do not leave a used code unmarked on your sheet, and generate a new batch before you run out. The NCSC puts the same rule plainly: "When asked for a code you can use one of these, but each code will only work once, so you'll need to create more when you've used them all."
-
Keep the backup separate from the phone you rely on every day.
The NCSC emphasizes having a fallback when your regular device is gone or dead: "Backup codes are ideal for this, since they can be used even if you lose your phone." Avoid saving the list only inside the notes app on that same handset, and treat the backup carefully: "You will need to store the codes somewhere safe."
-
Match the container to how you live and guard access to it.
People often ask for the best way to store recovery codes, yet the right fit depends on whether losing one copy or exposing one copy worries you more. For a simple physical fallback, the EFF guide advises: "If you are worried about losing access to your phone or other authentication device, print out and carry these codes with you." It adds a clear boundary: "Remember to keep the codes secure and ensure that no one else sees them or has access to them at any time." If you rely on cloud backups inside an authenticator app instead, check how they are protected: "If you do enable them, check the app's documentation to ensure it uses end-to-end encryption for those backups."
-
Replace old lists right after using them or changing accounts.
Generating a fresh list usually cancels the previous set. As the EFF guide states: "If you use or lose your backup codes, you can generate a new list next time you're able to log in to your account." Whenever you rotate codes or add a new account seed, update every stored copy at the same time so an emergency does not pull out an expired sheet.
Choosing a Threshold: Worked Examples on Paper
If you prefer not to keep a complete sheet of codes in one spot, threshold key splitting breaks a vault encryption key into pieces held by people you know, called guardians. You pick two numbers: how many guardians hold a piece (between 2 and 9 in Saugoti) and the threshold required to rebuild the key (at least 2, up to the guardian count).
These three setups on paper show how the choice trades safety against availability. Fewer pieces than the threshold reveal nothing about the key, while reaching the threshold reconstructs it.
2 of 3 guardians
Three trusted phones each hold one fragment. Any two approving in person rebuild the vault key.
Survives losing 1 guardian phone. One stolen fragment reveals nothing, though 2 colluding guardians could rebuild the key.
Buffer: 1 spare guardian3 of 3 guardians
Three guardians hold fragments and all three must approve together before recovery succeeds.
Survives 0 lost guardian phones. Even 2 colluding guardians fail, yet losing 1 guardian phone blocks recovery.
Buffer: 0 spare guardians3 of 5 guardians
Five guardians hold fragments and any three approving together rebuild the vault key.
Survives losing up to 2 guardian phones. Any 1 or 2 shares alone fail to recover the key.
Buffer: 2 spare guardiansNotice why having at least one guardian above the threshold matters. If two people are needed and only one current guardian is available, as on the first phone screen below, recovery cannot finish until another guardian holds an up-to-date fragment.
How Saugoti Replaces One Backup Sheet With Trusted People
Many people keep authenticator seeds, recovery codes, and important notes on a single modest Android phone, while existing password-manager emergency access often requires paid plans, family organizers, or a second signed-in device. Saifullah Ahad designed Saugoti and directed AI to build it so recovery can rely on real people meeting face to face instead of a cloud password or a single sheet of paper.
On launch, each phone chooses one role: Protect my things for the vault owner, Keep for someone for a guardian, or Recover on this phone for a replacement handset. Owner and guardian profiles lock locally with a name and a six-digit PIN (plus optional device biometric or credential unlock under Use device unlock).
Inside Your things, the owner encrypts entries in four categories: Short note, Recovery code, Authenticator seed, and Document (captured with the camera or picked as an image). Saved text stays hidden behind Hold to reveal, where you press and hold to view it. Document images are encrypted inside the vault snapshot as data, though the item detail screen shows an encrypted-document label rather than displaying the photo itself.
Enrolling guardians and running a recovery ceremony
To add a guardian, both people open Saugoti side by side and connect over nearby Bluetooth and Wi-Fi radio. Both phones display the same short verification digits and ask each person to tap Codes match or Stop connection before sending one Shamir fragment and a copy of the encrypted vault snapshot.
Adding or removing an item increments the vault revision and marks existing guardians Needs a visit until they receive the updated snapshot. You can also run Refresh all fragments from Protection on this phone or Refresh shares in person from Net health to issue fresh mathematical shares without changing the underlying vault key, then meet each guardian again.
After losing a phone, install Saugoti on the new device, pick Recover on this phone, enter the owner name and a new six-digit PIN, and tap Begin a 10-minute ceremony. Each guardian nearby sees the requester's name, checks the matching verification digits, and taps Approve and send fragment or Refuse. Only when the chosen threshold of current fragments from the same net and revision arrives before the timer expires does the replacement phone rebuild the key and open the newest matching snapshot.
Local key protection and what reaches the network
Your vault and each guardian's stored fragments stay encrypted with AES-256-GCM on participating phones. The local six-digit PIN protects the vault key through 150,000 rounds of PBKDF2-HMAC-SHA256 alongside an Android Keystore wrapper; Protection on this phone reports whether that wrapper sits inside secure hardware (Hardware-backed Android Keystore) or software Keystore, and lets owners configure a separate six-digit Duress PIN that unlocks normally while quietly posting a signed duress event.
Vault items, PINs, documents, and key fragments never go to a central server. The small backend service only accepts P-256 signed non-content event tokens (such as ceremony start, approval, refusal, completion, timeout, duress, and guardian heartbeats) keyed by a public-key device identifier and a SHA-256 hash of the net ID, expiring within 24 hours. Nearby discovery itself uses Google Play services Nearby Connections, which processes connection diagnostics under Google's terms as noted in the Saugoti data handling page.
Limits of Saugoti
- Face-to-face requirement within 10 minutes: Recovery fails if fewer than your chosen threshold of current guardians can meet you in person before the ceremony timer expires.
- Threshold collusion and unlocked viewing: Saugoti cannot protect against the threshold number of guardians colluding or being coerced, a modified operating system, someone reading items after you reveal them, or screen capture while the app is unlocked.
- Local Net health reporting: Guardian phones schedule periodic background heartbeats to the backend, yet the owner's Net health screen never fetches those heartbeats back. It displays local revision counts and shows a notice that live checks are unavailable.
- Document image handling: While documents can be attached up to 12 MB in the picker (capped at 8 MB in vault encoding), the item detail screen does not render saved images back on screen and shows only an encrypted-document label.
- Scope: Saugoti is a personal recovery vault, not a browser password autofill service, cloud drive, or legal estate tool.
What was not checked
- Nine unit tests and small bench hardware only: In the final release build, nine automated unit tests verified 3-of-5 Shamir reconstruction, rejection of 2-of-5 shares, zero-secret share refresh, binary codec round trips, envelope integrity checks, and combining guardians enrolled at different snapshots of the same revision. Real-device testing on the final build verified end-to-end 2-of-2 recovery across three devices (an Infinix Note 8 as owner, plus a Galaxy Tab S3 and Honor Pad X7 as guardians) after wiping Saugoti on the phone. An earlier release build ran two-phone enrolment, zero-secret refresh, permission denial, and a signed duress event between a Pixel Fold and a Samsung Galaxy Note20 Ultra.
- No physical 3-of-5 or 9-guardian radio pass: A 3-of-5 attempt using one physical phone and four emulators stalled because the emulator radio bridge did not expose Nearby discovery to the phone, so thresholds above two were not run end to end across separate physical handsets.
- No field study with real households: Everyday families and non-technical guardians have not been studied using the app outside bench checks.
- No multi-month durability or post-recovery refresh check: Long-term guardian heartbeat reliability across phone battery savers, months-later recovery, document attachments larger than 8 MB, and running a fragment refresh right after finishing recovery were not tested end to end in the records.
- No independent security audit: No outside cryptographer or security firm has audited the app or backend.