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 decrypt scenario in element web #27232

Closed
derbertum opened this issue Mar 23, 2024 · 3 comments
Closed

Unable to decrypt scenario in element web #27232

derbertum opened this issue Mar 23, 2024 · 3 comments
Labels

Comments

@derbertum
Copy link

Steps to reproduce

While trying to automatically create large populated E2E encrypted rooms for testing we encountered following scenario:

  1. A number of users is created and logged in with backup creation via passphrase
  2. All those users (Bs) are logged out again
  3. Another user (A) creates an e2e encrypted room and invites all Bs
  4. The Bs log in one after another in a private browser session and accept the invitation afterwards the browser is closed but the user not logged out (a session should remain)
  5. A sends a message in the room
  6. The Bs open the browser again
  7. The Message from A is encrypted

Outcome

What did you expect?

The Bs can read the message from A because all of them had an open session (even without dehydrated session)

What happened instead?

The Message stays encrypted for the Bs

Operating system

Does not matter

Browser information

Does not matter

URL for webapp

both app.element.io and develop.element.io

Application version

Version von Element: 1.11.61 Krypto-Version: Rust SDK 0.7.0 (b1918e9), Vodozemac 0.5.1

Homeserver

matrix.org

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Mar 25, 2024

Duplicate of element-hq/element-meta#1893

@t3chguy t3chguy marked this as a duplicate of element-hq/element-meta#1893 Mar 25, 2024
@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
@giomfo
Copy link
Member

giomfo commented Mar 25, 2024

@t3chguy this is not a duplicate issue.

The receiver accounts (Bs) are all logged in when the user A send the message (See the point 4: "The Bs log in one after another in a private browser session and accept the invitation afterwards the browser is closed but the user not logged out (a session should remain)).

@giomfo giomfo reopened this Mar 25, 2024
@t3chguy
Copy link
Member

t3chguy commented Mar 25, 2024

private browser session

Just because the session remains on the server, doesn't mean it does on the client. Private browser sessions are amnesiac. I believe it to be a duplicate of the PFS issue but if you're not happy with that feel free to have it as a duplicate of element-hq/element-meta#245

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants