LorcaDocs

Security

Your identity is a key pair you hold. Everything that leaves a device is encrypted first.

Lorca uses a local key pair for identity and end-to-end encryption to sync data between paired devices. The relay stores public keys and ciphertext.

Your identity is a key

Creating an identity makes a 32-byte secret on your first Device. Everything else is derived from it. The backup phrase is that secret written as thirteen groups of four characters.

  • The secret stays on the device that created or restored it.
  • Whoever holds the phrase holds the account. Lorca cannot recover it for you.

What is encrypted

Everything with meaning: bot names and descriptions, chat titles, messages, attachments, device names, provider credentials, and the contents of push notifications. Each is encrypted on your device with your account key (XChaCha20-Poly1305) before upload. Work sent to a bot on another computer is sealed to that computer's public key, so only it can open the job.

What the relay sees

The relay storesThe relay never sees
Your identity's public key and your devices' public keysNames, titles, messages, files
Encrypted blobs with their size, order, and timestampsBot profiles and descriptions
Random ids that group a chat's blobs togetherProvider API keys and tokens
Which device keys are online, and when they last connectedWhich devices are Runners
A phone's push tokenWhat a notification says

Devices prove who they are by signing a challenge with their key. There is nothing to phish.

Pairing

A pairing code carries a one-time public key. The new device sends its keys sealed to that one-time key; the existing device answers with the account key sealed to the new device. The relay passes both messages without being able to open either. A code expires after ten minutes or when you cancel it.

Unpairing

Unpairing a device makes the relay refuse its key for good. The device deletes its keys, credentials, and chats the next time it connects.

Deleting your account

Settings › Advanced › Delete Account on the Mac removes everything the relay holds for the account (chats, attachments, bots, provider credentials) and unpairs every device, which then deletes its own copy.

A relay also lets go of an account nothing has touched for a year: no device connected, nothing synced. Your devices keep what they have, and the first one that comes back registers the account again.

On your computer

  • Keys, credentials, and chats are files under ~/.lorca/, readable only by your user.
  • Bots run as your user and shell commands retain that user's full computer access after Auto-review allows them. See Tools.
  • Plugin secrets and sign-ins stay on the Runner where the plugin is installed.
  • Bot memory is scrubbed of anything that looks like a credential before it is written.
  • The desktop app talks only to its own local service on 127.0.0.1. That service is the only thing that talks to the relay and to AI providers.

What AI providers see

A bot's turn sends the conversation, its description, and its tool results to the provider you connected, under that provider's terms. That traffic goes straight from the Runner to the provider, never through the relay.

Updates

The macOS app is signed and notarized. Updates are verified against a signing key built into the app before they install.

On this page