How it works
Devices and keys
Every device has its own key that never leaves it, one home device approves the others, and the recovery kit can take over when home is lost.
Every device has its own key that never leaves it, the paper kit holds a separate recovery key, and one device, the home device, is in charge of the list of devices. This page explains the model; Managing devices and keys has the steps.
One key per device, one recovery key
- Each device makes its own key when it creates or joins a vault. The key stays in that device’s Keychain (its signing keys in the Secure Enclave, where the device has one) and is never exported, copied or synced through iCloud Keychain.
- Your recovery kit holds one more key, the recovery key. It exists only on paper (and, if you chose one, as a passphrase copy in the vault). No device stores it.
- The vault has a vault key for each period between device changes (an epoch). Every file is encrypted to the vault key once, however many devices you have. Each device, and the recovery key, holds a wrap of the vault key in
vault.json.
What that means for you:
- Adding a device is instant. It adds one wrap; no file is rewritten.
- Removing a device is immediate. Everything written afterward, on any device that has seen the change, uses a new vault key that the removed device never gets. Old files stay as they are and stay readable to your other devices. A removed device notices, stops syncing, and offers to save what it had not synced.
- Re-encrypt Everything is a separate, rare step that also replaces the recovery kit, for when even old files must stop opening with old keys.
The home device
The device that creates the vault is its home; the device list shows it as Manages devices. Only home changes the device list: it approves new devices, removes and renames them, replaces the recovery kit, and re-encrypts. Your other devices follow the list home signed.
To join, a new device asks, and shows six words (and a QR code). You type the words on the home device, or scan the code there, and approve. The home device then shows six words of its own, which you type on the new device. The words prove to each side that it is talking about the same request and the same vault, so a storage provider cannot slip in its own device or a vault of its own.
Handoff and takeover
Make Home. Home can hand its role to another of your devices, for example before you retire an old iPad. The vault gets a new key, as with any device change.
Takeover. If home is lost, stolen or broken, a device with your recovery key (the paper kit, or the passphrase copy) takes over. On the takeover screen you keep checked the devices you still have; the recovery key and the new home sign the new list together. A takeover wins over any change from the old home that it did not see, so a stolen home cannot undo it. A device that has no key for the vault at all can take over too: that is how you start again with nothing but the kit.
Every other device shows an alert after a takeover. If you did not do it, someone has your recovery kit: replace the kit, from the device that now manages devices, at once.
Files that arrive late
A device that was offline during a change keeps writing until it hears about it. Files it wrote under the old key are not lost: once it sees the change, it encrypts them again under the new key. Files under an old key that no device change accounts for, for example written by a removed device after its removal, are set aside: never read as notes and never deleted unless you say so. They are listed in Repair ▸ From Before a Device Change.
What to keep in mind
- Managing devices needs the home device or the recovery key. To remove a device while home is out of reach, take over with the kit first.
- A stolen home device acts as the owner until you take over. Do it promptly.
- A takeover drops device-list changes from the old home that it had not seen: devices added there must be approved again (removals are covered, because you pick the list).
- Whoever holds the recovery key holds everything. Someone who has the kit and your files can read the vault and take it over. Keep the kit as safe as the notes deserve.
- Reading a note with stock
agestill works, with one extraage -dper epoch (Read your notes without Sempere).