Suggestion: after first message with someone, tag posts not with their public key, but a key derived from shared secret.

That hides further messages from the public eye. Basically, only the initial message request is public.

tag: hash(shared secret + their public key)

Reply to this note

Please Login to reply.

Discussion

interesting!

Used to do this in Iris when I was using gundb

Actually this is better so groups can be supported in the future:

tag: hash(shared secret + your public key)

👀

Hi Martti, I wrote a NIP proposal for private messages a few months ago. It’s still a PR but you might find it interesting. It’s still waiting for some more reviews.

https://github.com/nostr-protocol/nips/pull/56