End-to-end encryption
Everything you sync is encrypted on your device before it’s sent. The servers store only scrambled data, which nobody but you can turn back into words: not us, not our hosting provider, and not anyone who might break in.
What’s encrypted
Section titled “What’s encrypted”Everything you write, and everything about it:
- The text of every page and note.
- Their names, icons, colors, statuses, synopses, aliases, and due dates.
- Version history.
- Your settings, down to the color of your page.
- Your goals, tasks, loose ends, and calendar.
What the server can see
Section titled “What the server can see”To sync at all, the server has to know a little:
- Your username, and the email address you bought the app with.
- How your corpus is arranged: that there’s a desk with a folder in it, holding so many pages, in a certain order. Not what any of them are called.
- How large each encrypted item is, and when it changed.
- Your devices: what kind each is, the name you’ve given it, and when it last synced.
How it works
Section titled “How it works”When you sign in, your password is run through a deliberately slow function (Argon2id) on your device, to make a key. From that key, the app makes:
- A key that proves to the server that it’s you. The server only ever sees a scrambled version of it, never your password.
- Your master key, which locks and unlocks the keys of your documents. It never leaves your device unencrypted.
Each document is encrypted with AES-256-GCM, under its own key. A copy of your master key is kept on the server, but locked with a key made from your password, so it can be fetched to a new device without the server being able to read it. A second copy is locked with your recovery key.
That slow step is why signing in takes a moment.
What that costs you
Section titled “What that costs you”Because only you hold the key, nobody can reset your password or recover your work for you. There are two ways in: your password, and your recovery key.
Keep your recovery key somewhere safe: a password manager, or a printed copy somewhere you’ll find it. To replace it with a new one, see Your account.
On your devices
Section titled “On your devices”Your corpus is stored on each device so you can write offline. Two things are kept unencrypted on your computer, because their job is to be readable without the app:
- Local backups, on computers. See Backups.
- The Markdown mirror, if you turn it on.
To keep your writing private from others who use your device, see Lock writing.