element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.14k stars 260 forks source link

Allow element desktop to disable e2ee on private chats #1829

Closed mateusviccari closed 1 month ago

mateusviccari commented 1 month ago

Your use case

What would you like to do?

To chat with people without end to end encryption

Why would you like to do it?

Because the default implementation of encryption is an absolute pain. We have matrix server installed on our company's server for internal communication. Our users frequently have to sign out and when they do it invalidates every subsequent received message. After logging in again, importing the previous security key works only for the messages received before they sign out, and new messages are left unable to be decrypted unless the other user exports their e2e room keys. We can already create rooms without e2ee, we see no reason to force users to use e2ee for private chats.

How would you like to achieve it?

A simple "start unencrypted chat" button would do the job.

Have you considered any alternatives?

No response

Additional context

No response

t3chguy commented 1 month ago

The state of whether DMs and private rooms are encrypted by default is controlled by a configuration on the Matrix HS. https://github.com/element-hq/element-web/blob/develop/docs/e2ee.md The product team have previously expressed to not wish to add a way to create an unencrypted DM otherwise, other than creating an unencrypted room, inviting the user, setting permissions and marking it as a DM.