I’m in a Discord server with 2000 members. You really want to encrypt and decrypt all incoming and outgoing messages 2000 times? There’s a reason why most E2EE messaging apps don’t really do that for group chats.
I’m in a Discord server with 2000 members. You really want to encrypt and decrypt all incoming and outgoing messages 2000 times? There’s a reason why most E2EE messaging apps don’t really do that for group chats.
aksdb@lemmy.world 2 weeks ago
Depends on the usecase. If you don’t need chat history for new-joiners, you can work with a single key per group, rotating it whenever someone joins or leaves. Since the server broadcasts a „so-and-so has left/joined“ it might as well include the new key. That key is then used by everyone in the group, so you can still broadcast all messages and don’t have to encrypt them individually.