jeremyckahn / chitchatter

Secure peer-to-peer chat that is serverless, decentralized, and ephemeral

Home Page:https://chitchatter.im/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Personal rooms

jeremyckahn opened this issue · comments

I'm envisioning a sort of "personal room" feature where one peer has host/admin privileges based on a locally-generated public/private room key pair.

We can use the Web Crypto API to generate public/private keys. Here's a POC for that: https://gist.github.com/jeremyckahn/66d54e4960bf42e3256f48004aab7ce6

And here's a rough idea of how the user flow might work to achieve this: Personal room flowchart

Originally posted by @jeremyckahn in #209 (comment)