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

Anyone can reserve usernames by generating key pairs and issuing CSRs #1894

Open
Tracked by #1902
leblowl opened this issue Oct 3, 2023 · 2 comments
Open
Tracked by #1902

Comments

@leblowl
Copy link
Collaborator

leblowl commented Oct 3, 2023

Related to #1892. How can we prevent this? Perhaps, if pubKeys are added to a chain of trust (e.g. via local-first-auth)?

@holmesworcester
Copy link
Contributor

Also, a malicious user could hang out and submit a new CSR for any name anyone requests.

@leblowl
Copy link
Collaborator Author

leblowl commented Oct 4, 2023

Also, a malicious user could hang out and submit a new CSR for any name anyone requests.

We can choose a winning CSR randomly when more than one CSR requests the same name. But if someone floods CSRs with new keys that won't matter since probability will be on their side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants