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
I could not find a solution in the existing issues, docs, nor discussions
Describe your problem
I spent a lot of time trying to find how to do E2EE properly, without luck. When i found some information, it was for js or python, which is different than in dart. Ive managed to have encryption correctly for private chat, but im having trouble when user logs out and logs back in. i get for every message 'Could not decrypt message: No permission'.
i can see in database / hive files that i am storing keys.
The trouble is when i have only one client (this one im building) and when i log out and then log back in, then i cant see rooms, upon reload of client i see rooms and every message has that could not decrypt message.
I could not find anywhere:
should i call encryption somewhere?
should i call bootstrap?
should i manage or do something with keys?
how to decrypt message?
Im purposefully not doing verification or passcode or matching with the user (comparing emojis, or whatever) and dont want to.
Based on example it just shows simple implementation, which upon logging out and back in breaks things.
Describe your ideal solution
Make a guide for encryption for dart so that its clear to understand and develop. Scouting code and trying to figure it out is not a good way especially when half of the functions is not commented.
Version
0.22.4
Security requirements
Make E2EE functioning correctly.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Hey thanks for your interest, but currently we do not have the capacity to give technical support. However a more detailed handbook which covers this topic is on our roadmap but might need much more time before we can start with it.
Closing as this is not a bug
Preflight Checklist
Describe your problem
I spent a lot of time trying to find how to do E2EE properly, without luck. When i found some information, it was for js or python, which is different than in dart. Ive managed to have encryption correctly for private chat, but im having trouble when user logs out and logs back in. i get for every message 'Could not decrypt message: No permission'.
my init is like this:
i can see in database / hive files that i am storing keys.
The trouble is when i have only one client (this one im building) and when i log out and then log back in, then i cant see rooms, upon reload of client i see rooms and every message has that could not decrypt message.
I could not find anywhere:
Im purposefully not doing verification or passcode or matching with the user (comparing emojis, or whatever) and dont want to.
Based on example it just shows simple implementation, which upon logging out and back in breaks things.
Describe your ideal solution
Make a guide for encryption for dart so that its clear to understand and develop. Scouting code and trying to figure it out is not a good way especially when half of the functions is not commented.
Version
0.22.4
Security requirements
Make E2EE functioning correctly.
Additional Context
No response
The text was updated successfully, but these errors were encountered: