Zio Mc on Nostr: I'm reading your note just now and it looks you know a lot about encryption, nostr ...
I'm reading your note just now and it looks you know a lot about encryption, nostr and nips.
I've got a question about nip59, why i need to use the content of the message inside another event called rumor and not directly in the seal?
And is not clear how can i decrypt a gift wrapped once sent, do i need to store the privkey of the ephemeral generated key?
Thanks
Published at
2024-10-07 18:49:41Event JSON
{
"id": "76ce024200523b810717c20a01e495e3f3e73aadbeff6b744aabf0c26ffc0279",
"pubkey": "dc1be7fdba0c8a1bf9065cdee45c948d574e780f74894251e9c95d16432655b9",
"created_at": 1728326981,
"kind": 1,
"tags": [
[
"p",
"7283e65da67fed93a05b88b68b0923227987935440e703c4c442b3218f0a5e9e"
],
[
"a",
"30023:7283e65da67fed93a05b88b68b0923227987935440e703c4c442b3218f0a5e9e:oLCVQQYL5yEqWNSGgbGv6",
"",
"root"
]
],
"content": "I'm reading your note just now and it looks you know a lot about encryption, nostr and nips.\nI've got a question about nip59, why i need to use the content of the message inside another event called rumor and not directly in the seal?\nAnd is not clear how can i decrypt a gift wrapped once sent, do i need to store the privkey of the ephemeral generated key?\nThanks",
"sig": "7c0850db1dd8f373c028d6eebc623449caa0d18ac318c2002452238cefb6f1fd8b6c932d4ab4cde9fd9aacf7db4978e895c3fb7ea31d8394567dfc3c2f7dca8d"
}