element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
409 stars 94 forks source link

Some users can't enable backup #2953

Open ara4n opened 3 months ago

ara4n commented 3 months ago

Steps to reproduce

A tracking bug for rageshakes and anecdata from users who say the app doesn't accept their passphrase/key.

Outcome

What did you expect?

Users should be able to enable backup on login.

What happened instead?

Passphrase/key gets rejected for reasons unknown.

Your phone model

No response

Operating system version

No response

Application version

No response

Homeserver

No response

Will you send logs?

Yes

poljar commented 2 months ago

https://github.com/element-hq/element-x-ios-rageshakes/issues/1745 is not at all about any passphrase/key, the user doesn't have secret storage enabled at all. I'm not really convinced that it would need Rust work either, what makes us think that it does?

poljar commented 2 months ago

https://github.com/element-hq/element-x-ios-rageshakes/issues/1500 is about the backup key in secret storage not being the one that is used.

Again, I don't think this needs Rust work, or if it needs it, certainly not much as all the primitives to delete and create backups and secret storage exist. It needs UI to tell the user what the situation is and let the user delete and recreate things.