element-hq / element-hq/element-android

Encrypted room history broken

Open
#5,015 0 comments 1 reaction 0 assignees View on GitHub
A-E2EE A-Timeline O-Occasional S-Major T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. The test account has been invited to encrypted room with many messages
2. Accept the invitation, flush cache
3. Step inside that encrypted room
4. See what happens, it's a quite ride...
a) messages are not decrypted
b) rotating shows different sets of messages every time, they are shown in the right order only after cache flush (watch timestamps)
c) translation changes time to time

https://user-images.githubusercontent.com/15554561/150426614-f99f9fd2-7ae0-4d01-a95f-62998aefadf6.mp4

### Outcome

#### What did you expect?
See properly decrypted messages (keys are backed up properly on the room homeserver, test user is verified).

#### What happened instead?
See the video.

### Your phone model

Samsung Galaxy S20 FE

### Operating system version

Android 11

### Application version and app store

Element: 1.3.15 Olm: 3.2.10

### Homeserver

own

### Will you send logs?

Yes, rageshake tagged with issue number

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.