Protocol and key model
- Version
- 1.0
- Date
- 14 November 2026
- Report a vulnerability
- hello@culma.eu
This document explains why the server Culma syncs through cannot read your notes, and where that protection stops. It states the design and leaves out the wire format. Every "never" and "cannot" in it describes the software as it ships on the date above. Anything not yet built appears only under limitations.
1. Scope and version
It covers the Culma apps for Linux, Windows, macOS, Android and iOS, the browser client, and the sync server they talk to, Culma Node, whether we run it or you do. In this document that server is called the node. The hub is our account and billing service.
This is version 1.0 of 14 November 2026. Any change to what it states is published at this address under a new version number and date. The English text is the normative one.
Report a vulnerability to hello@culma.eu. The address reaches the people who build the software. Please give us a reasonable time to fix a problem before you publish it.
The security page lists what the node stores, what we can read and how long we keep it. This document is the reasoning behind that table.
2. Threat model
What is protected: the content of notes and whiteboards, including titles, file and folder names, attachments, comments, version history and view state. Also who belongs to a vault and with which role.
Against whom:
- The node and whoever operates it. That includes us, anyone who obtains its disks, and anyone who compels its operator. The node stores and relays sealed data and holds no key that opens any of it.
- The network between your devices and the node.
- A removed member, for everything written after the removal.
- The hub. It knows who pays, for which plan, and how many people the plan covers. It holds no vault key, and it is not told which vaults a payment covers.
Out of scope:
- A compromised device. A program running as you while Culma is unlocked can read what you can read.
- The code a browser loads (section 9).
- Traffic analysis. Sizes, timing and network addresses remain visible (section 8).
- What someone you shared with has already seen.
3. Primitives
| Algorithm | Used for |
|---|---|
| XChaCha20-Poly1305 | Sealing every change, snapshot and attachment, and the files that hold keys on a device |
| ChaCha20-Poly1305 | Encrypting a live session between two devices, under a key derived from the vault's or folder's key and fresh for each connection |
| X25519 sealed boxes (with XSalsa20-Poly1305) | Envelopes: a key sealed to one device's or one person's public key |
| Ed25519 | Signatures: on every change, every membership record, and every request that destroys data at the node |
| HMAC-SHA256 | Every key derivation, each with its own label |
| SHA-256 | Content addresses |
| Argon2id | Wherever a person types a secret: a link's password, the recovery phrase, the passphrase that protects keys on a device |
| A password-authenticated key exchange (PAKE) | Pairing two devices with a one-time code |
| RSA blind signatures | The tokens that admit a device to the node, so the hub never sees what it signs |
| TLS | Every connection between a device and the node. The apps' direct connection requires TLS 1.3. No claim in this document relies on TLS for confidentiality. |
4. Keys
Device keys
Each device its own. Envelopes are sealed to them.
Vault master key
Owners only. Random, and every key below derives from it.
Home key, per generation
Every member of the vault.
Folder key, per generation
A shared folder: the vault's members and the folder's own.
Subfolder key
A subfolder shared further: the folder's readers and its own.
Restricted folder key
Derived from the master, not from home: owners and the folder's members only.
Note keys
Derived from the key of the folder, or home, that owns a note, per note and note generation. They open its chunks.
A line down means derived: whoever holds a key computes every key below it and none above.
Also reaches a member who cannot derive it, sealed to their device's key: an envelope.
- Device keys. Each device mints its own key pairs for signing and for receiving envelopes. Their private halves never leave the device.
- The person. A person has an identity secret, from which their identity in each vault is derived. It travels only to that person's own devices, when they pair, and in the sealed recovery copy (section 7).
- The master key of a vault is random. It is minted on the device that creates the vault and held by the vault's owners alone. Every other key of the vault derives from it.
- The home key is derived from the master key and opens everything in the vault that is not separately restricted. Every member of the vault holds it.
- Folder keys. A folder shared with people beyond the vault gets a key derived from the home key. A folder that fewer people may read gets a key derived from the master key directly, so the vault's other members cannot derive it. A subfolder shared further derives from its folder's key.
- Note keys derive from the key of the folder (or home) that owns the note. Each is specific to one note and to that note's own generation.
- Generations. Each of these keys exists in numbered generations. A rotation mints the next generation. What was sealed stays under the generation that sealed it, and new writing uses the new one.
Whoever holds a key can compute every key below it and none above it. A key reaches a device only by derivation from a key it already holds, or sealed to a key it holds. The node carries such envelopes and can open none of them.
On a device, the keys are kept in the operating system's keystore or under a passphrase, as the security page describes.
What a person deliberately takes out of the vault is outside this protection: plaintext files, which a person can turn on for a desktop device, and exports, which are ordinary archives. So is a notification's text in the operating system's history.
5. People, devices and membership
Every change is signed by the device that wrote it, and the signature sits inside the encryption. A device that cannot sign writes nothing. A change that carries no signature is not read. Attachments are sealed too, and addressed by the hash of their content, which is what checks them.
Membership is a chain of signed records, sealed inside the vault: admissions, role changes, removals and device revocations. Each record must be signed by someone the chain entitles to make it, all the way back to the founder's self-signed first record. A device is certified by its person, and a person is admitted by someone already entitled to admit.
Clients decide what they accept, not the node. Every device checks every incoming change against the chain. It accepts the change, refuses it, or holds it aside until it can decide. A removal names the point after which that member's changes are refused. The node knows no roles and decides nothing about membership. A member running a modified client can make the node store bytes, but the other members' devices will not accept changes the chain does not allow.
6. Sync and the node
Notes travel as sealed chunks. Each change is one chunk, addressed by the hash of the change, so the same change has the same address on every device. The node sees the address, a short header and the size. The header says what kind of chunk it is and which key generations sealed it. The content, the author and the signature are inside the seal. Titles and paths exist only inside sealed documents.
The node stores and relays. A folder's chunks live in a bucket at the node. The bucket is named by a value derived from the folder's current key. To write there, a device proves it holds that key. Live sessions between two of a vault's devices pass through the node, encrypted end to end. The node holds no key that opens a chunk or a session.
For sync, devices talk only to the node, never to each other directly. Every connection uses TLS. The apps also check that the node holds a license signed by keys built into the app, for the host they dialed. An unencrypted connection is accepted only to the same machine.
The node enforces seats. An enforcing node serves a device only after the device proves it holds a key that a seat covers, or, for a read-only viewer, a viewer's token. For each organization, the node keeps a readable list of its seat public keys. The list holds keys only: no names and no email addresses. The tokens that admit a device are issued by the hub as blind signatures, so the hub cannot tell which vault or folder a token it signed is used for.
Waking a phone. A phone in the background holds no connection. When a vault it holds changes, the node sends it one empty push after a random delay of up to ten seconds. On Android this is a data-only message whose single field is a constant. On iOS it is a background notification with no text. Every push uses the same fixed collapse key. The phone then syncs and writes any notification itself.
7. What happens when
- Creating a vault. The device mints the master key and signs the founding record.
- Pairing a device. A one-time code is typed or scanned on the new device and keys a PAKE run through the node. The new device receives the person's identity and the person's sealed set of vault keys. A paired device is you, so pair only devices you control.
- Inviting someone to a vault. The first invitation rotates the home key. The new member receives the home key from that generation on, plus each note's current state. They do not receive the history before it. The invitation link holds a random key after the "#", which a browser never sends to a server. That key opens an envelope at the node, and an optional password protects it. Until the inviting device sees the link used, anyone holding it (and its password) can use it.
- Sharing a folder or a note. A key is derived for it, and members who cannot derive it receive it in envelopes. A share link works like an invitation link.
- Removing a member. The key generation rotates for everything the member could read, and for everything derived from it. Notes shared into those folders from elsewhere get new note generations. The chunks move to a bucket the removed member cannot name. The removed member keeps what they had already fetched and can read nothing written afterwards. Their device, if it runs our client, deletes the vault.
- Taking a note out of a shared folder. The note's generation advances, so the folder's members cannot read what is written afterwards. The note's chunks are removed from the folder's bucket.
- Removing an owner, or revoking an owner's device. The master key rotates, which rotates every key in the vault. The vault's chunks are re-sealed under the new keys.
- Revoking another device. The keys that device held rotate, once an owner's device sees the revocation. If it runs our client, it deletes the vault.
- The recovery phrase. Twelve words, shown to the person and kept by them. A public key derived from them goes into the person's set. Each device uploads to the node a copy of the person's identity and vault keys, sealed to that public key. Devices can write the copy but cannot read it, and neither can the node. A phrase made in the first format, before October 2026, is readable by the person's devices, and the app asks for a new one. Recovering from the phrase opens the copy on a new device. A revoked device is dropped on the way, and from then on it can no longer update the copy.
8. What the node sees
The security page lists the surfaces. In addition:
- Per chunk: the random id of the note it belongs to, its kind, its key generations, whether it is compressed, its size and when it arrived. From these the node can tell how often and by how much each note changes. A compressed size is a fingerprint of sorts.
- Per organization: the seat public keys described in section 6.
- Per device: an identifier, in each vault. A request that destroys data at the node carries the requesting device's identifier and signature, and the node keeps them in an audit log.
- For phones: the push token, for up to 30 days without a fresh registration. The node also knows which devices it wakes and when. Google and Apple see every push they deliver.
- Connections: network addresses and times.
- The hub knows the payer's email address, the plan and its dates. The node fetches the issuer's public keys from the hub and renews its own license there, reporting only totals: buckets, bytes stored and seats.
A device sends no telemetry or crash reports. Model files for search and dictation come from the node (ours, for a device that has none) and are checked against digests built into the app. Search and dictation run on the device. Language-model features send text only to an endpoint someone has configured: the device's own, one an owner has shared with the vault, or a member's device that offers its model to the vault over an end-to-end encrypted session. Culma runs no such endpoint. Adding a web page or a picture by its address fetches it directly from that site.
9. Limitations
- No independent audit yet. We will not use the word until a report exists and is published with its findings.
- Removal is forward-only. A rotation means a removed member cannot read what is written afterwards. What they already fetched stays theirs, on any client, and nothing calls it back.
- The browser client is only as trustworthy as the server that delivers it. The keys are made and used inside the browser, but the code that uses them comes from our server on every visit. In the browser, a passphrase is optional; without one, the keys sit unprotected in the browser's storage.
- Device names and platforms. The keyring a device serves to its person's other devices through the node carries those devices' names and platforms in a form the node can read. A fix is in progress.
- The client is closed source. This document, the security page and the traffic the apps send are what you can check. The source is not.