Skip to content

Add a config option to block local users from enabling encryption in a room #17307

@Twi1ightSparkle

Description

@Twi1ightSparkle
Contributor

Description:

There are use cases where you do not want encryption enabled in any of your rooms. You can sort-of achieve this today using your well-known files, however this is more of a suggestion to clients and may not always be reliable for example if the file is temporarily unavailable or the client fails to read it for any reason.

Therefore, Synapse should have an option to block all local users from setting the encryption state events in any room. I suggest a new Synapse configuration option that is of course disabled by default. Alternatively, add a new option, (block or never for example) on encryption_enabled_by_default_for_room_type.

For completeness, this block policy should apply both on room creation and for enabling encryption in the room later.

It should however probably not block users from joining existing local or federated encrypted rooms.

Activity

changed the title [-]Draft: Add a config option to block local users from enabling encryption in a room[/-] [+]Add a config option to block local users from enabling encryption in a room[/+] on Jun 17, 2024
emmaburton1

emmaburton1 commented on Jan 16, 2025

@emmaburton1

@pmaier1 Can this be looked at pretty soon? See https://element-io.atlassian.net/browse/SUP-177 for reason for the urgency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @MadLittleMods@Twi1ightSparkle@emmaburton1

        Issue actions

          Add a config option to block local users from enabling encryption in a room · Issue #17307 · element-hq/synapse