element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

[Reset Cross-signing] When resetting Cross-signing on iOS, I couldn't verify with the Security Key on the Web afterward #7759

Open Phuc1995 opened 4 months ago

Phuc1995 commented 4 months ago

Steps to reproduce

  1. On iOS -> User settings -> Security -> CROSS-SIGNING -> Reset
Screenshot 2024-02-23 at 14 01 54
  1. Then log in to this account on the Web, I can't verify with the Security Key (the Security Key is correct) as shown in the image attached below.

    Screenshot 2024-02-23 at 14 14 01
  2. Everything is fine if I reset cross-signing on Web

The issue looks similar in the ticket https://github.com/element-hq/element-web/issues/26243 was reported on Web repository

Outcome

What did you expect?

Why I couldn't verify with the Security Key on the Web afterward? It seems to be an issue that is seriously affecting users

What happened instead?

When I debug on my home server, I see some discrepancies between Web and Mobile when resetting Cross-Signing:

Is the iOS side missing code for "m.cross_signing.user_signing, m.cross_signing.self_signing, m.cross_signing.master"?

Your phone model

IPhone 12

Operating system version

17.3.1

Application version

Element 1.11.7

Homeserver

matrix-client.matrix.org

Will you send logs?

Yes

NicolasBuquet commented 3 months ago

Could it be linked to this issue : https://github.com/element-hq/element-ios/issues/7737

Or this : https://github.com/element-hq/element-web/issues/27155