-
Notifications
You must be signed in to change notification settings - Fork 89
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
Community owner will register the same username twice when it should not #2155
Comments
HYPOTHESIS:
Method My hypothesis is there's a race condition when the certificates store is being loaded AFTER the CSRs store and as a result it isn't providing certificates to verify username uniqueness against. HOW TO VERIFY: Modify the code so it always passes an empty array of certificates and see if the problem becomes deterministic. POSSIBLE SOLUTION: Make sure certificates are always being loaded before CSRs. |
This is a heisenbug but the warning works correctly (so there isn't a security issue, we do not think) and it happens only in unlikely cases. Moved to next sprint. |
refactor: Refactor the registration service so that we can more easily verify that it does not register duplicate certs. Related to #2155
Refactor the registration service so that we can more easily verify that it does not register duplicate certs. Related to #2155
Refactor the registration service so that we can more easily verify that it does not register duplicate certs. Related to #2155
Refactor the registration service so that we can more easily verify that it does not register duplicate certs. Related to #2155
Refactor the registration service so that we can more easily verify that it does not register duplicate certs. Related to #2155
Noting that we think this is fixed. We should wait to see if it comes up again and reopen. @kingalg please reopen if you're still seeing this in the latest release. |
Version: 2.0.3-alpha.13
System: MacOS, Windows, Linux
So far issue not spotted on mobile.
Issue: more then one user registered with the same username.
It was working before alpha.13. The last time we had a bug related to impersonation attack was around 5 weeks ago and it was fixed.
Steps to recreate (this is how I did it, but Wiktor and Kacper replicated it in different ways as well):
What happens - both users are registered with the same username and channel users get "possible impersonation attack" popup.
The text was updated successfully, but these errors were encountered: