element-hq / element-hq/element-ios

An error is reported when using a security key to authenticate a session under certain conditions.

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

Description

### Steps to reproduce

1. Login to the server (self-hosted);
2. Enter settings from "User Settings";
3. Security -> Restore from Backup;
4. At this point select the security key from the iPhone;
5. Click "Use Key".

### Outcome

#### What did you expect?
n/a

#### What happened instead?
An error will be returned at this point. Click "Back" or "Cancel", then click "Use Key" again, and the verification is passed.
![{BE86E707-9123-10CE-AEB3-ECDAF5E67AF6}](https://github.com/vector-im/element-ios/assets/48104960/c62701d0-0dc6-4749-b145-0faf7c092775)

**This problem is not serious, if the verification is completed through the pop-up guide of the app immediately after login (also using the security key in the above steps), this problem will not occur.**

### Your phone model

iPhone 7 Plus

### Operating system version

iOS 15.6.1

### Application version

Element iOS 1.11.0

### Homeserver

Synapse 1.90.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.