secure_backup_required not enforced on "Phase.Passphrase" step and with manual URLs change/page reloads #23810
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Impairs non-critical functionality or suitable workarounds exist
Security
T-Defect
Steps to reproduce
I found 3 ways to skip the key backup:
#### 1 Set a Security Phrase:
secure_backup_required
.well-known setting;Verify this device
step click onReset All
and confirm the reset;Set up Secure Backup
step select theEnter a Security Phrase
option;x
or click outside the modal, or click oncancel
;#### 2 Set a Security Phrase -> Confirm login:
Set a Security Phrase
andConfirm Security Phrase
modal pages;Save your Security Key
page;x
or click outside the modal, or click oncancel
on the Auth confirmation page that appears after;#### 3 Manual URL change or page refresh:
1 Set a Security Phrase
;*#### Related bug
You can't close the
Set up Secure Backup
window if the flow was started from the settings page even if the current user has a valid e2e setup.Related PR: matrix-org/matrix-react-sdk#5130 (comment)
Please find attached screen recordings showing the issue
Screen.Recording.2022-11-21.at.20.51.44.mov
Screen.Recording.2022-11-21.at.20.57.59.mov
Outcome
#### What did you expect?
Sending messages, reading messages, etc... should not be possible unless the e2e key is created and the backup is saved.
#### What happened instead?
The
cancel
button andx
is only hidden for theSet up Secure Backup
andSave your Security Key
modal windows and the key backup can be easily skipped in theSet a Security Phrase
flow or manual URL update or/and page refresh.Operating system
macOS
Browser information
Version 107.0.5304.110 (Official Build) (arm64)
URL for webapp
#/home, #/login, #/
Application version
1.11.14
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: