Key Exchange via Convex
Hi, I want to build a chat app with e2e encryption. To do this I need a way to exchange the public keys between two (or more) users. How can I achieve that with Convex?
6 Replies
Convex is not any different to any other database in this respect. If you find a resource (article, tutorial) that uses another database (or another mechanism, perhaps peer-to-peer) for key exchange you can swap in Convex instead.
@FleetAdmiralJakob 🗕 🗗 🗙 our very own @lee built an app with end-to-end encryption. you can find it here: https://github.com/ldanilek/whisper
GitHub
GitHub - ldanilek/whisper
Contribute to ldanilek/whisper development by creating an account on GitHub.
we use it from time to time
it's for secure files, but some of the ideas are probably similar and can be helpful
it doesn't do key exchange though 🙂 . I don't know if we have examples that do that
true
something like this might help -- browser-side diffie-hellman: https://github.com/shade/diffiejs
GitHub
GitHub - shade/diffiejs: Diffie Hellman implementation in JavaScript
Diffie Hellman implementation in JavaScript. Contribute to shade/diffiejs development by creating an account on GitHub.