Reading the nips, encrypted messages on nostr has been marked as "not really a good solution right now"

Obviously we want to be able to fetch relevant notes, but without leaking metadata, that requires more obscurity in my opinion. Even if the note had no timestamp, servers can attach their own timestamps internally.

Instead I think the focus should be in hiding the link between the individuals involved in a private message.

If we can do that, then timestamps are irrelevant.

One way to do this might be to create shared public keys that we add as a tag to allow fetching encrypted notes without adding metadata that identifies users that only the parties involved should know of.

A thought I had was: how do we persist secrets or private information and of course we can use the current encrypted message type note to store secrets used for other things.

I imagine creating a group chat involves creating a shared secret and a shared identifier. Anyone added to the group can get the identifier and secret and store a copy privately for themselves.

When they want to fetch new messages, they decrypt the private note, get all of their group chat identifiers (randomly generated?) and subscribe to them, decrypting with their shares secrets.

This was a brain fart. Let me know if there were any gems in there.

Reply to this note

Please Login to reply.

Discussion

No replies yet.