element-hq / element-hq/element-ios

Nheko reports "The encryption key was reused!" from a user running Element iOS

Open
#7,637 0 comments 0 reactions 0 assignees View on GitHub
A-Timeline O-Occasional S-Major T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Where are you starting? What can you see?
I'm not running Element iOS myself but I'm communicating with a user who is. My Android phone, running Element Android, can see a message that was sent, while my laptop running Nheko reports that an encryption key was reused:

![screenshot-2023-08-05-14-06-08-cropped](https://github.com/vector-im/element-ios/assets/1923178/18a0917d-f6db-4b8d-9af2-2cd2d50c31b3)

I wasn't sure where best to report this (on Nheko or here) but my assumption is that the sending device has the most control over which encryption keys are used to encrypt messages so I figured this might be the right place.

### Outcome

#### What did you expect?
To be able to see all messages sent to me by this user on all devices
#### What happened instead?
One device reported that the message had a duplicate encryption key (see screenshot)

### Your phone model

_No response_

### Operating system version

_No response_

### Application version

_No response_

### Homeserver

terracrypt.net, Synapse 1.86.0

### Will you send logs?

No

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.