matrix-org / dendrite

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

Cross signing keys aren't shared between sessions #2360

Closed alistair23 closed 2 years ago

alistair23 commented 2 years ago

Background information

Description

I have two Element sessions. Each one says that it's verified and that the other session doesn't support encryption in the "Security and Privacy" section.

Keys are not syned between the two sessions, I can only decrypt my or others messages from one session

When updating from 0.6.5 to 0.8.1

I have tried resetting my cross signing keys, but that hasn't helped

Steps to reproduce

alistair23 commented 2 years ago

Now I don't seem to be able to verify any sessions. I have just a single Element account logged in, and it sees itself as unverified

alistair23 commented 2 years ago

It now seems like resetting keys isn't working. So I have reset them, but the people I'm talking to aren't being notified so they are still using old keys

neilalexander commented 2 years ago

A bunch of fixes for cross-signing went in with #2368, can you retry on the latest main commit?

alistair23 commented 2 years ago

After resetting everything again and signing out of everything it seems to be working now on the latest main commit

alistair23 commented 2 years ago

Ah nope, re-opening this.

So with latest main I have one Element sessions that works (before that nothing worked) but it's still unable to sync between my other sessions. My working session reports my other sessions as encryption not supported

alistair23 commented 2 years ago

Back to unable to decrypted received messages

alistair23 commented 2 years ago

Seems to be fixed in 0.8.2