negrunch on Nostr: Hey everyone I'm implementing nip59 to Mostro which will allows more privacy to ...
Hey everyone I'm implementing nip59 to Mostro (npub1m0s…40un) which will allows more privacy to users, I'm thinking how to keep privacy and still allow users to be rated and share their reputation.
Here's an idea that came to me today
Clients will always use a new ephemeral key for each new order, the user who wants to maintain reputation can send an event to Mostro signed with each ephemeral key used to update their rating.
Example 01:
* Alice uses the automatically generated key abc to create a sale order
* Bob takes the order, they finish the operation
* Each one rated the counterparty
Example 02:
* Alice wants to make another sale, the client automatically generates the key xyz
* The client automatically sends a message to Mostro signed with the key xyz and the internal content signed with the key abc, this way Mostro knows that the user of xyz is also the user of abc
* Alice creates the order with the key xyz and Mostro shows the reputation obtained with abc
* Carol takes the order
* They finish the operation
* Each one rated the counterparty
Here's an idea that came to me today
Clients will always use a new ephemeral key for each new order, the user who wants to maintain reputation can send an event to Mostro signed with each ephemeral key used to update their rating.
Example 01:
* Alice uses the automatically generated key abc to create a sale order
* Bob takes the order, they finish the operation
* Each one rated the counterparty
Example 02:
* Alice wants to make another sale, the client automatically generates the key xyz
* The client automatically sends a message to Mostro signed with the key xyz and the internal content signed with the key abc, this way Mostro knows that the user of xyz is also the user of abc
* Alice creates the order with the key xyz and Mostro shows the reputation obtained with abc
* Carol takes the order
* They finish the operation
* Each one rated the counterparty