Silva Rerum

Privacy

Only you can see your entries.

Silva Rerum is built on zero knowledge. Everything is encrypted on your device before anything leaves your browser. We have no technical way to read your entries. If someone broke into our server and stole the entire database, they would see only random characters.

How it protects your journal

  • Every entry is its own safe. 500 notes and tasks means 500 independent locks. Opening one reveals nothing about the rest.
  • Search that knows nothing. The index has its own key, so you search your entries fast while the server never learns what you search for.
  • Hidden metadata. No outsider can tell an entry's type, when it was created, or its size.
  • No lag. Encryption runs smoothly in the browser, on phones too, and never slows your writing.

Military-grade cryptography

  • Your data is protected by military-grade cryptography. Think of a safe: the door key is made from your password, and every compartment inside has its own lock.
  • Password guard (Argon2id). Turning your password into a key is deliberately heavy work for a computer, so anyone trying to guess it, even with powerful hardware, is drastically slowed down.
  • Key factory (HKDF). One master key produces separate keys for content, search and metadata.
  • Sealed lock (XChaCha20-Poly1305). It encrypts your data and seals it at the same time, so you know nobody has tampered with it.
  • Secure courier (X25519). Lets your devices agree on a shared key safely, even if someone is listening.
  • How it works: you enter your password, the guard turns it into a parent key, and the parent key unlocks a random master key. The factory makes separate keys from it, and every single entry also gets its own random key.

Only you hold the key

We never store your password. If you lose your password and all 3 recovery codes, your data cannot be recovered, not even by us. Write the codes on paper and keep them somewhere safe.

For the technical

  • Suite SR-SUITE-1: Argon2id (RFC 9106; t = 3, p = 1, m = 64 MiB; journals created before the parameter change may keep p = 4 until a password change or recovery-code renewal — each wrapping opens with the parameters stored with it), HKDF-SHA-256, XChaCha20-Poly1305, X25519. Libraries: libsodium (WASM) and @noble/hashes; tested against RFC/NIST vectors.
  • Keys: password → Argon2id → wrapping key → random journal master key (256-bit) → HKDF → separate content, index and metadata keys; each object has its own random key.
  • Where the key lives: by default only in the browser tab's memory, so you enter the password on every open. “Remember on this device” (off by default) keeps a non-extractable AES-GCM key in IndexedDB.
  • What the server sees: account and journal IDs, write times, opaque object IDs and versions, SHA-256 checksums, sizes padded to buckets, encrypted key wraps. Never content or passwords. Database: PostgreSQL with RLS (deny by default, own data only), append-only writes.
  • Key loss: recovery works with your password or one of your codes (each code is single-use). Without them, the data cannot be restored. More paths: k-of-n key splitting, device pairing, succession.
  • Export: JSON (1:1 import) and plain text, always available.
  • What we don't promise: the browser version protects against whoever stores the data and against disk access, but not against code being swapped by whoever serves it. Code integrity: SRI and self-hosting. An unlocked browser profile with “remember” on opens the journal.
  • If you connect a bot, the server stores the encrypted messages between the bot and your device until they are collected, their count per time window (limit) and the connection’s validity dates. The server does not know the messages’ content.
  • When your device replies to a bot, the server records a trace: which bot connection, when, and whether the bot got data, a refusal (with the refusal code) or a notice that the card had changed — no content and no journal dates.
  • Bot keys are created and stay with the bot — the Silva Rerum server does not know them. When a bot downloads the client program from the Silva Rerum website, the server sees only the download itself (network address and time), not your journal content.
  • The server sees how many encrypted records your journal sends and when — not what they are about.