Files

48 lines
2.7 KiB
Markdown

# Tabellarius
*Tabellarius* — the Roman letter carrier. He carried sealed tablets and could not read them.
An open-source, self-hostable relay and client library for **end-to-end encrypted messages between
devices that are rarely online at the same time**. Built for Amicitia Domi; usable by anyone.
- **The relay stores only ciphertext addressed to a random mailbox id**, deletes it once delivered,
and forgets it after a fixed time either way. No accounts, no phone numbers, no contact lists, no
IP logs.
- **Encryption is MLS** (RFC 9420) via OpenMLS. Nothing cryptographic is written here by hand.
- **Only people you invited can post to your mailbox** — invitations carry a capability token.
- Runs on a home server: a NixOS module and a container image.
Read `docs/PROTOCOL.md` for exactly what the relay sees and what it does not protect against, and
`docs/VERIFY.md` for how to check every claim yourself — reproducible builds, signed SHA-256
footprints, key fingerprints and a wire inspector.
**Status:** Phase 0 — protocol and threat model under review. The workspace exists with three empty
crates and a placeholder relay binary that only prints its version; no protocol or relay code yet.
**Licence:** the whole repository, relay, client and protocol, is under the **Common Public Attribution
License 1.0** (SPDX `CPAL-1.0`, `LICENSE`), as every public Domi repository is. Versions before this change
stay available under the licences they were published with to those who received them: the relay under
AGPL-3.0-only, the client and protocol crates under Apache-2.0 OR MIT. From this commit on, the code is under
CPAL-1.0.
**Credit (CPAL-1.0 Exhibit B).** Anyone who redistributes Tabellarius, or a larger work built on it, must show
this where CPAL section 14 asks (when the user interface opens, or on an *About* screen):
> Built on Domi · https://aula.marek-novak.cz · Copyright (c) 2026 Marek Novák
The relay's invite page (`GET /join`) shows it as text.
**Network use (CPAL-1.0 section 15).** Running a relay for other people counts as distributing it: whoever runs a
modified relay must offer its source to the people who use it, under CPAL-1.0. This relay's source is
https://gitea.marek-novak.cz/mnovak/Amicitia-Tabellarius, and the invite page names it.
**Other people's code.** The dependencies keep their own licences and are not relicensed: for example OpenMLS
(MIT) and its HPKE, `hpke-rs` (MPL-2.0). `Cargo.lock` lists them all. No third-party file is copied into this
repository.
## Building
```bash
nix build # reproducible build (Linux); `nix build --rebuild` checks it
cargo test --workspace # without Nix
git config core.hooksPath .githooks # once per clone: pre-commit size and build-output check
```