element-hq / element-hq/element-android

Red shield icon is incorrectly shown on devices that do not participate in encryption

Open
#9,098 0 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Establish an account with verified devices.
2. Log in a new device using a client that does not support encryption. (That is, one that does not upload device keys.)
3. Log in as a verified device using Element Android.
4. Open Settings: Security & Privacy: Show All Sessions

### Outcome

#### What did you expect?

I should see the session that does not participate in encryption, without red shields, warnings, or anything else that could scare the user or otherwise undermine confidence.

#### What happened instead?

The session that does not participate in encryption is displayed with a scary red shield icon.

#### More info

I think this might be a regression, since I don't remember seeing this problem in Element Android 1.6.42. However, I no longer have a way to install that older version, so I can't verify it.

A similar bug exists in recent versions of Element Web:
https://github.com/element-hq/element-web/issues/30837

### Your phone model

_No response_

### Operating system version

Android 14

### Application version and app store

Element Android 1.6.44 (F-Droid)

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

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.