Encrypted chat sync: your AI chats on every device, unreadable to us
Obscurify.ai can sync your saved chats between the website and the Android app. Your device encrypts each chat with AES-256-GCM before it leaves, using a key made from your account code. We store the ciphertext, and we never get the key or the code. Sign in with the same code on a laptop, a phone and a second browser, and the same chats show up on all three.
Sync is on by default once a device signs in with an account code, on plans that include it. You can turn it off per device on the Account page, or in the app under Account.
What syncs
Saved chats sync with their titles, folders, pins, per-chat settings and images, along with your chat presets and favorite models. Temporary chats are never saved, so they never sync. Custom instructions stay on the device where you wrote them.
Chats live on each device either way: in the browser’s storage (IndexedDB) on the website and in the app’s private storage on Android. Sync adds an encrypted copy on our server so another device can fetch it. A browser tab checks for changes every 30 seconds while it’s open and visible, and right after you change something.
How the keys are made
Everything starts from your account code, and the code never leaves your device.
- Your device runs the code through Argon2id, a hash built to be slow (about a second in a browser). The result is a master key.
- From the master key it makes a login key, which is what it sends us to sign in, and a separate seed that stays on the device. We can’t work back from the login key to the code or the seed.
- From the seed it makes three more things for sync: a token that names your synced copy, a key that scrambles record names, and the AES-256-GCM key that encrypts the records.
The server keeps only a SHA-256 hash of the token as the name of your store. Someone holding our database would have to guess your account code through the slow hash to read anything. With 96 random bits in a code, that isn’t possible, which is why sync needs a code and not a 16-digit number. Account codes explains the difference.
Before encryption, each record is compressed and padded to a multiple of 4 KB. Images go in records of their own, sent once and shared by every chat that uses them. Record names are keyed hashes, so we can’t tell a chat from a preset or an image.
What our server sees
- Sync requests carry no cookie and no account, only the sync token. Our web server logs them without the IP address or browser, so nothing we keep says whose store it is.
- While a request is being handled we see the address it comes from, as with any connection. When a request creates a new store, the address is held in memory for an hour to limit how many stores one address can make. Tor or a VPN hides it.
- We can see how much a store holds, roughly how big each record is (to the nearest 4 KB), how many records there are, and on which day each one last changed. We don’t keep times finer than a day.
We can’t read chat text, titles, model choices or images, and we can’t tell which account a store belongs to. That last point has a side effect: the server can’t check your plan when you sync. If your plan doesn’t include sync, the website and app pause it themselves. Your chats stay on the device and the synced copy stays as it was until you’re on a plan that has it.
Adding a device that already has chats
Say you used the website signed out for a while, then sign in on that browser with a code that already has synced chats. Before mixing anything, the device asks Combine chats?
- Combine puts both sets on every device.
- Not on this device turns sync off on that device only. The synced copy and your other devices carry on.
Until you answer, the device reads nothing in and sends nothing out. Chats saved while signed in to a different account are never uploaded to this one.
When two devices edit the same chat
The server numbers every write, and devices merge by that order, never by their own clocks. If one version of a chat is the other plus more messages, the longer one wins. Title, folder, pin, model and settings come from whichever device changed them. If the two versions really differ, both are kept, and this device’s version becomes a copy.
Turning it off, Wipe and a new account code
- Sync off on the Account page (or in the app) deletes the synced copy. Your other devices notice and stop syncing too. They keep their chats.
- Wipe deletes the chats on that device and the synced copy, so they don’t come back from the server.
- A new account code moves your chats to the new code’s store and deletes the old copy. Devices still signed in with the old code stop syncing until you sign in there with the new one.
- Deleting your account also deletes the synced copy, from whichever device you do it on.
- A synced copy nobody opens for 400 days is deleted.
Getting it
New accounts get an account code, so they’re set up for sync from the start. On a plan that includes sync, it turns on by itself when you sign in. Pricing lists which plans have it; the others say “Chats stay on one device.”
An older account with a 16-digit number converts on the Account page with Generate My Account Code and Convert. After that you sign in with the code and the old number stops working. Your balance, plan and API keys stay as they are.
The Android app uses the same record format and merge rules as the website, so a chat started on the phone continues in a browser. Its sync goes over the same connection as the rest of the app, including Tor and stealth URLs when those are in use.
Limits
- One record can be up to 6 MB and a store up to 50 MB. An image bigger than a record stays on the device where it was added.
- If you lose your account code, nobody can decrypt the synced copy, us included. Write it down.
- Sync protects chats on our server. It doesn’t protect a device someone else can open: chats sit unencrypted in the browser’s or app’s storage there, as they always did.
- The server can see record counts, sizes and the day of each change. Over time that shows roughly how active a store is, without saying whose it is or what’s in it.
- Sending a prompt to a model is a separate step from syncing it. What the model’s host sees is covered in the privacy policy and in unlinkable inference.
Frequently asked questions
Can Obscurify.ai read my synced chats?
No. They’re encrypted on your device with a key made from your account code, which we never receive. We store only the ciphertext.
Do I need to turn sync on?
No. It’s on by default once you sign in with an account code on a plan that includes it. Each device has its own switch on the Account page, or under Account in the Android app.
Why doesn’t sync work with my 16-digit account number?
A 16-digit number has few enough possibilities that someone holding our servers could try them all offline. An account code has 96 random bits and can’t be guessed. Convert on the Account page to turn sync on.
What happens if I turn sync off?
The synced copy is deleted from our server, and your other devices stop syncing. Every device keeps the chats it already has.
Does sync work over Tor?
Yes. The website syncs over the onion address like everything else, and the Android app sends sync through its built-in Tor when Tor is on.
What if I lose my account code?
We can’t show it again or reset it, and without it the synced copy can’t be decrypted. Chats already on your devices stay there.