Mesh Recovery
A mesh is guarded by three keys, each on a different device:
| Key | Where it lives | What it does |
|---|---|---|
| Your phone | The Snippbot app on your phone (fingerprint or face) | Confirms every change, after showing you exactly what it is |
| Main root key | The owner machine (Touch ID or Windows Hello) | Signs every change, and finishes it |
| Backup root key | Your backup machine (Touch ID or Windows Hello) | Stands in for the main root key when one has to be replaced |
Because every change that gives more power needs two of these keys on two different devices, an agent, or someone with access to one machine, can’t change your mesh alone.
Which changes need which approval
Section titled “Which changes need which approval”| Change | What it takes |
|---|---|
| Create the mesh | Phone, Touch ID on the owner machine, and the backup machine’s key (it proves it holds the backup root key) |
| Add or remove a machine | Phone, then Touch ID on the owner machine |
| Give or raise a permission or trust level (like Work) | Phone, then Touch ID on the owner machine |
| Lower a trust level | Takes effect at once; your phone and Touch ID then make it permanent |
| Widen sharing (show more to another machine) | Phone, then Touch ID on the owner machine |
| Rename the mesh, end the mesh, loosen a safety rule, resume after a stop | Phone, then Touch ID on the owner machine |
| Rename a machine | Touch ID on the owner machine only (once every machine runs a version that supports it) |
| Tighten a safety rule, stop, pause or isolate | The owner machine only, at once |
| Replace the phone | Both root keys, no phone (the old phone can’t confirm its own replacement) |
| Replace a root key | Your phone, then the other root key |
On the web page, every change that needs two approvals carries a Double approval badge, and the card beside the change says which device is next.
What to do when something is lost
Section titled “What to do when something is lost”| You lost | You recover with | Where to start |
|---|---|---|
| Your phone | Both root keys (main + backup) | Replace a lost phone |
| The main root key | Backup root key + your phone | Replace a root key |
| The backup root key (or the backup machine) | Main root key + your phone | Replace a root key |
| Any two of the three | Can’t be recovered | Start a new mesh |
Replace a lost phone
Section titled “Replace a lost phone”The old phone confirms every change, so it can’t confirm its own replacement. The two root keys replace it together.
- On the new phone: install Snippbot, sign in to your owner machine, open Mesh and offer this phone as the replacement. The app shows the new phone’s key.
- On the owner machine: open Mesh → Machines → Replace or sign → Replace a lost phone. The new phone’s key appears there. Check that it is the same key the new phone shows, tick The new phone shows this same key, and press Replace the phone. If the key isn’t the one on your phone, press Not my phone: clear it.
- Still on the owner machine: the backup root key has to sign first. Press Show the request for the other machine and copy the block.
- On the backup machine: open Mesh → Machines → Replace or sign → Sign a request from the owner machine and paste the block. The backup machine checks it against its own copy of the mesh record. Tick that the new phone shows the key in the request, then sign with Touch ID or Windows Hello. Copy the signed block it gives back.
- Back on the owner machine: paste the signed block, press Use this signed block, then approve with Touch ID. The new phone now confirms changes, and the old one no longer counts.
- Sign the old phone out of Snippbot. It is out of the mesh, but it may still be paired to your chats. The page offers Also sign the old phone out of Snippbot, which opens Devices so you can revoke it. Snippbot never does this by itself, because it can’t tell which paired device was the lost phone.
Replace a root key
Section titled “Replace a root key”If a root key is lost, stolen or being retired, your phone confirms its replacement and the other root key signs it. A key can never approve its own replacement.
- Create the new key. Either:
- on the owner machine, in the next step, create it right there with Touch ID or Windows Hello; or
- on the machine that will hold it (for example a new backup machine), open Mesh → Machines → Replace or sign → Create a new root key, create it, and copy the block it shows.
- On the owner machine: open Mesh → Machines → Replace or sign → Replace a root key. Choose the key to replace, and create the new key here or paste the block from step 1.
- On your phone: confirm. The phone shows the new key’s name and fingerprint; they must match the machine where the key was created.
- Sign with the other root key.
- Replacing the backup key: the main root key on the owner machine signs. Approve with Touch ID.
- Replacing the main key: the backup key signs. Press The other key is on another machine, copy the request to the backup machine (Mesh → Machines → Replace or sign → Sign a request from the owner machine), sign there, and paste the signed block back.
Replacing a root key doesn’t change the phone, the machines or their permissions. At least one root key must always be the kind that stays on one device.
When two keys are lost
Section titled “When two keys are lost”With two of the three keys gone, no change can be approved any more: replacing the phone needs both root keys, and replacing a root key needs the other root key and the phone. Stopping the mesh still works.
Set up a new mesh instead. A machine can belong to several meshes, so:
- On the owner machine, press Add mesh and create the new mesh with your phone and new root keys, then add your other machines to it.
- On each other machine, open the old mesh and choose Leave this mesh.
The owner machine itself can’t leave or end the old mesh, because that needs the approvals that were lost, so the old mesh stays in its list. Each machine’s own data, chats and agents are not affected.
If the owner machine itself is lost
Section titled “If the owner machine itself is lost”The owner machine holds the mesh record and starts every change, and Snippbot can’t move the owner role to another machine yet. If you restore the owner machine from a backup, it may hold an older copy of the record; see Settling a conflict in the record. If it can’t be restored, set up a new mesh as above.
See also
Section titled “See also”snippbot meshCLI reference, includingreplace-phoneandreplace-root- Remote Access, for reaching the owner machine from your phone