-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Joining rooms and backfill are broken if you change your signing key and use the old ID #4012
Comments
this is somewhat related to https://github.com/matrix-org/matrix-doc/issues/1685. |
The solution to this is to use a better identifier as the key ID (such as a hash of the public key, or the key itself for ed25519), so that servers can't claim that two different keys are both called |
matrix-org/matrix-spec#807 got resolved by #8350, but I'm not sure joining rooms got the same treatment. |
Unverifiable events no longer stop you joining a room altogether (though they can still cause inconsistent state, obviously). |
I wish I knew what this was actually trying to link to. I'm pretty sure it wasn't that. |
Thanks to email history, we've discovered that it's actually #3121 Best guess is github guessed wrong on the numbered reference when 3121 moved from matrix-doc to matrix-spec (evidenced by https://github.com/matrix-org/matrix-doc/issues/3121 becoming matrix-org/matrix-spec#807 ) |
If you create a bunch of state events, and then change the key and use the same ID, it can cause difficulty for new servers trying to join or backfill such rooms, because the signatures appear invalid
The text was updated successfully, but these errors were encountered: