element-hq / element-hq/element-ios

Can't verify user when option to send keys to verified devices only is selected

Open
#6,519 1 comment 0 reactions 0 assignees View on GitHub
A-E2EE-SAS-Verification crypto
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Go to Settings > Security
3. Enable 'Encrypt to verified devices only'
4. Go back to a DM with one of your contact, click on his profile
5. Tap on verify.

### Outcome

#### What did you expect?

That you initiate a verification process.

#### What happened instead?

It's failing because the recipient won't be able to decrypt the verification request
image

So it's quite annoying, I enabled 'Encrypt to verified devices only' and I have unverified users in a room. So you would think that verify them will fix the issue, but you can't

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure from Settings > Security by enabling “Encrypt to verified devices only,” then attempting verification from a contact profile in a DM. Investigate the verification-request flow and its encryption requirements; done means verification can be initiated successfully for an unverified contact while the setting remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.