element-hq / element-hq/element-web

Multiple wedged olm sessions from different users -- possible storage corruption?

Open
#30,100 2 comments 0 reactions 0 assignees View on GitHub
A-E2EE A-Storage O-Uncommon S-Major T-Defect Team: Crypto Z-UISI
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

This came from a rageshake. The symptom is that the user got UTDs from multiple users. The rageshake show that the client failed to decrypt the to-device messages containing the Megolm sessions. The Olm messages were non-pre-key messages, so there was no issue with OTKs.

The only cause that I can think of is that the storage was corrupted somehow, changing several Olm sessions.

### Outcome

#### What did you expect?

#### What happened instead?

### Operating system

Linux

### Browser information

Firefox 137.0

### URL for webapp

app.element.io

### Application version

1.11.99, Rust SDK 0.10.0 (3cc301d), Vodozemac 0.9.0

### Homeserver

Synapse 1.128.0

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.