-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
How to approach
- When creating the account, the user generates a public and private key pair and saves them in local storage.
- The user then sends the public key to the server alongside his credentials. THE PRIVATE KEY IS NOT SHARED WITH ANYONE
- The server receives the user's credentials and his public key, generates a certificate out of the public key, and saves the user in the server.
- Each time user_A wants to chat with user_B, the server sends user_B's certificate to user_A and vice versa. Each user saves the other's certificate in their local storage to be able to encrypt messages and send them.
- The ENCRYPTED messages are saved in Monge DB.
Ref:
- https://github.com/muke1908/chat-e2ee
- https://github.com/VertikaJain/react-chat-app
- https://github.com/signalapp/libsignal-protocol-javascript
- https://docs.lens.xyz/docs/encrypted-dms [ Web3 Approach ]
Pre-reqs [ Encryption Algorithms ]:
Metadata
Metadata
Assignees
Labels
No labels