Cortex
Search help⌘K

End-to-end encryption in plain words

Updated 21 November 2026Cortex 0.29.04 min read
On this page

Why the server cannot read what you share, what it does see, and post-quantum keys.

When you share in Cortex, the files are locked on your Mac and unlocked only on the recipient's Mac or in their browser. The server in the middle stores and passes on locked data. It cannot unlock it. This is what "end-to-end encrypted" means here, and this article explains what it covers and where it stops. For the exact formats, see the technical page, Security.

The idea in four steps

  1. Every share gets its own random key. Your Cortex uses it to lock each file, and the share's title, message, file names and folder layout.
  2. That key is locked again, once for each recipient. It is locked to the recipient's Cortex ID key, a key only they can open. The server stores these sealed boxes. Yours is among them, so you can read your own share on any of your Macs.
  3. The recipient's Cortex or browser opens its box, gets the share key, and unlocks the files on their side.
  4. Someone who has no Cortex ID yet gets no key at all at first. When they have made one, your Cortex, the next time it is online, locks the key to theirs. See Share with someone who doesn't have Cortex.

A public link works differently. Its secret sits in the link after the #, which a browser never sends to a server. See Share by public link.

The server does no encryption of content at all. It only checks signatures and stores what it is given.

What the server can see

Metadata: the things it needs to deliver a share.

  • who shares with whom, by address, and when;
  • a share's type;
  • how many files, how large they are, and how many versions;
  • the times of things;
  • your addresses and devices, and everyone's public keys and their history;
  • who talks to whose mini, and when, and a listed mini's card, which is its alias and title;
  • for a PDF signed in Cortex: who signed it, with which key, when, and the file's hash, size and page count;
  • the encrypted data itself, which it cannot read.

What the server cannot see

  • the content of any file;
  • file names, folder structure and file types, even whether an entry is a file or a Cortex object;
  • the share's title and message;
  • a mini copy's definition and knowledge;
  • the words of a conversation with a shared mini;
  • a signed PDF's title, pages and the drawing of the hand signature, which are sealed under a key that is only in the paper's QR code (see Signing PDFs, in short);
  • your Cortex ID key.

A breach of the server, its disk or its backups would yield only encrypted data and metadata. So would a curious operator.

Post-quantum keys

Anyone could record encrypted data today and hope to open it with a quantum computer in the future. To stop that, every key exchange in Cortex is hybrid. It combines a classic scheme (X25519) with a post-quantum one (ML-KEM-768), in a combination called X-Wing. An attacker would need to break both. Files themselves are locked with AES-256-GCM.

One honest nuance: the signatures that prove a request came from your Mac use a classic scheme. A signature has to be forged at the moment it is checked, so recording one today gains an attacker nothing later.

Conversations with a shared mini

A conversation between a visitor and your mini is locked between the two Macs, with a handshake that proves each side holds its Cortex ID key and gives them keys that are thrown away with the conversation. A key stolen later does not open a conversation recorded before. The server relays the frames and reads neither. See Let people talk to a mini of yours.

Where it stops

  • Revoking is not un-reading. It stops the server serving a share to someone at once, and your next version uses a key they never get. What they already read or saved cannot be taken back.
  • A false key. The server could in principle hand your Cortex a key that belongs to someone else. The key log, co-signed by independent witnesses, makes that leave evidence, and Cortex checks it before it encrypts. For certainty right now, compare a fingerprint with the person.
  • The browser. A web page runs code the server hands it. A signed, checkable release helps, but Cortex is stronger. See The browser versus the app.
  • Metadata is visible, as listed above.
  • Your own Mac. The key and the unlocked files are on your Mac. If someone controls your Mac, they control them.

Something wrong or missing? Tell us

Open this page in your browser