Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable to end-to-end encryption in react-native using the matrix-js-sdk? #2205

Closed
AbdullahQureshi1080 opened this issue Feb 25, 2022 · 8 comments

Comments

@AbdullahQureshi1080
Copy link

AbdullahQureshi1080 commented Feb 25, 2022

The sdk is working without encryption for react-native version v64.2 both on IOS and Android and a guide to making encryption work would be really awesome. The docs do not provide much support that could help with a minimal working example. Any help or support would be appreciated.

The only issue thread that offer some insight or makes some understanding is issue

@dimitri-bourreau
Copy link

@AbdullahQureshi1080 Hi! Have you figure out anything since your last post? Thanks!

@AbdullahQureshi1080
Copy link
Author

AbdullahQureshi1080 commented Mar 29, 2022

@AbdullahQureshi1080 Hi! Have you figure out anything since your last post? Thanks!

Hi, Not exactly how I want it, but have been able to make it work with using my client and element.io by creating a room through element on the homeserver and then enabling encryption from element and establishing connection but having issues with making it work with my two clients. Having issues with proper syncing of device ids, same account access on different devices, platforms and browser sessions.

Most common error is Unable to decrypt: The sender's device has not sent us the keys for this message

Using react native v0.64.2
matrix-js-sdk v12.0.0

@AbdullahQureshi1080
Copy link
Author

@dimitri-bourreau Hey, how's it going? Have you been able to achieve this for two separate clients?

@dimitri-bourreau
Copy link

@AbdullahQureshi1080 Hi! We dropped the encryption feature for now (I'm no longer working for this client, so I do not follow this).

@AbdullahQureshi1080
Copy link
Author

@dimitri-bourreau Okay that's understandable. Can you suggest some alternatives youve experimented with. That'd he helpful.

@greynewell
Copy link

I'm in the same boat. Nothing I've tried has worked for E2EE on react native, there's alwaus a missing Node or browser library at some point in the chain. Also had to drop the encryption feature.

@nitesh-habilelabs
Copy link

nitesh-habilelabs commented Jun 19, 2024

i am having issue with decryption and cross signing of device in my react native app. is there any update ?
@AbdullahQureshi1080 @greynewell @dimitri-bourreau

@richvdh
Copy link
Member

richvdh commented Nov 18, 2024

#4503 updated the documentation, so this is hopefully better now.

@richvdh richvdh closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants