Security

Your chats are encrypted before they leave your computer.

This page describes exactly what we do, including what the design does not protect against. If something here is unclear or wrong, tell us.

The short version

  • Only your linked machines hold the encryption key. Our server never receives it.
  • The server stores encrypted data plus the routing it needs: account, machine, sizes and times.
  • Chat titles, project names, folder paths and file contents are encrypted along with the messages.
  • Projects you mark local-only, and messages that look like secrets, are never uploaded.
  • The code that does all of this is public, so you can check it.

Your key

When you link your first machine, it creates a random 256-bit account key and stores it in ~/.lc/key, readable only by your user. It is shown to you once as a recovery key. Each new machine asks for it when you link it.

The server keeps one small encrypted test value, so a mistyped recovery key is rejected at link time instead of quietly producing data that cannot be read.

Encryption

Separate keys for data, chat IDs and the key check are derived from the account key with HKDF-SHA256. Data is encrypted with XChaCha20-Poly1305 using a random nonce per item. Each encrypted item is bound to its purpose, its chat and its position, so the server cannot swap or reorder pieces without detection.

Chats are identified on the server by an HMAC of their ID, so even which editor chat a piece belongs to is hidden.

What the server stores

DataHow it is stored
Messages, answers, tool stepsEncrypted
Chat title, project, folder, editor formatEncrypted
Chat IDOne-way keyed hash
Machine names (for example “M1-Pro.local”)Plain text, so you can recognise them on your account page
Machine access tokensSHA-256 hash only. The token stays on the machine
Your email addressPlain text, from sign-in
Sizes and timestampsPlain text, to order and deliver updates

Linking a machine

lc link creates a random secret on the machine and sends only its hash. You approve the short code in your browser while signed in, which binds that machine to your account. From then on, the machine proves who it is with its secret. Revoking a machine invalidates it immediately.

Before anything is uploaded

  • Projects matched by excludeProjects are never captured. Those in localOnlyProjects are captured but never uploaded.
  • A scanner checks every message and chat for credential patterns such as private keys and provider tokens. Matches stay on the machine.
  • Capture is written to your disk first. The network is never needed to keep a chat.

Limits we want you to know

  • The secret scanner is a safety net. It catches common formats and can miss others.
  • The account key is a file protected by your user account, not yet stored in the macOS Keychain.
  • Keys cannot be rotated yet. A revoked machine can no longer sync, but it keeps what it already downloaded, and anyone who copied its key could decrypt data they obtain later.
  • Deleting a chat from the cloud does not delete copies already continued on your other machines.
  • Anyone with access to your unlocked computer can read your chats there, as with any local file.

Report a vulnerability

Please report security problems privately through GitHub security advisories or by email to hello@letscontinue.app, not in public issues.