0 sats \ 0 replies \ @gandlaf21 22 Jan 2023 \ parent \ on: emon: encrypted messaging over nostr with lightning integration ⚡ nostr
Yes, the senders and receivers pub key are stored in the event data.
You could mask the receiver by sending to many pub keys, but only one real one.
ECDHKE is good, but for conversation, where multiple messages are sent back and forth, you want an additional security parameter. The keys for encryption and decryption should change with each message. So that if a key gets compromised, the history cannot be decrypted