Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Signing device state not synced correctly #13997

Open
TheJJ opened this issue Jun 11, 2020 · 3 comments
Open

Cross-Signing device state not synced correctly #13997

TheJJ opened this issue Jun 11, 2020 · 3 comments

Comments

@TheJJ
Copy link
Contributor

TheJJ commented Jun 11, 2020

User A on homeserver a.org has 3 devices, all of them verified through cross-signing.

User B on homeserver b.org has 3 devices, also all verified.

Both do successfull cross-signing verification.

But they see each others devices as unverified afterwards. When examining a non-green device, it says @A:a.org signed in to a new session without verifying it. But that's not true, the sign-in was verified.

Version information

  • riot-web 1.6.4
  • synapse 1.15.0
@TheJJ TheJJ added the T-Defect label Jun 11, 2020
@schildbach
Copy link

I'm seeing this too. The shield of the respective peer stays black (expected: green).

@TheJJ
Copy link
Contributor Author

TheJJ commented Oct 3, 2020

In my case, the issue seems to be that the homeserver only sends the master key for the user in /client/r0/keys/query, not the self-signing key. This is because the master key is cached on the homeserver, but not the self-signing key. I've submitted a possible fix in matrix-org/synapse#8455.

@TheJJ
Copy link
Contributor Author

TheJJ commented Aug 20, 2021

The problem still persists: Homeserver A does not have the cross-signing keys of the user @b:B in cache, but does have the devices. The cross-signing keys are not fetched, since the devices are cached.
I took another shot at it in matrix-org/synapse#10668.

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

No branches or pull requests

3 participants