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

Change registration flow to require client provided auth key #28

Merged
merged 2 commits into from
May 17, 2022

Conversation

streamer45
Copy link
Contributor

Summary

PR changes the registration flow from server-generated to client-provided key. This lets us simplify quite a lot on the plugin (client) side especially in preparation to supporting multiple rtcd servers at once.

The client-provided auth key will use the same generation function so that we guarantee the same length/entropy.

@streamer45 streamer45 added 2: Dev Review Requires review by a core committer 3: Security Review labels May 10, 2022
@streamer45 streamer45 requested review from cpoile and oh6hay May 10, 2022 18:24
@streamer45 streamer45 self-assigned this May 10, 2022
Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my end (can't speak to the security aspect of it). Thanks @streamer45!

@streamer45 streamer45 removed the 2: Dev Review Requires review by a core committer label May 11, 2022
@streamer45
Copy link
Contributor Author

@oh6hay gentle ping on this, looking to merge this week if possible but please let me know if you have concerns or need more time to fit it in.

Copy link

@oh6hay oh6hay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@streamer45 streamer45 added 3: Reviews Complete All reviewers have approved the pull request and removed 3: Security Review labels May 17, 2022
@streamer45 streamer45 merged commit e82c019 into master May 17, 2022
@streamer45 streamer45 deleted the auth-change branch May 17, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants