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

Unable to verify other session #18934

Closed
stephen304 opened this issue Sep 7, 2021 · 10 comments
Closed

Unable to verify other session #18934

stephen304 opened this issue Sep 7, 2021 · 10 comments
Labels
A-E2EE-Cross-Signing O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@stephen304
Copy link

stephen304 commented Sep 7, 2021

Steps to reproduce

  1. Have an unverified session
  2. Try to verify
  3. Enter security phrase to confirm
  4. Nothing changes after pressing continue

What happened?

What did you expect?

The session to be verified

What happened?

Nothing - other session is still unverified and restarting the app shows another warning about the unverified session

This might be related to some state on my account - my backups settings section has a weird error:
image
image

Also here's the log from the dev console when it completes verification:
image

It looks like these 2 issues may be related:
#13153
#13507

Operating system

Arch Linux

Application version

Element version: 1.7.34 olm version: 3.2.3

How did you install the app?

package manager: https://archlinux.org/packages/community/x86_64/element-desktop/

Homeserver

matrix.org

Have you submitted a rageshake?

Yes

@dbkr
Copy link
Member

dbkr commented Sep 7, 2021

Yeah, that error is saying that when it obtained the key it wanted use to sign your device, it didn't get the one it was expecting, so this seems related. Have you reset cross signing at any point?

@dbkr dbkr added O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Sep 7, 2021
@stephen304
Copy link
Author

@dbkr I have not - should I try that and do I need to do that on every device? Will that change any of my keys or require friends to re-verify?

@dbkr
Copy link
Member

dbkr commented Sep 8, 2021

OK, mostly this was just to figure out how your account could have got into this state, but to work around I'd suggest first try logging out & back in again on the device where you can't verify. If that doesn't work, reset cross signing on one device then log out & log back in again on the others.

@stephen304
Copy link
Author

@dbkr Unfortunately logging out and back in on my main laptop (where I was trying to verify my work laptop) seems to have made things a bit worse - now my main laptop as well as my work laptop show up as unverified. I can confirm that I saw the same error in the dev console when logging back in (when it asks you to verify, I went with entering my security password instead of following the prompts on my phone).

Curiously, on my phone it shows all my devices as verified. it looks like I may have to reset cross signing :(

@stephen304
Copy link
Author

@dbkr So I reset cross signing and was prompted to restore from key backup, which took a while for 20,000 keys. I relogged all of my other devices, that seems to have resolved any weirdness and now all devices show as verified on all other devices. I still have some unknown signatures on the backup so I hope that won't cause any issues:
image

@richvdh
Copy link
Member

richvdh commented Sep 3, 2024

looks like this fell off the radar. I assume the OP is no longer struggling with this, three years later.

@richvdh richvdh closed this as completed Sep 3, 2024
@stephen304
Copy link
Author

stephen304 commented Sep 4, 2024

@richvdh Hi I am actually still experiencing issues that I believe are related to this. I was hoping for a response with guidance on whether the unknown signatures are an issue. Ever since I reset cross signing and restored from backup I have noticed an assortment of weird behaviors related to verification.

This is what my settings > security tab looks like currently:
Screenshot_20240904_091244

  • There is an unknown error under message search
  • There is a prompt to "upgrade encryption", but after entering my security phrase, the notification remains (I have confirmed my security phrase like 5 times and it doesn't seem to do anything)
    Screenshot_20240904_091349
  • I am unable to set up backup on my pixel 5 in element (non-x)
    • If I verify with another device, the android says "request sent" and after clicking verify with emoji on my laptop, it gets stuck loading until it times out - my android continues to say "a verification request has been sent"
    • If I try to use my recovery phrase, I immediately get an error "cannot find secrets in storage" - but both my element on android and element desktop are already verified with a green shield so I'm not sure how I am getting this error
      Screenshot_20240904-091826_Element
      Screenshot_20240904-092002_Element

@richvdh richvdh reopened this Sep 4, 2024
@richvdh
Copy link
Member

richvdh commented Sep 4, 2024

Ok, a couple of things:

@stephen304
Copy link
Author

@richvdh Thanks that was super helpful - resetting resolved the persistent notification and once it finished I was finally able to enable secure backup on element android, as well as sync the backup to element-x which also wasn't accepting my backup passphrase before. So I think we can consider this resolved 🎉

@richvdh
Copy link
Member

richvdh commented Sep 4, 2024

Great, thanks for feeding back, and sorry this got stuck for so long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Cross-Signing O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants