Skip to content

Security

The server is treated as untrusted.

That is the assumption Cipher Chat is built on. This page describes what follows from it – and where the limits are.

On your device

ML

Mara Lindqvist 14:02

The contract is signed. Details in tomorrow’s meeting.

On the server

Mara Lindqvist # Product 14:02 312 B

What the server knows and what it does not

The content is encrypted. To be able to deliver it, the server knows the circumstances.

The server knows

  • Accounts: name and email address from your identity provider
  • Rooms: their name and who is a member
  • When a message was sent and how large it is
  • Reactions: which emoji on which message, and which item of a checklist is ticked (not its text)
  • The public keys of your devices

The server does not know

  • The content of your messages, pinned ones included
  • The content and the names of your files
  • The audio and video of your calls
  • What you search for
  • Your private keys and the recovery phrase

The building blocks

Known protocols, not home-made ones

Messages are encrypted with Olm and Megolm, the protocols from the Matrix ecosystem. Cipher Chat uses the Rust library vodozemac for this, in the browser as WebAssembly.

Every message is bound to its place

The ciphertext is bound to its message, room, revision and sender. The server cannot replay an old message or pass it off as someone else’s.

Devices vouch for each other

With cross-signing you confirm your own devices. Whether a device receives keys is decided by your device – not by the server.

Verification by comparing emoji

Two people compare a short sequence of emoji over a channel they trust, ideally in person. If it matches, nobody sits in between.

Recovery without a back door

The backup of your keys is stored encrypted on the server, protected by a recovery phrase only you know. Without the phrase, nobody can open it.

Calls: every device encrypts for itself

Audio and video are encrypted per participant. The keys for it travel over the same secured channels as the message keys.

Strict rules in the browser

A strict Content Security Policy and cross-origin isolation limit what may run in the tab at all. The app loads no code from other servers.

Sessions depend on the identity provider

Open connections are checked against your identity provider continuously. A removed device is signed out at once.

What Cipher Chat does not promise

You should know these points before you decide.

Metadata stays visible
The server knows who communicates with whom, and when. Whoever runs it sees this connection data.
Meetings are not end-to-end encrypted
Meetings by link are encrypted in transit and run through your own media server. End-to-end applies to calls.
Summaries need plain text
For a call summary, the transcript goes to the server and to the language model set up there. That happens only with consent – and only if you set the feature up.
The program comes from the server
As with every web app, the browser loads the program from your server. Whoever controls it controls what is delivered – a reason to run it yourself.
The recovery phrase is in your hands
Without the phrase and without a signed-in device, the history so far cannot be restored. Nobody can reset it.

Questions about the architecture?

We are glad to go through the details with you and your IT.

Request a demo