You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Robrix sets up the Matrix SDK to auto-decrypt messages received in E2EE rooms
There are three main parts to this:
Device verification, which is done via emoji sequences.
This requires the user to initiate the device verification procedure using another already-logged-in client (e.g., Element).
We need to prompt the logged-in user of Robrix to start emoji verification (perhaps via an in-app notification) and then display instructions on how to start the procedure using another client.
Saving inner session state of the Matrix SDK to disk and restoring it upon app start.
E2EE session data must be saved and restored by the Matrix SDK in order to maintain the ability to decrypt messages after the app is booted the next time.
Supporting querying encrypted images.
Currently Robrix assumes that all media requests are for MXC URIs that are unencrypted. See the MediaRequest type and the usage of the Plain(OwnedMxcUri) variant.
The first step would be to test item (1) above, it should suffice to just run the emoji verification sequence and then open an E2EE room, at which point the Matrix SDK should automatically decrypt all encrypted content. If it does not, then item (1) should be considered unsuccessful.
The ability of Robrix to act as the original device that creates the E2EE tokens/keys (unsure of the proper term).
Typically the client instance that you first login to or register a new account with is responsible for this, and for generating backup codes or a backup file to restore the encryption keys if device verification using another client is unavailable.
The ability for Robrix to serve as the "server" device for emoji verification (to verify another client).
For now, we only care about using another client as the "server" device to verify an instance of Robrix.
The text was updated successfully, but these errors were encountered:
Currently Robrix sets up the Matrix SDK to auto-decrypt messages received in E2EE rooms
There are three main parts to this:
MediaRequest
type and the usage of thePlain(OwnedMxcUri)
variant.The first step would be to test item (1) above, it should suffice to just run the emoji verification sequence and then open an E2EE room, at which point the Matrix SDK should automatically decrypt all encrypted content. If it does not, then item (1) should be considered unsuccessful.
Examples/Resources
There is an example on basic emoji verification here: https://github.com/matrix-org/matrix-rust-sdk/blob/main/examples/emoji_verification/src/main.rs
Distinguishing separate issues
This issue does not cover:
The text was updated successfully, but these errors were encountered: