Skip to content
Trestle Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Privacy and data

Where board data lives, how workspace isolation works, and what backups retain.

This note explains plainly how Trestle (https://trestle.komputa.io) stores and protects your workspaces and boards. Read this before putting confidential business data into Trestle.

What Trestle is (and is not)

  • Role-isolated multi-tenant server, NOT zero-knowledge E2EE: Your boards, edit history, and comments are stored in PostgreSQL on the Trestle server so the server can coordinate live co-editing, version history, and large exports. They are not end-to-end encrypted with client-only keys.
  • Database-enforced tenant isolation (PostgreSQL Row-Level Security): Every workspace-owned table is protected by PostgreSQL Row-Level Security (ENABLE + FORCE ROW LEVEL SECURITY) running under a non-superuser trestle_app database role, backed by application query filters. No user — including the server operator’s normal Trestle account — sees any workspace they have not been invited to as a member.
  • No silent external syncing: Trestle does not copy your boards to Nextcloud, OpenCloud, or the operator’s personal machines.
  • Encrypted session key ring: ASP.NET Core Data Protection keys stored in PostgreSQL are encrypted at rest with AES-256-GCM using a key stored outside the database.

Where your data is

Data Location
Workspaces, members, roles, invites, boards (.xmind versions), live edit ops, and comments PostgreSQL 18 on the Trestle service host (homelab01, operated by John Kattenhorn / Komputa)
Your account & paired device sessions The same PostgreSQL database (password hashed with salted key derivation; revocable device tokens hashed at rest)
Desktop offline cache (optional, when using the desktop app) Local unencrypted cache in your user profile directory (~/.local/share/trestle/ on Linux, ~/Library/Application Support/Trestle/ on macOS, %LOCALAPPDATA%\Trestle\ on Windows) with owner-only permissions

Who can read your data

  • Members of your workspace can read, comment on, edit, or administer boards strictly according to their workspace role (view, comment, edit, admin) and any per-board grant.
  • Other workspaces’ members cannot see or access your workspace; the API returns 404 Not Found and PostgreSQL RLS refuses cross-workspace rows at the database layer.
  • Server host administrator (John Kattenhorn): As the infrastructure operator of homelab01, John has root access to the underlying host, PostgreSQL admin role, and encrypted/host backups for maintenance and disaster recovery. His normal Trestle user account has zero access to your workspace unless you explicitly invite him.
  • Optional AI features: Off by default. External desktop and web builds do not send board text to any AI provider unless explicitly configured and enabled by a workspace admin.

Backups and deletion

  • Nightly database dumps: Kept for 7 days on host; snapshots retained up to 30 days in Kopia backup storage.
  • Workspace deletion: Any workspace admin can delete their workspace at any time. Access stops immediately (404 Not Found), with a 30-day restore window before automated permanent purge removes all boards, versions, live ops, comments, members, and invites (retaining only the workspace slug tombstone so the slug cannot be reused accidentally).
  • Backup expiry: Deleted data expires out of nightly dumps after 7 days and out of Kopia snapshots after ~30 days.

Was this page helpful?