How it works
How encryption works
Everything you sync is sealed on your computer before it leaves. Cesar's servers store it and cannot read it. This page explains the idea, without the technical detail.
Overview
Cesar keeps your conversations so they can follow you between computers and be shared with your team. It does this without being able to read them: everything is sealed, which means closed with a key so that only the matching key opens it. Three things make that possible:
- a pair of keys for each person;
- a passphrase that only you know;
- a key for each workspace.
A pair of keys
Each person has two keys that belong together.
- The public key seals. It is not a secret, and anyone can have a copy.
- The private key opens what the public key sealed. It never leaves its owner.
To send Bob something only he can read, Alice seals it with his public key. After that, the only thing that opens it is Bob's private key.
- Alice seals the message with Bob's public key. From that moment she cannot open it either.
- The sealed message is sent. Anyone can carry it or store it. Nobody on the way can read it.
- Bob fetches it. It arrives exactly as it left.
- Bob opens it with his private key, which never left his computer.
Your passphrase
Your two keys are made on your computer the first time you sign in. Your private key is then sealed with your passphrase and stored on the server, so that your other computers can fetch it.
The passphrase itself is never sent anywhere. That is why it cannot be reset: nobody else has it, Cesar included.
A key for each workspace
A workspace has a key of its own, and everything put in the workspace is sealed with it. Being a member means holding your own copy of that key, sealed with your public key.
The server stores every copy and can open none of them.
Letting someone in
Adding someone to a workspace means making a copy of its key for them. Only someone who already holds the key can do that, so it happens on a member's computer and never on the server.
- If the person already uses Cesar, their copy is made when you invite them. They can read the workspace as soon as they join.
- If they are new, they install Cesar and join first. Your computer makes their copy the next time it syncs.
What Cesar's servers can see
| They can see | They cannot see |
|---|---|
| Your email address and GitHub name | What was said in a conversation |
| Who is in each workspace, and their role | A conversation's title, or the folder it came from |
| How big each conversation is, and when it changed | What your team's brain holds |
Read more
- Keys: each key, what it opens, and the algorithms used.
- Workspaces and hand-off: sharing a conversation with a teammate.