Skip to main content

End-to-end encrypted chat

MonoPbx is introducing end-to-end encryption for team chat in phases. This page is precise on purpose: it says exactly what is and is not protected today, so you can decide whether it meets your needs, rather than describing it as more than it is.

What "end-to-end encrypted" means here​

When a one-to-one chat is end-to-end encrypted, the two people's apps hold the only copies of the keys that decrypt the messages. Your PBX stores and delivers the encrypted messages, but it does not hold a key that could decrypt them, and it does not try to. This uses MLS (Messaging Layer Security, an IETF standard, RFC 9420), the same kind of protocol used for end-to-end encrypted messaging elsewhere, rather than anything built from scratch for MonoPbx.

What is protected, and what is not​

ProtectedThe text of a one-to-one chat, once both sides have turned end-to-end encryption on for that conversation. Every message after that point is encrypted with its own key: if one message's key were ever exposed, earlier and later messages stay protected.
Not protectedGroup chats and channels (end-to-end encryption for these is planned for a later phase, not this one). Calls and voicemail (MonoPbx's calls are encrypted in transit, but your PBX's own media server is in the call path by design — for recording, mixing multiple participants and AI features — so calls are not end-to-end encrypted in the sense described here; this is a deliberate, disclosed design choice, not an oversight). Files and pictures sent in a chat (attachments are not covered yet). Who is talking to whom, and when (your PBX still needs this to deliver messages; only the message text is protected). Anything sent before encryption was turned on for that conversation.

What you give up, in exchange​

Because your PBX cannot read an end-to-end encrypted conversation, it cannot offer features that need to read the text:

  • Search does not find messages in that conversation.
  • Automatic translation and the AI summarize, translate and draft-reply tools do not work in it.
  • A legal hold or compliance export of that conversation can only include the encrypted messages as they are stored — not their text.

This is a real trade-off, not a bug: turning end-to-end encryption on for a conversation is a deliberate choice between stronger confidentiality and these conveniences, made per conversation, by the people in it.

Turning it on for your company​

Under Admin, Settings, Chat controls, an administrator with settings:write turns Allow end-to-end encrypted conversations on or off for the whole company (settings:read to see it). It is off by default.

  • Turning it off only stops new conversations from turning end-to-end encryption on. A conversation that already turned it on keeps working exactly as it did; this setting cannot decrypt it or turn it back to a plain conversation.
  • If your company has a legal-hold or data-retention obligation that end-to-end encrypted content would complicate, leave this off, or discuss it with whoever is responsible for that obligation before turning it on.
  • This setting does not, by itself, encrypt anything: it only allows people to choose encryption for their own one-to-one conversations once it is on.

The MonoPhone app​

Open a one-to-one chat, tap ⋮, and choose Turn on end-to-end encryption. A short confirmation explains that this cannot be turned off again for that conversation, and that search, AI features and attachments stop working in it; confirming turns it on immediately. If your company has not allowed encryption, the menu shows End-to-end encryption is off instead, and tapping it explains that an administrator can turn on Allow end-to-end encrypted conversations.

How an encrypted chat looks. The chat starts with the notice "Messages in this chat are end-to-end encrypted", and a lock next to the conversation's name shows it is encrypted (a shield once you have verified it). Tap the notice or the lock to verify.

Replies. Swipe a message, or choose Reply, to quote it as in any chat. Which message you answer and the start of its text are encrypted together with your reply, so your PBX does not learn which message you answered. Tap the quote to jump to the original message.

Verifying who you are really talking to. Choose Verify encryption in the ⋮ menu (or tap the notice or the lock) to see the chat's security code: 60 digits in groups of five, and the same code as a QR code. Both phones show the same code. Either scan the QR code on the other person's phone with Scan code, or compare the digits in person, by phone, or another way you both trust, and tap It matches. The chat then counts as verified on your phone. If the codes do not match, the app says so and suggests contacting your administrator rather than continuing to share anything sensitive there.

When a security code changes. If the other person reinstalls MonoPhone, moves to a new phone, or signs in again, their phone gets a new key, and the chat shows "Name's security code changed" at that moment. A chat you had verified is no longer verified until you compare the new code. A changed code is normal after a reinstall or a new phone; if you are not expecting one, verify the code before sharing anything sensitive.

Your phone keeps its keys. MonoPhone keeps its encryption keys, and the text of the encrypted messages it has already shown, on the phone itself, encrypted with a key held in the phone's secure storage (the Keychain on iPhone and Mac, the Android Keystore on Android). Closing or restarting the app does not change anything: earlier messages stay readable and you can keep writing. Signing out deletes that key.

A new phone, a reinstall, or signing out and back in gives that phone a new key. It can read and send new messages once the other person's MonoPhone has added it to the conversation, which it does by itself the next time it is online; until then the chat shows "Setting up encryption on this phone". Messages from before cannot be read on the new phone and show as "Encrypted message — can't be shown on this device". This is expected, not a bug: it is the same forward-secrecy property that keeps an exposed key from ever reading backwards.

Encryption needs every device of the other person to have published its own key, which MonoPhone does by itself the first time it is opened (when your company allows encryption). If the other person has not opened MonoPhone since, turning encryption on says so and asks you to try again later.

The web console​

The web console cannot decrypt end-to-end encrypted chats: their keys exist only on the phones. In the console, an encrypted chat shows each message as "Encrypted message. Open MonoPhone to read it." and has no box to write in; read and answer it in the MonoPhone app.