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

Confusing mobile verification flow #16252

Closed
Bubu opened this issue Jan 23, 2021 · 2 comments · Fixed by matrix-org/matrix-react-sdk#5727
Closed

Confusing mobile verification flow #16252

Bubu opened this issue Jan 23, 2021 · 2 comments · Fixed by matrix-org/matrix-react-sdk#5727
Labels
A-E2EE-Cross-Signing T-Other Questions, user support, anything else

Comments

@Bubu
Copy link

Bubu commented Jan 23, 2021

Description

I just needed to relogin to element-android a couple of times in a row and could observe the different verification flows that you end up in when doing slightly different things. The happy path works very well, but it's tricky to actually get there as element-web by default pushes you to a fairly broken flow. Let me try to explain

Steps to reproduce

  • be signed into element-web, cross-signing, etc. all set up.

  • login to elemandroid

  • ele-web will show this prompt, before elemandroid has completed initial-synching:
    image

  • You need to press Later, or you'll end up in the very confusing verification interactions, see below.

  • (continuing after pressing "later" as noted above): Next elemandroid will show a "verify this login banner". That can be pressed and leads to a new similar but different notification in web.

  • If you then click that you'll be on a good path to the QR code flow and everything should work.

  • If you happen to press "Verify" above it gets confusing, ele-web will show this:
    image

  • while elemandroid will show this:
    image

  • The easiest way to recover from this seems to be aborting the ongoing web verification and instead accepting the incoming verification from mobile which should have popped up in the background.

  • it gets even more confusing when you first press skip on mobile. I think I did that the first time and restarted the verification from web. Then ele-web prompted for scanning a QR code but elemandroid never suggested how I could scan the code. I even tried scanning it via the main menu QR button, but that only told my that the QR code is not a valid matrix.to link 🙄 . And scanning the code from the system barcode scanner wasn't helping either.

  • You can fall back to emoji verification at that point, which will work.

element-desktop: 1.7.17
element-android 1.0.13

@jryans
Copy link
Collaborator

jryans commented Feb 8, 2021

@Bubu Thanks for this feedback. Is it possible for you to send debug logs from both Element Web and Android devices involved in verification? These logs will be critical to work out what's happening here.

@jryans jryans added A-E2EE-Cross-Signing T-Other Questions, user support, anything else and removed T-Defect ui/ux labels Feb 8, 2021
@Bubu
Copy link
Author

Bubu commented Mar 1, 2021

Sorry for the delay, I realistically won't get around to sending debug logs for another month or two.

It should be fairly easy to reproduce the behaviour by following the steps in the initial issue though. Acting on the "New Login, was this you?" -> "Verify" prompt in the existing web session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Cross-Signing T-Other Questions, user support, anything else
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants