Skip to content

Security and privacy

Arca holds sensitive data: identity numbers, contracts, health records, scans of your documents. This page says what Arca protects, what it leaves to you, and what to check before exposing it to the Internet.

What is not encrypted

The database and the documents are stored as they are on disk: they are not encrypted, health data included. Anyone who can read the disk can read them: whoever has access to the computer, the Docker host, the volume or a copy of it. This is a deliberate choice: encrypting the disk protects the same data, with tools made for it, and keeps Arca simple. This includes the text of PDF documents (kept for the search).

  • Encrypt the disk that holds Arca's data: LUKS on Linux, BitLocker on Windows, FileVault on macOS, the encryption of your NAS or of your virtualisation host.
  • Treat the server's administrators as people who can read everything.
  • A document you delete is erased from the disk, but the backups made before keep it until their rotation removes them.
  • The container's log (docker compose logs arca) lists the pages requested, without what follows ?: your search terms do not land there. The address of a calendar feed does, token included.

The drop folder, often a network share, holds your documents in clear until Arca takes them, readable by whoever can read that share. Files Arca refuses stay in its refused folder until you remove them.

What is encrypted

Backups and exports are encrypted with your recovery key, shown once when you turn backups on. The server keeps only the public half of the key: it can make archives, not read them. Any storage will do for the copies, a consumer cloud service included.

  • Keep the recovery key away from the archives: in a password manager, or printed (the emergency kit).
  • A lost recovery key cannot be recovered: the archives can no longer be opened.

See Automatic backups and Off-site copies.

What leaves Arca

Nothing, except what you set up: no telemetry, no update check, no outgoing network call of its own, unless you turn on notifications.

The photo of an identity document that you give to Quick add is read on the server by Tesseract, a program installed with Arca: it is never sent anywhere. Until you save the record, the photo waits in a temporary folder that the backups do not include; it is deleted when the record is saved, or after 24 hours if you abandon it. Of what is read, Arca keeps the name, the expiry date, the document number and the issuing country: the birth date, the nationality and the sex are neither kept nor shown.

The calendar feed is a first exception you choose to make. Its content is kept to a minimum: the record's title, the action, the dates and the category, never the reference number, the amount, the organization or the notes. But the calendar that subscribes to it (Google Calendar, Apple, a phone app) sees and keeps those titles.

  • The feed's address works without a password: treat it as one. If it leaks, regenerate it on the Calendar page; the old address stops working.
  • Per-person feeds follow the same rule.

See Calendar feed.

Notifications by ntfy, off by default, are the only call Arca makes on its own: once a day at most, a recap with the same minimal content as the calendar feed (record title, action, date), sent to the ntfy server you chose, whose operator sees it. Prefer your own server; on a public one, keep random topic names or an access token. The token is stored in clear in the database. See Notifications.

An AI assistant, if you connect one, is the other exception. With an online AI (Claude, ChatGPT…), what the assistant reads goes to its vendor: the records it looks up, the text of documents, the documents you give it. A local AI client keeps everything at home. See What leaves your server.

Who can sign in

Arca has one account, and it sees the whole household's data. Share it with nobody you would not show every record to.

  • HTTPS as soon as Arca leaves your local network: behind a reverse proxy, with ARCA_HTTPS on.
  • Login attempts are limited per address. Behind a reverse proxy, set ARCA_TRUSTED_PROXIES to the proxy's address, otherwise every failure counts for the proxy, shared by everyone.
  • Two-factor authentication (page Security) for an installation reachable from the Internet without a proxy that already asks for a second factor. It is not needed on a local network.

See Login security.

The API and AI assistants

The API is off until you turn it on (page API access), and the AI gateway arca-mcp runs only if you start it.

  • Tokens are shown once and stored as fingerprints; each one expires (one year at most) and is revoked at once on the API access page. Treat a token like a password: whoever holds it reads your records.
  • A token that proposes changes cannot change anything without you: its changes wait on the To validate page. Prefer it for an AI assistant: it is the defence against a document carrying instructions for the AI.
  • Through the API, nothing can be deleted, no backup made or restored, no document file downloaded, no security setting changed: a deliberate limit, so that a stolen token cannot erase your data, take your backups or carry your documents' files away.
  • Expose only arca-mcp, never Arca, and only if an online assistant needs it (Claude on the web or the phone): behind HTTPS, with ARCA_MCP_TRUSTED_PROXIES set. Arca's password is never typed on its pages: a client connects with a one-time pairing code.
  • Plain tokens work through the gateway only from the networks in ARCA_MCP_PLAIN_TOKEN_NETWORKS: list your local network only. Arca's own API accepts them only from ARCA_API_PLAIN_TOKEN_NETWORKS, private addresses by default.
  • Restoring a backup revokes every token and connection and turns the API off.
  • When in doubt, revoke the token or turn off the API; the Journal shows what each token changed or proposed.

See AI assistants and API.

Checklist for an installation reachable from the Internet

  • [ ] The disk holding the data is encrypted.
  • [ ] Arca is reached over HTTPS only, with ARCA_HTTPS on.
  • [ ] ARCA_TRUSTED_PROXIES names the reverse proxy's address (the Integrity page warns when it is missing).
  • [ ] Arca's port is published to the proxy only, not to the whole network.
  • [ ] Two-factor authentication is on, unless the proxy already asks for a second factor.
  • [ ] The password is long and used nowhere else.
  • [ ] Automatic backups are on, with a copy off the server, and the recovery key is stored apart.
  • [ ] With the AI gateway: only arca-mcp is exposed, over HTTPS, ARCA_MCP_TRUSTED_PROXIES names the proxy, and ARCA_MCP_PLAIN_TOKEN_NETWORKS lists the local network only (or nothing).
  • [ ] The API is off if you do not use it, and unused tokens are revoked.
  • [ ] Arca is kept up to date.

Desktop application

The desktop application (planned) will keep its data on your computer, not encrypted either: encrypt the disk. Its optional lock only hides the window: it encrypts nothing.