Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

End-to-end encryption: the admin’s view

Every workspace is standard or end-to-end encrypted. In an encrypted workspace, only the members’ devices hold its keys: your server stores what it can’t open. This page is what that means for you as the person running the server. What it means for the people using it is in Encrypted workspaces; the design, with its threat model and formats, is in End-to-end encryption design.

Settings

[e2ee]
enabled = true            # false: nobody can make or convert an encrypted workspace
new_workspaces = "ask"    # or "encrypted", or "standard"
server_ai = true          # whether owners may let the server's AI read pages when asked
agent_devices = true      # whether people may add agent devices
KeyDefault
enabledtrueOff, nobody can make an encrypted workspace or convert one. Those that exist keep working.
new_workspaces"ask"What a new workspace is: "ask" lets each person choose, "encrypted" or "standard" decides for everyone
server_aitrueOwners of an encrypted workspace may turn on Let your server’s AI read pages when asked. Off removes the option.
agent_devicestruePeople may add agent devices. Off turns them off for the whole server.

What you can and can’t do

You can see who is in each workspace, how many pages it has, their sizes and when they change; remove people from workspaces; and turn the features above off.

You can’t read an encrypted workspace, and you can’t get one back for someone who lost every device and their recovery key. drusite-server account recover gets them back into their account and their standard workspaces only. People who share a workspace with them can give it back once they start over with new keys.

What the server still knows

The server stores, for an encrypted workspace: who the members are and their roles, how many pages and files there are and how big, when they change and from which device, and (if owners turn analytics on) view counts. It doesn’t store titles, text, properties, file contents, search words or vectors. The design has the full list, and what encryption doesn’t protect against.

What changes for server features

FeatureIn an encrypted workspace
SearchOn the members’ devices. The server builds no index.
Ask, search by meaning, meeting notesOn the devices, with models kept on them; or, if an owner allows it, through the server’s or account models one request at a time, with nothing kept
AgentsThrough an agent device or the desktop app’s local MCP; the server’s /mcp points agents at the agent device
Publish to webThe editor’s device uploads a readable copy of each published page
AnalyticsOff unless an owner turns it on

The server’s AI

When an owner turns on Settings → AI → Let your server’s AI read pages when asked, a device sends the text the server needs for one request (an Ask question’s sources, blocks to embed, a recording to transcribe). The server uses it for that request, records it in the AI audit log without the text, and keeps nothing else. It never gets a key. The app shows that the option is on wherever the workspace’s lock is shown.

Backups

Backups of an encrypted workspace can be restored without the master key, because the members’ devices hold its keys. A workspace converted to encryption stays readable in backups made before the conversion, with the master key of that time, until those backups expire.

Upgrading to 1.0

Encrypted workspaces need a 1.0 server and 1.0 apps. Upgrade the server first, then the apps. Standard workspaces keep working with older apps, on sync protocol 1, until 1.1.