Skip to content

Ask for room keys when bot doesn't have them #5

Description

@AndrewFerr

Though it should never happen in practice, bots may somehow lose a room key, and thus lose the ability to decrypt messages sent in that room from the user whose key was lost.

When this happens, the bot should simply ask the user for their room key via a key request.

Otherwise, the only way this can be fixed is if the user whose key was lost either resends the key, or generates a new key for the room & sends that one instead. I'm not aware of whether the former is possible, but the latter can be done by manually running the /discardsession command in an Element clients.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions