The Wayback Machine - https://web.archive.org/web/20200714071258/https://github.com/vector-im/riot-web/issues/13204
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

Verifying a remote user didn't happen in DM #13204

Open
ara4n opened this issue Apr 16, 2020 · 9 comments
Open

Verifying a remote user didn't happen in DM #13204

ara4n opened this issue Apr 16, 2020 · 9 comments

Comments

@ara4n
Copy link
Member

@ara4n ara4n commented Apr 16, 2020

  • @matthewtest401:matrix.org verified @matthew:arasphere.net
  • The verif succeeded
  • The DM didn't contain an audit trail.
  • matthewtest401 then saw arasphere as green shield
  • arasphere saw matthewtest401 as black shield :-/
@bwindels
Copy link
Member

@bwindels bwindels commented Apr 16, 2020 •

I imagine it was falling back to legacy user verification because it could not find the cross-signing keys for the user it was going to verify. Federation bug? Ftr, we don't cross-sign when doing legacy verification because we haven't verified the MSK for the other user, only their device key, which we can't sign.

There is a bug that legacy trust doesn't get counted when aggregating the trust of all devices for a user, which apparently was deemed not a problem. When expanding the session section in user info @ara4n, was the device you verified marked green at least?

@bwindels
Copy link
Member

@bwindels bwindels commented Apr 16, 2020

The logs from @matthew:arasphere.net indeed show this right before starting the verification request:

2020-04-16T12:33:49.346Z I got cross-signing keys for @matthewtest401:matrix.org: {}
@bwindels
Copy link
Member

@bwindels bwindels commented Apr 16, 2020

When quering keys now (from matrix.org) for @matthewtest401:matrix.org I get a master key of dn699wr2FITbozlGId4YH8vsb+BlhYC/AuJzo34/aCs.

@ara4n
Copy link
Member Author

@ara4n ara4n commented Apr 16, 2020

When expanding the session section in user info @ara4n, was the device you verified marked green at least?

Yes:

Screenshot 2020-04-16 at 15 51 41

@bwindels
Copy link
Member

@bwindels bwindels commented Apr 16, 2020

This feels related to #12973 and matrix-org/synapse#7276 then.

@ara4n
Copy link
Member Author

@ara4n ara4n commented Apr 25, 2020

see also #13248

@Thatoo
Copy link

@Thatoo Thatoo commented May 26, 2020

I experiment that problem too as I was explaining in here : #13566

My shield is green on his devices but his shield keep being black on my devices (both Riot-desktop and RiotX). I have all his devices verified though (legacy way)... but I can still start a cross-signing verification with him from Riot-desktop (he can't) that won't lead to a better situation. It will say that it succeeded but his shield will remain black.

@bwindels
Copy link
Member

@bwindels bwindels commented May 27, 2020

@Thatoo can you please file a separate issue and submit your debug logs from "help & about" in the settings?

@Thatoo
Copy link

@Thatoo Thatoo commented May 27, 2020

I have done it in here : #13824
Thank you for your help.

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.