that's a lot of keys isn't it?
Discussion
Imagine if it is only one! 🤯
If clients supported it you could use a single encryption key that rotates when you change your follow list and posts a DM-like event with a new Kind for each of the people who can read them now. Actually you only need to rotate when you unfollow
Exactly! And with Merkle trees this becomes super efficient.
What's the tree for? 🤔
This way if you kick out one person, not everyone has to rotate keys, but only those along the path of the tree. Scales logN
You'll have to post one encrypted Kind "1" for each active key though. There's a tradeoff between how often you post and how often you unfollow people
No, one key to encrypt/decrypt for all your follows.
There are distributed key generation functions for this that each receiver runs independently.
I was wanting something like this that could be implemented on the fly, when you want to say share more private info.