Skip to content

Soft logout disables encryption when logging back in #20648

@turt2live

Description

@turt2live

Soft logout is when the server logs the user out but intends for them to reauthenticate to keep their encryption state. Usually this is associated with the session_lifetime in Synapse (for example).

When the server issues a soft logout, we're supposed to let the user restore their encryption state by logging back in. However, when the user logs back in after a soft logout we fail to set up crypto properly and permanently break it for that session - the user needs to log out and back in fully to recover.

This screen is not commonly encountered by regular users, but is seen often by enterprise-style usecases.

Metadata

Metadata

Assignees

Labels

A-E2EEA-Soft-Logouthttps://github.com/element-hq/element-web/issues/10224O-UncommonMost users are unlikely to come across this or unexpected workflowS-CriticalPrevents work, causes data loss and/or has no workaroundSponsored

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions