matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.64k stars 664 forks source link

UISIs after upgrading dendrite #2890

Open kegsay opened 1 year ago

kegsay commented 1 year ago

Background information

Description

Steps to reproduce

Filed on behalf of @emanuele.aliberti:mtka.eu - who sent a screenshot which indicates that:

The room key must have changed, but why this wasn't shared post upgrade I don't know. It could be that the room key happened to change during the downtime between upgrades, but this should have been retried.

After restarting both Element instances, new messages are decrypted, but previous UISIs remain as UISIs. This may point to an Element Desktop bug.

ealib commented 1 year ago

I would add that after closing and re-launching Element, new messages sent from then on are decrypted correctly.

Messages sent between the time Dendrite was updated and the time Element was restarted remain undecrypted and forcing a key request has no effect.

S7evinK commented 1 year ago

Is this on the same instance? Seeing this randomly after not sending messages for a day (or something). (not even after upgrading)

S7evinK commented 1 year ago

As a note: sending /discardsession in Element has helped on the same instance (so far)