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

HIGH: Lock the DB for the same socket while verifying self to avoid glitching #64

Open
TLTimeplex opened this issue Feb 22, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@TLTimeplex
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Possible glitch where a user sends first a verification and then a public key without waiting for the respnse, so that he would be overrideing the pub key and would now have stollen the acount. Still he would not be able to read any chats but he has kicked out the owner from its acounr and can now be someone else.

Describe the solution you'd like
Add a bool or a lockable object to the socket to lock the entrance to the DB or the execution of anouther request.

@TLTimeplex TLTimeplex added bug Something isn't working enhancement New feature or request labels Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant