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

Element-R: After interactive verification the backup decryption key is not in cache #26288

Closed
BillCarsonFr opened this issue Oct 3, 2023 · 1 comment · Fixed by matrix-org/matrix-js-sdk#3778
Assignees
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Element-R-Blocker A blocker for enabling Element R by default Z-Labs

Comments

@BillCarsonFr
Copy link
Member

Steps to reproduce

  1. Create a session on web, create an encrypted room then setup recovery.
  2. Use another tab/browser to login with the same account
  3. Verify the new session with the old one using emoji

Outcome

What did you expect?

Expect to get access to my history.

What happened instead?

History messages are Unable to decrypt

image

^ the backup decryption key is not cache, it should have been received via secret gossping and stored.

The restore from backup button ask to enter the passphrase
image

Operating system

macOS

Browser information

chrome 117.0.5938.88

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

@BillCarsonFr BillCarsonFr added T-Defect A-Element-R Issues affecting the port of Element's crypto layer to Rust labels Oct 3, 2023
@BillCarsonFr BillCarsonFr self-assigned this Oct 3, 2023
@richvdh
Copy link
Member

richvdh commented Oct 4, 2023

As I understand it, the problem here is that we are not handling the incoming m.secret.send message from the other device that includes the backup decryption key

@BillCarsonFr BillCarsonFr changed the title Element-R: After interactive verification the message history is not automatically restored Element-R: After interactive verification the backup decryption key is not in cache Oct 6, 2023
@BillCarsonFr BillCarsonFr added the Z-Element-R-Blocker A blocker for enabling Element R by default label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Element-R-Blocker A blocker for enabling Element R by default Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants