Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

events with broken signatures prevent backfill #3121

@richvdh

Description

@richvdh

Example: there is an event $15155055363102ERMDq:half-shot.uk in #offtopic which has an invalid signature.

My HS does not have a copy of this event, and any attempt to scroll back in #offtopic leads my server to desperately try backfilling from every other server in the room, each of which takes ages and ultimately fails in the same way.

Eventually my HS responds to riot with an empty /messages response, which riot takes to mean we have reached the beginning of the room.

(The event in question was signed with half-shot.uk:ed25519:a_YjQO. Unfortunately, two different keys have had that ID in the past, and the key currently available is apparently different from the key used to sign the event.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Messages-Endpoint/messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill)T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.z-minor(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions