Security

What Tabtrax encrypts, what stays on your iPhone, and what a server can still see. No anonymity claim.

Tabtrax is built so a server operator cannot read your expenses, contacts, or balances. That is not the same as hiding that you used the service. This page is plain language. Algorithm names and package layout are on Developer.

What is encrypted

Before anything leaves your iPhone, Tabtrax seals it into a fixed-size packet. Amounts, notes, categories, and who is involved stay inside. Every stored blob is 2524 bytes, so a row does not give away content by its size.

Invites use X-Wing through HPKE. Stream packets use AES-256-GCM. The server stores a 16-byte tag and the blob. It does not receive keys that can open them.

A packet opens only with the stream key for that slot. Pair streams are established when you connect, sealed to each person’s public key — the same trust anchor as comparing a safety number. HMAC-SHA-256 names the slot; it is not a separate code on each expense.

What stays on the device

Your identity is a fingerprint derived from a 24-word recovery phrase. Email is only the write credential for a server. It is not your identity. A different email can still sign in; packets are not tied to the account.

The 24 words and the private keys stay on the phone. Contacts, invites, your records, household marks, and settlement include or exclude choices are encrypted on your self stream and come back with the phrase and the same server. Recurring templates, category icons, appearance, and budgets stay on this phone and do not. If you wipe the phone without the phrase, you cannot open what the server still holds.

What a malicious server can still see

A conforming server stores packet rows of a 16-byte tag and a 2524-byte blob. A tag holds at most four packets. Rows are not updated or deleted. A row does not carry an account, a time, a record type, an amount, a note, or a participant list.

While it handles an authenticated write, the server can still see that account, the source IP, timing, and request order. Reads that ask for tags are not tied to an account. A conforming server keeps those observations off packet rows and operational logs. A malicious server can retain what it sees, and it can withhold packets. The protocol does not detect that.

Tabtrax hides the amounts. It does not hide the traffic, and it does not claim anonymity. A shorter account of stored rows versus network metadata is on What the server sees.

Limits that are yours to hold

These are outside what the protocol can protect:

  • A stolen unlocked device — someone who can unlock the phone can read what is already there.
  • A leaked recovery phrase — anyone with the 24 words and the same server address can restore the identity. Email is only the write credential.
  • A leaked invite — anyone holding the link can ask to connect. They cannot write expenses until you accept. There is no control that retires an old link. Blocking is permanent and stops new records; saved records stay.
  • An unencrypted activity CSV — export writes amounts and notes in plaintext. Anyone who has the file can read it.
  • A participant who discloses plaintext they legitimately received — encryption does not stop someone you shared with from repeating what they saw.

Display names are labels you assign. They travel inside your encrypted self stream, which the server cannot read. Only comparing the safety number out of band authenticates who you are talking to. There is no bank connection and no web client. This version does not keep two phones in sync.

Where to read more

How the pieces fit is in How the protocol works. Key derivation and packet sizes are on Developer. The product repository’s docs/SPEC.md is the normative protocol. When published, the source will be linked from GitHub. This site does not restate every wire field.