NIP-24: Private Messages#52
Conversation
|
This would allow either user to forge messages with each others decoy keys since they are both composed of information shared by both parties, is this intended? |
|
@jb55 I guess if one of the users signed a message with the other's decoy key, it wouldn't matter because it's not their actual private key. Can you give an example of how they could forge. I might be misunderstanding. |
|
ah I think I misunderstood, the decoy keys are not used as the new secret keys which is what I thought in the first reading of this... interesting approach! |
|
Yeah, the decoy keys are kinda like P.O. boxes that only the two participants know about. The relay is like the post office in that it knows the two participants have the P.O. boxes (decoy keys) because they are filtering for them but it can't see what's inside. |
|
I really like this. was envisioning something similar but don't know cryptography (yet) curious if its possible to take this a step further to cover the author? would it be too insecure to do something like this? I believe this would allow you to author notes from decoy public key and sign with decoy private key, so no one would know who the message is from or to (except for the people messaging). if we're trying to remove metadata from DM's (and a lot of people seem to want this) author is probably worth trying to obfuscate as well. A[sk] = Alice's private key Alice's decoy private key is defined as apologies if I'm way off with any of this, just trying to learn and was fun to ponder. |
|
Thanks for the feedback! I'm glad you like the proposal. I am not a cryptography person and just learning as well. You make a great point that the author should be covered as well. I am working on an update for this NIP to address that. |
cameri
left a comment
There was a problem hiding this comment.
@jeffthibault have you implemented this? PR looks good but I'd like to see a working implementation
|
I may take a stab at implementing this in damus since I am intrigued... |
A proposal for more private direct messages. Please provide any feedback.
https://github.com/jeffthibault/nips/blob/private-messages/24.md