Help center/Encrypted sync

ARTICLE / Encrypted sync

What is encrypted sync

Encrypted sync turns one of your own machines into a small relay. The desktop and phone browser exchange ciphertext through it, while the key stays with your devices.

The problem it solves

All of Novara's data lives on one Windows computer. To look up a password, tick a to-do or add a record while on the move, a second screen needs to see the same vault. That is exactly what encrypted sync solves: turn one of your own machines (a Windows PC, a NAS or a VPS) into a small relay, and both the desktop app and your phone's browser exchange data with it.

First, the boundary: if you do not need cross-device access, you can simply skip this. Every local feature works without a server, and no core feature requires being online.

Three parties and what each holds

PartyHoldsForbidden
PC clientLock password, SpaceKey, plaintext vault (authoritative copy)Writing plaintext into any export
NovaraSync serverSpace metadata, keywrap ciphertext, version blobsDecrypting, holding keys, logging sensitive content
Web-PWA (phone/browser)SpaceKey and plaintext inside the current unlocked sessionAny persistence (localStorage / IndexedDB / cookies)

In one sentence: the server is essentially an encrypted file store with version history. It reads envelope metadata to arbitrate conflicts and quotas, but never parses payload contents.

What end-to-end encryption means here

  • Data is encrypted before it leaves the computer (v4 container, AES-256-GCM).
  • The server relays only ciphertext blobs, keywrap records and necessary metadata — it cannot open anything.
  • The real key, the SpaceKey, is generated by the first paired PC; the server never holds it in plaintext form.
  • Decryption happens only inside a client runtime you authorize: desktop memory, or your phone browser's memory.

Although the space key's wrapping record (keywrap) sits on the server, it is encrypted with your lock password — without that password, the record on the server is just ciphertext that will not open.

What if the connection drops

Your Windows local vault is the authoritative copy. A powered-off server, a broken tunnel or an expired domain only means "no cross-device access for now" — the desktop keeps organizing, searching and editing as usual. When the connection returns, the sync engine reconciles by version; nothing is lost.

A few words used in this guide

  • Space: the container for one sync dataset, created by a one-time CLI command, with its own space id.
  • Pairing: joining a device to a space; requires the space id and the enrollment secret.
  • SpaceKey: a 256-bit random key from which every version's encryption key is derived; generated by the first paired PC.
  • Enrollment secret: the one-time credential printed when the space is created, used for device registration.
  • Read-only token: a 24-character credential for phone browsing — read access only, revocable at any time.
  • Edit credentials: credentials for the web editor that may modify data, mapped to a virtual "web-editor" device.
  • Tombstone: the sync marker for deletion, ensuring "it was deleted" reaches every device too.

FAQ

Will this become a paid cloud service one day?

No. There is no official cloud in the architecture: the server is yours, and Novara holds neither your data nor your keys. Self-hosting is not the budget tier — it is the design decision.

Does encrypted sync change my local vault format?

No. The sync payload is itself a standard v4 encrypted backup container; the local vault format, the snapshot format and the sync contract never interfere with each other.

Does a second computer need a new space?

No. There is only one space; the second device pairs by "joining an existing space" and needs the space key — see "Add more devices".