keychat on Nostr: “The Signal protocol is used by two parties to exchange encrypted messages based on ...
“The Signal protocol is used by two parties to exchange encrypted messages based on a shared secret key.”
“Messaging Layer Security (MLS) is a security layer for encrypting messages in groups ranging from two to many.”
So, it might seem logical to conclude that "the MLS protocol is a superset of the Signal protocol, and the Signal protocol is a subset of the MLS protocol. Whether it's one-on-one private chats, small group chats, or large group chats, the MLS protocol alone could be used to implement them."
However, this seemingly logical conclusion is incorrect.
The MLS protocol is not as efficient as the Signal protocol for implementing one-on-one chats and small group chats.
Assume a two-person MLS group chat and a one-on-one chat using the Signal protocol, both achieving the same level of security.
In the MLS group, each message sent requires an additional message to update the encryption key (with forward secrecy and backward secrecy capabilities).
In contrast, one-on-one chats using the Signal protocol do not require this additional message to update the encryption key (with forward secrecy and backward secrecy capabilities).
The Signal protocol and the MLS (Message Layer Security) protocol are both designed for end-to-end encryption of messages.
The Signal protocol is particularly suited for one-on-one chats and small group. On the other hand, the MLS protocol is more appropriate for larger group.
Both can be implemented on Nostr.
If you are interested in understanding the basic principles of these protocols, I highly recommend the following two videos:
https://youtu.be/7uEeE3TUqmU
https://youtu.be/FESp2LHd42U
Published at
2024-08-29 08:07:18Event JSON
{
"id": "191903d3a22afa31e975825bf7d6cc0e651c2efe43ebe31f8c9558347a35af9f",
"pubkey": "bbf923aa9246065f88c40c7d9bf61cccc0ff3fcff065a8cb2ff4cfbb62088f1e",
"created_at": 1724918838,
"kind": 1,
"tags": [
[
"p",
"bbf923aa9246065f88c40c7d9bf61cccc0ff3fcff065a8cb2ff4cfbb62088f1e"
]
],
"content": "“The Signal protocol is used by two parties to exchange encrypted messages based on a shared secret key.”\n\n“Messaging Layer Security (MLS) is a security layer for encrypting messages in groups ranging from two to many.”\n\nSo, it might seem logical to conclude that \"the MLS protocol is a superset of the Signal protocol, and the Signal protocol is a subset of the MLS protocol. Whether it's one-on-one private chats, small group chats, or large group chats, the MLS protocol alone could be used to implement them.\"\n\nHowever, this seemingly logical conclusion is incorrect. \n\nThe MLS protocol is not as efficient as the Signal protocol for implementing one-on-one chats and small group chats. \n\nAssume a two-person MLS group chat and a one-on-one chat using the Signal protocol, both achieving the same level of security. \n\nIn the MLS group, each message sent requires an additional message to update the encryption key (with forward secrecy and backward secrecy capabilities). \n\nIn contrast, one-on-one chats using the Signal protocol do not require this additional message to update the encryption key (with forward secrecy and backward secrecy capabilities). nostr:note13hk6h6c9zrpndsvy08tr0xlvz45jfj2twfl3tp03jt08sv6kcxmqx34nax",
"sig": "f0da7416b268c81398e1b3f709935be41c2b35399612ced478fef87b53f6f8c4544ce08b05aaf4d47389ed019624599f119c629abfa5fdf2544dea33118bc03c"
}