keychat on Nostr: For the second question, your answer is correct. The encryption keys derived from the ...
For the second question, your answer is correct. The encryption keys derived from the double ratchet are deleted once used, and users can set to automatically delete messages that have been read. Therefore, a hacker can only access the most recent messages and cannot retrieve past messages.
When I said that deploying the double ratchet wouldn't be more difficult, I meant that we can directly reuse the open-source code, libsignal.
If one party in a chat sends multiple messages in succession, the symmetric ratchet will come into play. Moreover, the double ratchet algorithm maximizes the use of the DH ratchet, with the DH ratchet turning each time the chatting parties reply to each other, instead of changing the DH at set intervals.
Published at
2024-09-28 08:11:19Event JSON
{
"id": "80d5e6da741ebbc44a35450bdc1949ca41b4ab12fe9b3d7a798f8859e23f240f",
"pubkey": "bbf923aa9246065f88c40c7d9bf61cccc0ff3fcff065a8cb2ff4cfbb62088f1e",
"created_at": 1727511079,
"kind": 1,
"tags": [
[
"e",
"9c7fd76c56ef865193d9586254cb171653d4800322b4557da976506329ffe728",
"",
"root"
],
[
"e",
"457caf84e6c994c1366b39a4728ffd8ec638206ca27cd098b35d3f28acfdbdce",
"",
"reply"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
]
],
"content": "For the second question, your answer is correct. The encryption keys derived from the double ratchet are deleted once used, and users can set to automatically delete messages that have been read. Therefore, a hacker can only access the most recent messages and cannot retrieve past messages.\n\nWhen I said that deploying the double ratchet wouldn't be more difficult, I meant that we can directly reuse the open-source code, libsignal.\n\nIf one party in a chat sends multiple messages in succession, the symmetric ratchet will come into play. Moreover, the double ratchet algorithm maximizes the use of the DH ratchet, with the DH ratchet turning each time the chatting parties reply to each other, instead of changing the DH at set intervals.",
"sig": "616067cd574b1ce738ffaf11a7901565159a0e35a925e11f125e5608ccd31695a32dbd9d13a3f374161eeecbbc9de414258e461a8792d7709af06a03b1f48877"
}