element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.03k stars 1.96k forks source link

Security Passphrase Bug in #15530 still occuring #16849

Open Zachinquarantine opened 3 years ago

Zachinquarantine commented 3 years ago

Description

So I've noticed that the bug in #15530 is still happening where if I select emoji or text verification where it won't recognize the passphrase, even if I'm literally copying and pasting it from the text file I have it in, so I know it's correct.

Steps to reproduce

Describe how what happens differs from what you expected. I expected the verification to go through, but it threw me a "wrong passphrase" error even when, as said above, I literally copied and pasted it from my text file.

Logs being sent: yes

slika

Version information

For the desktop app:

Zachinquarantine commented 3 years ago

logs sent...

jryans commented 3 years ago

I would recommend attempting a version of these steps:

  1. Consider exporting room keys to a file as a backup in an existing session via top left menu -> Settings -> Security -> Export E2E room keys
  2. If you don't have an existing session, it should be fine to login and skip any verification prompts
  3. Reset secure backup first (this should now succeed without confusingly asking for previous keys)
  4. Reset cross-signing keys (this may prompt for security key / phrase, it's expecting the new one you just made in step 2)
  5. On other sessions, you should be able to either verify the new session and receive new keys or go to Settings and "setup" Secure Backup (green button instead of the red "reset"), which maybe prompt for the new security key / phrase as part of downloading your keys