-
Notifications
You must be signed in to change notification settings - Fork 71
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
Harden against unauthorized changes to room state #565
Conversation
If an unauthorized change to connection-related room state is detected, deny the new connection settings & attempt to revert the state change. Also catch an otherwise-uncaught error on authentication failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm asking you to write a back-off counter to avoid infinite or near-infinite loops.
@jaller94 If the latest changes are fine by you, I'll merge this today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently I failed to submit this review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One concern, otherwise good!
If an unauthorized change to connection-related room state is detected, deny the new connection settings & attempt to revert the state change.
Also catch an otherwise-uncaught error on authentication failure.