Help center/Encrypted sync

ARTICLE / Encrypted sync

What the server actually holds

The server holds encrypted records, wrapped space keys, tokens, and minimal metadata. It never receives plaintext, your vault password, or the space key in clear form.

The complete list

The table below lists, item by item, how the NovaraSync server relates to your data. The source of truth is the server security baseline maintained with the code (deploy/SECURITY.md); any implementation violating one line of it is a defect.

ItemServer
Sync ciphertext containers (blobs)Holds — ciphertext, AES-256-GCM; the server cannot decrypt it
Keywrap recordsHolds — ciphertext: your SpaceKey wrapped with your lock password
Device tokens / read-only tokensHolds only SHA-256 hashes (plaintext appears exactly once, in the issuance response)
Enrollment secretHolds only the SHA-256
SpaceKeyNever held — generated by the first paired PC and only ever handled as keywrap ciphertext
Plaintext data, vault password, passphrasesNever held, never touched

Log discipline

The server security baseline makes log redaction a top-priority prohibition: Authorization headers (device tokens, read-only tokens), blob contents, enrollment secrets, and token or edit-credential plaintext are never allowed into logs or error messages.

Auditing and logs record metadata only: which space, which device, what action, the result, byte counts, timestamps. The current server version ships no application-level log at all — the constraint is written for the future: any new log line must not carry the items above; debug logs may record shape only (lengths, hash prefixes, status codes), never content.

Where this data lives

ContentLocation
Configuration metadata<data directory>/novara-sync.db
Ciphertext of each version<data directory>/spaces/<space id>/blobs/<version>
Device tokens and keywrap recordsInside the same database (ciphertext and hashes only)
Phone-side pagesNovara.Web/ under the server directory

How to check it yourself

  • All /api responses carry Cache-Control: no-store set by the server — true even when bypassing the reverse proxy.
  • The redirect for /web (no trailing slash) is a relative address, not built from the request Host — if you see no internal address, it is correct.
  • Security response headers such as CSP are emitted by the server on every response — present even through tunnels that bypass the reverse proxy (like a temporary review channel).
  • The whole data directory can be copied away directly — it is all ciphertext; still, treat it as sensitive files.