Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate new random identity when an order is created or taken #11

Open
grunch opened this issue Oct 11, 2024 · 1 comment
Open

Generate new random identity when an order is created or taken #11

grunch opened this issue Oct 11, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@grunch
Copy link
Member

grunch commented Oct 11, 2024

There is no need for a user registration screen, nor for the user to be asked if they want to use a previously generated private key, or if they want to keep one as such

For each new order that a user creates or takes, the client must generate a new private key, which will be used to sign the seal of the nip59 messages sent to Mostro for that order.
In others words: Mostro uses nip59 to exchange messages with users, always generating an ephemeral key to sign each message. Additionally, the Mostro client creates a new key for each order, linking it specifically to that order. Once the order is completed, that key is no longer used. Each new order will generate its own ephemeral key.

This way, it will be very difficult for an external agent attempting to analyze Nostr events to track the interactions between Mostro and its users.

No login screen required

@grunch grunch added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 11, 2024
@z017
Copy link

z017 commented Nov 6, 2024

I can take this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants