element-hq / element-hq/element-android

Crypto issues

Open
#8,416 0 comments 0 reactions 1 assignee Claimed by @BillCarsonFr View on GitHub
A-RustSdk S-Major T-Defect Team: Crypto
Dominant language
Kotlin
Stars
3.7k
Forks
917
Avg merge
8d 20h
Merged PRs (30d)
1

Description

When testing migration to Element Android with the Rust SDK, I had the following issue.

### Using the legacy app (current nightly with Kotlin Crypto SDK)

Fresh install and login to my account OK.

- [x] Self verification with QRCode using another session on Element Web is broken, after scanning the QR code with the mobile, nothing happen on the Web client. https://github.com/vector-im/element-android/issues/8418
- [ ] Self verification using Emoji works, but it seems that Element Web does not share the private keys. This is what I see on Element Android in the settings:

image

### After installing the version with the crypto Rust SDK

- Migration was OK and took a few seconds. I can read my encrypted messages
- [ ] I have to verify again the session (the banner "Verify this device" is displayed). Verifing using Element Web was working but there is a refresh issue on Element Android, see below (Web on left, mobile on right):

image

Clicking on "Yes" on EleWeb finishes the verification

This is what I see on Element Android in the settings, this looks correct:

image

Regarding the "Secure Backup", this is what I have now:

image

This does not look correct, I should be able to reset the "Secure Backup", since the session is verified IIUC. If I quit and open again the screen to try to refresh the UI state, it fixes the issue:

image

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.