Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synapse allows sending of unecrypted messages to encrypted rooms #18087

Open
telmich opened this issue Jan 15, 2025 · 1 comment
Open

synapse allows sending of unecrypted messages to encrypted rooms #18087

telmich opened this issue Jan 15, 2025 · 1 comment

Comments

@telmich
Copy link

telmich commented Jan 15, 2025

Description

When posting a message wtih m.room.message type to synapse to a room that is encrypted, synapse accepts the message and stores it.

Steps to reproduce

Post an unencrypted message to an encrypted room.

Homeserver

any

Synapse Version

1.115.0

Installation Method

Docker (matrixdotorg/synapse)

Database

postgresql

Workers

Single process

Platform

Kubernetes

Configuration

Relevant log output

-

Anything else that would be useful to know?

Expected behaviour is after m.room.encryption unencrypted messages are rejected.

@telmich
Copy link
Author

telmich commented Jan 15, 2025

Element-web does show the unencrypted message with a warning sign, but conceptually I think synapse should not accept it after m.room.encryption has been sent to the room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant