End-to-end encryption in openDesk chat: what it protects and when teams need it
Public-sector and regulated teams deciding whether chat content should be readable only on participants' devices need to know that Element in openDesk can encrypt rooms end to end. This is designed to keep message content away from the server operator, and the trade-off is that the server cannot inspect encrypted content. That one property affects other decisions, including malware scanning of shared files and what administrators can recover after a lost device. Start by deciding, room type by room type, whether conversations must be unreadable to whoever runs the server. Records retention, legal holds and incident response may depend on server-side access, so write that decision down before rollout.
Confirm the exact scope with ZenDiS before you promise it internally. Ask whether message content and attachments are both inside the encrypted scope in the release you plan to run, and whether widget traffic or other bundled features fall outside it. The server still sees metadata: which accounts belong to a room, when they join or leave, and when messages are sent. That can reveal who communicates with whom and when, even when the words stay unreadable. In a security or data protection review, describe this split plainly, because a reviewer who assumes the whole conversation is hidden will find the gap later.
Teams tend to need this control when rooms carry content the operator should not read, such as personnel matters, case handling or citizen data, and when the organization wants a technical safeguard behind its access policy. Before rollout, plan how encrypted rooms handle new members, new devices and lost devices, since these depend on key backup and device verification. Check file handling in encrypted rooms as well, because the server cannot scan content it cannot read, so malware controls for shared files need a place in your design. Verify all of this against the Element and openDesk documentation for your release, because behavior can change between releases.
Where encryption stops and scanning starts in openDesk chat
The diagram starts on the left with two Element clients on separate devices, each holding its own keys. Messages leave the client encrypted, so the chat homeserver stores only ciphertext and the metadata it needs to route traffic and identify accounts and rooms. Traffic to another organization's server travels over federation from the homeserver. Files without end-to-end encryption can be sent to the malware scanner, which sits on the server side. Encrypted files cannot be inspected there because the server does not hold the keys. An administrator can read stored metadata, while message and file content stay out of reach. Confirm which file types each path covers before you write your malware policy.
Client devices hold the keys; the server side sees ciphertext and metadata only.
Which end-to-end encryption settings to decide before rollout
This table lists the encryption decisions to settle before users start chatting, with what each one controls, when each choice fits and what to confirm. Ask ZenDiS for the default of each setting in writing for your release, because this page does not state defaults. Read the last column as your question list for the vendor and for your own test team.
| Decision | What it controls | When each choice fits | What to confirm |
|---|---|---|---|
| Encryption for new direct and group rooms | Whether new one-to-one and group rooms start with end-to-end encryption switched on | Encrypted suits case or personal data. Unencrypted suits open channels that need server-side search or moderation. | The default state for new rooms in your release, and whether users or admins can turn encryption off in a room |
| Key backup | Whether room keys are backed up so users can read history on a new or replaced device | Fits users who change devices often and need history. Off fits when losing a device should mean losing access to old messages. | Whether backup is enabled by default, where recovery keys are held, and whether admins can disable backup |
| Device verification expectations | How users confirm that another device or person is genuine before trusting its messages | Fits sensitive matters, where staff verify contacts before sharing. Lighter expectations suit low-risk internal chat. | Which verification methods the release offers and whether admins can require verification |
| Federation with other organizations' servers | Whether your users can exchange messages with users on servers outside your organization | Allowlisting fits a fixed set of partner organizations. Open federation fits staff who must reach many outside bodies. | Whether openDesk exposes a domain allowlist and whether federation can be turned off completely |
| Encrypted rooms across federation | Whether encrypted rooms can include members whose home servers belong to other organizations | Fits cross-organization case work that needs confidentiality. Partner servers must also handle keys and devices correctly. | How the release handles key sharing with external members and what a partner server must support |
| Mobile client policy | Which Element mobile apps users may install and how they sign in and store keys | Managed mobile use fits regulated staff. Personal devices fit only if the organization accepts the added risk. | Which mobile clients the release supports, whether apps can be restricted, and how key backup behaves on phones |
What end-to-end encryption moves onto your team to run
End-to-end encryption in openDesk chat keeps message content out of reach of the server and its administrators, and that protection shifts work to your team. Each card names one trade-off, who carries it and the control that reduces it, so these decisions can be made before users are onboarded.
No malware scanning of encrypted files
The server stores encrypted files it cannot read, so server-side malware scanning cannot inspect their contents before users open them. Your team carries this gap, so define which file types users may share in encrypted rooms, confirm with ZenDiS what the ClamAV service expected in production actually reaches, and plan a scanning step on the endpoint or at the point where files enter your environment.
openDesk security docsLost history when keys are lost
Messages in encrypted rooms can only be read by devices that hold the keys, so a user who loses every device and has no key backup loses access to earlier history, and administrators cannot restore it from the server. Users carry this loss, so require key backup enrollment during onboarding, test recovery with a pilot account, and write down what a user does after a lost or reinstalled device.
Device verification effort for users
Users must verify the devices and contacts they talk to, which adds a step each time someone signs in on a new device and makes verification a recurring task. Users carry this effort, so publish a short verification procedure, give the help desk a script for mismatch reports, and agree how verification is recorded for high-sensitivity rooms.
Limited admin visibility for legal holds
Administrators cannot read message content in encrypted rooms, so retention, records management and legal hold duties for chat cannot be met through server-side search alone. Your records officer carries this, so agree in writing which obligations apply to chat, decide how holds are applied and evidenced without server-side content access, and confirm the approach with legal counsel before go-live.
Federation complexity with other servers
Federation lets your users talk with other organizations' servers, and each allowed domain adds trust, naming and firewall decisions, while server_name fixes how users and rooms are identified, so choose it before any user exists. Your platform team carries this, so restrict federation to approved domains with federation_domain_whitelist, firewall the federation listener as the Synapse documentation recommends, and confirm which homeserver your openDesk release runs before applying these settings.
Extra support load on your desk
Problems such as lost keys, unverified devices and missing history are usually solved on the user's device, so they reach the help desk first and cannot be fixed from server logs alone. Your service desk carries this load, so write first-line runbooks for these three cases, define when tickets move to administrators, and ask any support provider for response commitments in writing, since Community Edition support has no SLA.
openDesk Enterprise EditionWhy the server cannot scan end-to-end encrypted files for malware
A server that holds only ciphertext cannot scan the contents of an encrypted file for malware. In an end-to-end encrypted room, a file is encrypted on the sending client before it leaves the device, so the homeserver stores an encrypted blob and holds no key to read it. Any malware check therefore has to run where the content is still readable: on the sending endpoint before encryption, in a client-side step that the openDesk design defines, or at another point the design names. Your first task is to find out which of these, if any, applies to Element files in the flow you deploy, because a scanner placed elsewhere will never see the bytes that matter.
For production, the openDesk requirements expect an external ClamAV service reached over ICAP, so the scanning service is one you connect and operate, not a default you can assume is active for every application. Whatever scanner you connect can inspect the files that other applications send it, but it cannot inspect a ciphertext blob that Element stores, so the encrypted-file gap sits between the chat client and the scanner. Record this gap as a residual risk in your risk register with a named owner, a review date and the compensating controls you accept. Typical controls are endpoint protection on managed devices, upload rules that you can enforce at the platform level, and user awareness training on opening files from unknown senders.
Give the engineering team the malware scanning coverage topic, which sets out what each openDesk application scans and how each one reacts to a detection, and use it to check that the Element row matches your configuration. Then ask ZenDiS in writing whether encrypted Element files are scanned anywhere in the flow, including on the client, at the homeserver, or in any bridge or widget you add. If you run the Community Edition, that question goes to the community because it carries no SLA, so an Enterprise support channel is the better route for a binding answer. Keep the written answer with the openDesk version it describes, since the flow can change between releases, and treat encrypted Element files as unscanned in your risk assessment until the answer is in hand.
Key backup and device verification choices by audience
Your encrypted chat history depends on keys held on your devices, so how you add, lose or verify a device affects what you can read later. Use this tab as a guide to confirm with your administrator, because the exact prompts and recovery options depend on the Element version and workspace settings in use.
- Adding a new device: Sign in on the new device, then verify it from a device you already trust or with your recovery material. Confirm the exact steps for your release.
- Losing a device: Sign in from another verified device and remove the lost device from your session list. If no other device is available, ask your administrator which recovery path applies before assuming old messages are reachable.
- Unverified device warnings: Compare the security indicators on both screens before accepting a new device. Do not accept a device you did not add yourself.
- Verifying contacts: For sensitive conversations, confirm the other person's identity through a separate channel before trusting their devices.
- Recovery material: Store any recovery key or passphrase in a password manager or sealed location that you control. Anyone holding it may be able to restore your encrypted keys.
Check with your administrator which recovery method the workspace offers and what happens to your history if you lose every device.
End-to-end encryption is designed so that the server and its operators cannot read message content. Administrators still control account lifecycle, workspace settings and the metadata the platform keeps, so the decisions below should be settled with ZenDiS and your own team before go-live. Backup and reset behavior depends on the openDesk and Element versions you run.
- Visibility: Confirm which metadata the homeserver and admin tools expose, such as account records, room membership and device lists, and confirm that message content stays encrypted.
- Reset: Confirm whether an administrator can reset cross-signing or a user's account, and what each reset does to existing encrypted history.
- Key backup: Decide whether server-side key backup is enabled or left off, and document the trade-off. Enabling it can improve recovery, while leaving it off keeps key material out of server storage.
- Account loss: Confirm what happens to encrypted history when an account is deleted or a user loses every device, and where the remaining data is stored.
- Enterprise tools: The supplied openDesk documentation lists Element AdminBot and Admin Console as Enterprise-only features. Confirm whether your edition includes them before you plan administrator workflows around them.
Record each setting in your runbook and check it against the configuration deployed in your environment.
Security reviewers should request evidence and treat each description of the feature as a claim to test. Ask for documents that show what is configured, how long data is kept and whether recovery has been exercised. Treat backup and device verification mechanics as items to confirm in writing before you approve the design. The openDesk security documentation is a useful starting point for the wider controls.
- Configuration: Request the deployed Element and homeserver configuration, including key backup and device settings, with the versions and Helm values used in the environment.
- Retention settings: Request message, media and backup retention settings for the homeserver and any backup store, and confirm who can change them and whether changes are logged.
- Tested recovery procedure: Ask for a written recovery runbook and evidence that it was run end to end on a test account, including what history was recovered and what was lost.
- Questions for ZenDiS: Ask how device verification and key backup work in the release you deploy, what an administrator can reset, and whether any server-side component can read encrypted content or files.
- Supply chain and images: Request the signed artifacts and pinned image digests for the chat components, and confirm how they are verified at deployment.
Confirm each answer in writing, and retest the recovery procedure after every upgrade.
Setting up encrypted chat in openDesk, step by step
This sequence takes encrypted chat from a written decision to a tested, handed-over service. Each step closes with a check you can observe, so the release record shows what was verified and which gaps remain. Confirm every version and setting name against your own release notes and deployment before you start.
Confirm the openDesk and Element versions
Open the openDesk releases page and identify the release you will deploy. At research time the latest release was v1.19.1, published on 2026-10-06, after v1.19.0 on 2026-10-01, but confirm the current release on the day you start. Read which Element version that release bundles, and check the release management notes if your installation is several minor versions behind. Record the openDesk tag and the Element image tag from your values files. The check: both versions match the release notes, and the recorded tags are the ones you will verify after rollout.
Record encryption, backup and verification decisions
The security lead and the service owner write down three decisions before anything is changed: whether encryption is enforced for new rooms, how message key backup is handled and who can reset it, and whether users must verify their devices before joining sensitive rooms. For each decision, name the setting or configuration key that implements it in your release, and confirm that key in the Element documentation for that version. Record who approves exceptions and which data must never be posted in an unencrypted room. The check: a signed decision record exists, and every decision maps to a confirmed setting name.
Apply the settings through deployment configuration
Put the chosen settings into the environment values for your Helmfile deployment so the change survives the next rollout and can be reviewed in Git. Commit the change, run a diff of the planned changes, and confirm that only the Element-related settings differ from the current state. Then apply the release and watch the rollout. The check: the diff shows only the intended keys, the rollout completes without failing pods, and the applied settings appear in the running configuration of the Element component.
Test encrypted messaging across two users and devices
Create two test accounts and sign each in on a separate device. Verify the devices with each other using the verification method your Element version offers. Send a message in an encrypted room from the first user and confirm the second user reads it on both devices. Then add a new device for the first user, send a message from that device, and check that the second user's verified devices display it. Record how message history appears on the new device and compare the result with your key backup decision. The check: both devices show as verified, and the message sent from the new device decrypts on the existing devices.
Test federation with one external server
Run this step only if your organization will federate. Choose one external Matrix server that your partners use, and confirm which homeserver your openDesk installation runs and where its federation settings are documented. If the homeserver is Synapse, review the federation_domain_whitelist setting, because an allowlist limits federation to the domains you list and an empty list disables it. Follow the Synapse federation guide to confirm the port or delegation. Send an encrypted message between test accounts on both servers, then confirm that an unlisted server is refused. The check: the listed server exchanges encrypted messages, and the unlisted server cannot join or send.
Check malware handling and record the gap
Upload a harmless test file that your scanner is configured to flag, first to an encrypted Element room and then to a location that openDesk scans, such as a Nextcloud share. Record the scanner result, or the absence of one, in each case. The server cannot inspect encrypted files, so encrypted uploads will not be scanned on the server side, and you must confirm that the documented behavior matches what you observe. Confirm whether your production scanning service, expected to be ClamAV over ICAP, is connected. The check: a written entry states what was scanned, what was not, and how the client handles the file, and that entry is added to the risk register.
Hand over user guidance and recovery procedure
Write short user guidance covering how to verify a new device, where to store recovery material, and what to do when a device is lost. Write an administrator recovery procedure that names the role allowed to reset encryption or key backup, the evidence to keep, and the steps for a user who has no verified device left. Ask a helpdesk member to run the procedure on a test account. The check: the helpdesk member completes the test recovery by following only the written steps, and the guidance and procedure are filed with the decision record and signed off by the service owner.
Security and operations controls around encrypted chat
These six controls sit around the encrypted chat service and decide how much of its protection holds once messages leave the client devices. Each one depends on which homeserver implementation runs your chat, so confirm that implementation before you rely on any control below.
Protecting the chat database and backups
Message content is encrypted, but the homeserver database still records metadata such as room membership, timestamps and which accounts communicate. Backups copy that metadata too, so they need the same access controls, encryption at rest and retention rules as the live database. Confirm where the homeserver keeps its database and media, who can restore backups, how long copies are retained, and whether a restored server is checked against your retention policy before it returns to service.
PostgreSQL 15 as the production database
openDesk expects production-grade external services, and for the chat database that means PostgreSQL 15. Synapse documentation recommends PostgreSQL for production, with SQLite also supported, so a test database should never be the basis of a production decision. If your homeserver is Synapse, confirm that its release supports PostgreSQL 15, that the database is not shared with unrelated workloads, and that a restore to this version has been tested end to end.
Federation allowlist and listener firewall
Federation lets your users talk with people on other Matrix servers, and it is the setting most likely to widen who receives your metadata. In Synapse, the federation_domain_whitelist setting restricts federation to listed domains, and an empty list disables federation entirely. Where federation is on, the documentation also recommends firewalling the federation listener, which uses port 8448 by default. Confirm the allowlist against the partners your mission requires, and test that unlisted domains cannot reach the listener.
Upgrade planning and rollback limits
Rolling back Synapse can be difficult because newer releases change the database schema, so an older binary may not run against a migrated database. Plan each upgrade with a database backup taken immediately before the change, a rehearsal on a staging copy, and a written decision on whether you would restore data or move forward with a fix. openDesk supports only its latest minor version and does not guarantee in-place upgrades between majors. Confirm the homeserver release you run, its Python and PostgreSQL minimums, and the upstream end-of-life dates that will force changes.
Synapse upgrade notesMonitoring key and device problems
Encrypted chat fails quietly when keys and devices drift. A user who loses key backups or leaves a device unverified may be unable to read history, and a new device added to an account without the owner's knowledge is a serious signal that needs to reach your security team. Set alerts for unexpected new device sign-ins, failed key backup events and spikes in unverified sessions. Confirm which of these events your homeserver writes to logs or metrics, and who receives the alerts and acts on them.
Admin role control and AdminBot
Server administrators can deactivate accounts, change federation and retention settings, and act on rooms, so admin rights should be few, named and logged. Element AdminBot is an Enterprise-only openDesk feature, along with GroupSync and the Admin Console, and it adds an automated path that needs its own access review. If you run the Community Edition, this control falls to your team to design. Confirm which accounts hold server admin rights, where admin actions are logged for your security team, and how AdminBot access is scoped and revoked.
Enterprise Edition featuresWhat end-to-end encryption in openDesk costs and what it asks of your team
Does openDesk encrypt all chat messages by default?
Not in a way you can assume, so verify it in your own deployment before you tell users their chat is encrypted. In Matrix, end-to-end encryption is a property of each room, so whether a conversation is encrypted depends on how the room was created and what your administrators and users can change. Test each room type you plan to use, including direct messages, group rooms and rooms with guests, and confirm whether users can turn encryption off. Federated rooms add a second question: a conversation with members on another organization's server is only as protected as that server's client and key handling. Write the results into your records and repeat the test after every upgrade.
Can administrators read encrypted chat messages or restore them after device loss?
Administrators should not be able to read the content of encrypted messages, because message keys live on users' devices and the homeserver stores only ciphertext. Restoring history after device loss depends on key backup, which the user sets up and recovers with a recovery key or passphrase. Decide the recovery policy before go-live: whether users must keep a recovery key, what the help desk may verify before resetting access, and how long a lost device stays trusted. Admins still see metadata such as room membership and timing, so confirm exactly which admin tools your Element version exposes with ZenDiS before you describe the setup to auditors or staff.
Why can't the server scan encrypted files for malware in openDesk?
The server cannot scan an encrypted file because it does not hold the keys needed to decrypt it, so any scanner running on the server sees only ciphertext. That is the point of end-to-end encryption: it keeps message and file content from the operator, including from your own administrators. The trade-off is that a malicious file shared in an encrypted room passes through the server untouched. Your malware controls for those files therefore sit on the endpoints, in managed client devices and their scanning policy, and the gap belongs in your risk register with a named owner. Confirm with ZenDiS which file types and room settings the bundled malware scanning does and does not cover before you rely on it.
What drives the cost and effort of end-to-end encryption in openDesk?
Cost and effort follow the scope you write down, and they split into one-time work and recurring work. The main drivers are the number of users and devices, the federation scope (which other servers your users talk to), the recovery policy and the help desk load it creates, the audit evidence you need, the mobile policy for phones and tablets, and change control for each upgrade. Expect one-time items such as configuration, recovery procedures and first evidence collection, and recurring items such as retesting after each release and handling lost-device requests. For each line on a quote, ask who pays: your staff, DeployOpen under the written scope, or ZenDiS under any Enterprise Edition terms. No figure here is an estimate, so the written scope is the basis for any number you receive.
Does Enterprise Edition change the cost of encrypted chat?
Possibly, and you should confirm it with ZenDiS before you compare options. ZenDiS recommends openDesk Enterprise Edition for production, and it adds SLA-backed second and third level support and patches on top of the same open-source core licenses. Element AdminBot, GroupSync and the Admin Console are listed as Enterprise-only features, so the admin tooling you use to manage encrypted chat may depend on that edition. Enterprise Edition is sold as SaaS or for on-premises installation, and its terms are a cost item in their own right. Ask ZenDiS which chat features, admin tools and support levels your intended setup requires, and get the answer in writing next to your DeployOpen scope so both quotes describe the same system. Read the openDesk Enterprise Edition documentation first.
Can our own team configure end-to-end encryption without a partner?
Possibly, if your team already runs Kubernetes, Helmfile and Matrix clients well enough to test recovery and federation settings. Plan for effort in three areas. Deployment comes first: openDesk needs a supported Kubernetes cluster, external production services such as PostgreSQL, Redis and an SMTP relay, and a Helmfile-based install before any chat setting matters. Verification comes second: someone must test each room type, device verification and key recovery, then repeat those tests after each release. Governance comes third: the recovery policy, mobile policy and evidence pack need an owner who can sign them off. A partner adds capacity and a written scope, while your organization stays accountable for the decisions.
What should we ask for in a written quote for encrypted chat?
Ask for a scope that names the exact components, versions and the openDesk release you will run, so the quote matches the system you will test. List the user and device counts, the federated servers and domains in scope, and whether guests or external organizations are included. The quote should state the recovery policy you have chosen, the mobile clients covered, and the audit evidence to be delivered, with an owner for each. Ask which items are one-time and which recur, including retesting after upgrades, and which Enterprise Edition terms or licenses are needed and who buys them. Finally, require the document to state acceptance criteria and what happens to changes requested after the scope is signed.
Limits to confirm in your openDesk environment
These six items are the open questions for End-to-end encryption in openDesk chat and its trade-offs. Each one changes what administrators can see, what users can recover and what evidence you can produce, so get the answers from ZenDiS and Element in writing for your exact version.
Default encryption for new rooms
Ask whether new rooms are created with encryption switched on and whether administrators or users can turn it off. In Matrix, encryption is a per-room setting, and messages in a room without it are readable by the server. Ask ZenDiS for the default in the bundled configuration, then create a test room on your Element version and confirm what users see in its settings.
Key backup and administrator recovery
Ask where encrypted key backup is stored, who holds the recovery key or passphrase, and whether administrators can recover message keys or reset a user's cross-signing keys. Backup held only on the user's device is lost with that device, while server-side backup depends on the operator's access controls. Ask ZenDiS and Element to describe the design for your version, then restore history on a fresh test device to confirm the answer.
Encrypted files and malware scanning
Ask whether encryption covers uploaded files, attachments and their previews, and whether the bundled ClamAV scanner, reached over ICAP, can inspect them. An attachment encrypted on the client reaches the server as ciphertext, so the scanner cannot read the content it is meant to check. Ask ZenDiS how the bundled setup handles an attachment that cannot be scanned, and whether users see a scan result, then confirm with a test file on your version.
openDesk security docsMobile client behavior
Ask how the Element mobile apps handle encrypted history, key storage, device verification and notifications at the version you deploy. Mobile sessions may store keys differently from desktop sessions, and a user who signs in on a new phone may need a recovery step before old messages appear. Confirm the behavior on iOS and Android with a test account, and ask Element and ZenDiS which app versions they support with your server version.
Enterprise admin tools
Ask whether the Element AdminBot, GroupSync and Admin Console, which ZenDiS lists as Enterprise Edition features, change what administrators can see in rooms, user lists or encryption status. A Community Edition deployment does not include these tools, so the admin view differs by edition. Ask ZenDiS for the exact actions each tool allows, and test them in a non-production room before you rely on the admin view for an audit or investigation.
Enterprise Edition docsRetention and legal hold
Compliance owners should ask how long encrypted messages, attachments and key backups are kept, and whether a legal hold can preserve them without giving the operator the keys. Retention applied to ciphertext can delete content a user still reads on a device, and a hold on server data does not preserve material the user never backed up. Ask ZenDiS which retention controls your version provides, then agree with counsel what evidence a hold must capture.
How DeployOpen scopes and supports encrypted chat work
DeployOpen plans, implements, hardens, documents and supports openDesk chat in your own infrastructure, including the Element configuration that decides what encryption covers. Each engagement starts from a written scope that names which rooms, devices, file flows and key recovery choices are in play. Ongoing support is available as a retainer.
How we scope
- The written scope lists the Element rooms, user groups and devices the encryption design must cover.
- Scope records which file types are shared in encrypted rooms and how malware scanning is handled for them.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we build
- Element and its homeserver are configured with the key backup and device verification options your policy requires.
- Encrypted file handling is tested against the ICAP scanning design agreed for your production environment.
- Deployment is Helmfile and Helm based, so configuration changes are version controlled and repeatable.
How we hand over
- Handover documents which rooms are encrypted by default and which settings users cannot change.
- Runbooks cover key backup recovery, new device verification and what to do when a user loses every device.
- Your team receives the configuration, evidence for your compliance review and a list of open questions for the vendor.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers for the chat deployment.
- Upgrades are planned against openDesk's release path, since only the latest minor version is supported.
- Security testing of the chat setup can be scoped as a separate engagement.

