buenomini

trueseal

End-to-end encrypted sync for Swift, Kotlin and TypeScript apps, with a relay you run yourself.

E2EE sync SDK and relaytrueseal.devdocsgithub
status
Heading to the 0.6.0 developer preview
core
Rust, with Swift and Kotlin bindings via UniFFI
typescript
Node SDK via napi-rs (no browser yet)
relay
Go, one container, self-hosted
transport
Noise XX and NK over TCP
license
Apache-2.0

trueseal is the private sync layer an app builds on: pairing, keys, the offline outbox and delivery are already in there, so you get end-to-end encrypted sync across devices in about ten lines. There are no accounts. Your devices talk through a relay you run yourself, and the relay stores and forwards blobs it has no keys to read. trueseal only delivers messages. Your app owns its data model and decides what happens when two devices disagree (hush-clip does last-writer-wins).

It started because I wanted a clipboard with history (that's hush-clip now), and it grew out of the sync layer inside hush. This is the project I spend most of my time on.

The Rust core is at v0.5.0 and the next release is the 0.6.0 developer preview. Nothing is on npm or Maven yet, and 0.x can still break things between releases. The threat model, the limitations and everything else live in the docs, so this page stays short.

NK pushXX deliverackYour appdevice Atrueseal-syncRust coreRelayGo, self-hostedstores until acktrueseal-syncRust coreYour appdevice BQR codein person NK pushXX deliverackYour appdevice Atrueseal-syncRust coreRelayGo, self-hostedstores until acktrueseal-syncRust coreYour appdevice BQRin person
Figure 1. How a message travels. The relay only ever holds ciphertext, and devices pair in person with a QR code.

Written along the way