On every join, I take the latest map data, re-encrypt it for...

Schlaus Kwab
npub182jczunncwe0jn6frpqwq3e0qjws7yqqnc3auccqv9nte2dnd63scjm4rf
hex
56b6b49f47685c50ae6bf8e7220256d0bf95636587aa9b627d40331cf8d2ac6dnevent
nevent1qqs9dd45narkshzs4e4l3eezqftdp0u4vdjc025mvf75qvculrf2cmgprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsr4fvpwfeu8vhefay3ss8qguhsf8g0zqqfug77vvqxze4u4xekagcx6u0crKind-1 (TextNote)
↳ 回复 事件不存在
0000fa6c1df9d810a50d87cdcd53d1ad899c56312c9abfd5dbf1e853ac902e70...
On every join, I take the latest map data, re-encrypt it for the new MLS group state, and sends it as a signed checkpoint. This gives new members the current map without exposing earlier private history. Not sure how this scales but I think private groups don't need to talk about big datasets.
https://github.com/zeSchlausKwab/earthly/blob/master/src/lib/private-workspace/checkpoint.ts
https://github.com/zeSchlausKwab/earthly/blob/8e65fa790711f91abd5ebd2b77a8d1c0a765b64c/src/lib/private-workspace/service.ts#L934
原始 JSON
{
"kind": 1,
"id": "56b6b49f47685c50ae6bf8e7220256d0bf95636587aa9b627d40331cf8d2ac6d",
"pubkey": "3aa5817273c3b2f94f491840e0472f049d0f10009e23de63006166bca9b36ea3",
"created_at": 1785075462,
"tags": [
[
"alt",
"A short note: On every join, I take the latest map data, re-encr..."
],
[
"e",
"ac62b451fc255e1bd5931894dce9e6016f80f0ee99a73dc3df0a567720855b0b",
"wss://relay.primal.net/",
"root",
"3aa5817273c3b2f94f491840e0472f049d0f10009e23de63006166bca9b36ea3"
],
[
"e",
"803c1da179a4689c25e08deea934854fc3b72250a3e03717007e00d15724c4e8",
"wss://relay.wavefunc.live/",
"",
"3aa5817273c3b2f94f491840e0472f049d0f10009e23de63006166bca9b36ea3"
],
[
"e",
"0000fa6c1df9d810a50d87cdcd53d1ad899c56312c9abfd5dbf1e853ac902e70",
"wss://relay.primal.net/",
"reply",
"40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451"
],
[
"p",
"3aa5817273c3b2f94f491840e0472f049d0f10009e23de63006166bca9b36ea3",
"wss://relay.wavefunc.live/"
],
[
"p",
"40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451",
"wss://nos.lol/"
],
[
"r",
"https://github.com/zeSchlausKwab/earthly/blob/8e65fa790711f91abd5ebd2b77a8d1c0a765b64c/src/lib/private-workspace/service.ts#L934"
],
[
"r",
"https://github.com/zeSchlausKwab/earthly/blob/master/src/lib/private-workspace/checkpoint.ts"
],
[
"client",
"Amethyst"
]
],
"content": "On every join, I take the latest map data, re-encrypt it for the new MLS group state, and sends it as a signed checkpoint. This gives new members the current map without exposing earlier private history. Not sure how this scales but I think private groups don't need to talk about big datasets. \n\nhttps://github.com/zeSchlausKwab/earthly/blob/master/src/lib/private-workspace/checkpoint.ts\n\nhttps://github.com/zeSchlausKwab/earthly/blob/8e65fa790711f91abd5ebd2b77a8d1c0a765b64c/src/lib/private-workspace/service.ts#L934",
"sig": "57404db1873f1c0082d0b3114d38733f692eeac6dec7e0094fdf314cadc7c79d4688405db6d68393b758d2f8358e4d3f8af485777eb7ae18310e445b631b1143"
}