element-hq / element-hq/element-ios
An error is reported when using a security key to authenticate a session under certain conditions.
- 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.

**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
Assessment
This issue has not been assessed yet.