sintoniadocs
Security

Public channels and protection

Immediate history, managed keys and E2EE boundaries.

On this pageImmediate access without another online participantPrivate conversations remain E2EEConfiguration and compatibilitySession isolation and performance

Immediate access without another online participant#

With PUBLIC_CHANNEL_MANAGED_KEYS=true, newly created public channels use installation-managed keys. An authorized workspace member who joins the channel can receive its key even while all other users are offline. Requests still require channel membership and an authorized device belonging to that account.

Keys are stored using AES-GCM under the installation's persistent operational key (WEBHOOK_KEY_FILE or WEBHOOK_ENCRYPTION_KEY). Public means channel visibility, not anonymous access to a secret. The authenticated key endpoint returns the secret over HTTPS with private/no-store response headers. Stored messages/files remain encrypted, but the installation operator can access managed-channel content. This is not E2EE against the server. The app explicitly labels managed public channels; their call media also derives from managed key material and must not be described as E2EE against the operator. Back up the database, encrypted uploads and operational key consistently; never replace the key during upgrades.

Private conversations remain E2EE#

Direct messages, group chats and private channels retain device-managed E2EE. Their keys are never inserted into the managed-key table. Adding a person forces a fresh directory sync after membership changes before distributing sealed packages. This avoids reusing an in-flight sync from before the invitation. A participant with access must still deliver private keys to an authorized recipient device; the server cannot reconstruct private history without a key.

Configuration and compatibility#

The DigitalOcean and development Compose examples enable this option. Standalone backend defaults remain disabled until explicitly configured; the independent self-hosted Compose supports the setting. Existing E2EE channels are not silently converted or deleted. New public channels use the new mode; clearing a local test database is a separate deliberate operation, never an upgrade side effect. V4/V5 add pagination indexes and a managed-public-key table without deleting data. No production reset is required by the release.

Recovery without history still enforces its cutoff: earlier key generations are not returned to the recovered account. Managed access does not bypass account/device revocation or channel authorization.

Session isolation and performance#

Responses started under old credentials are discarded; login resets workspace scope and logout removes conversations/drafts from memory without deleting persistent identities/backups. Administrative menus require backend capabilities. First-administrator setup is a separate token-protected path, not administrative access by opening a menu.

Active-channel keys/history/policies load in parallel, independent of unrelated channels. Background key sync is bounded and throttled; presence events update local state without reloading the entire catalog. JSON compression and cursor-pagination indexes reduce unnecessary transfer/query work. These are engineering improvements, not production load benchmarks or cross-region latency guarantees.

The flag controls creation of new managed channels. Already managed channels retain their mode/keys if the flag is later disabled; switching existing data to E2EE requires an explicit migration.

Search channels, QR codes, uploads, security…

↑ ↓ navigate ↵ open result