element-hq / element-hq/element-ios
Switching available backup methods from wellknown is not handled
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Raised from #5784
Server configuration update: if server updates (for example) secure backup methods from ["key", "passphrase"] to ["passphrase"], any user that has setup a key recovery in the meantime will still get a key recovery flow in case of session verification (this avoids losing their data but doesn't respect the homeserver setting). It might be useful to look upon a specific recovery method switch flow for these kind of cases.
### Outcome

When having a config (after update):
`"io.element.e2ee": {
"secure_backup_required": true,
"secure_backup_setup_methods": ["passphrase"]
}`
This is due to navigation/display being based on `MXRecoveryService` rather than the WellKnown properties.
### Your phone model
_No response_
### Operating system version
_No response_
### Application version
_No response_
### Homeserver
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.