pippellia on Nostr: I didn't read Kind 4 DMs spec, but normally in encryption: - the sender encrypts with ...
I didn't read Kind 4 DMs spec, but normally in encryption:
- the sender encrypts with his private key
- and encrypts with the recipient pub key.
So the recipient:
1. decrypt with his private key
2. decrypt with the pubkey of the sender
So, if the recipient just does 1., he can share the message which is "signed"
Published at
2024-07-04 23:18:36Event JSON
{
"id": "1d68218d05c2f2c5f12a1bddc9779d9a76d8db4e06a4512bd4610df43858f14c",
"pubkey": "f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2",
"created_at": 1720127916,
"kind": 1,
"tags": [
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"e",
"4759586f86feb3c7a4d5b84999f07e56fe01700c6073f90bc06fbcd31bd8e821",
"wss://nproxy.kristapsk.lv",
"root"
]
],
"content": "I didn't read Kind 4 DMs spec, but normally in encryption:\n\n- the sender encrypts with his private key\n- and encrypts with the recipient pub key.\n\nSo the recipient:\n\n1. decrypt with his private key\n2. decrypt with the pubkey of the sender\n\nSo, if the recipient just does 1., he can share the message which is \"signed\"",
"sig": "a0705fef9439856fa786101323dbc7602c414560cc7df28b433ccab261ed82f9d21c9f8ef70cc6416cffc5a74407ae8972c636f651567a47b8aa49caea630cb8"
}