-
Notifications
You must be signed in to change notification settings - Fork 592
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
Validation and url_decode for SCRAM usernames #15253
Validation and url_decode for SCRAM usernames #15253
Conversation
new failures in https://buildkite.com/redpanda/redpanda/builds/42099#018c23d9-e78e-47fe-aa2d-510aa048f508:
|
Note to reviewers: I may have badly abused some terminology here, so please keep an eye out for that! |
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.
🔥
Includes simple validator against SASLNAME regex in scram_algorithm.cc
- `DELETE /v1/security/users/{user}` - `PUT /v1/security/users/{user}`
- Create usernames with characters that will require URL escaping. - Verify that these users can be updated/deleted
39575f3
to
8f40bf0
Compare
force push to remove extraneous |
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.
lgtm
/ci-repeat 1 |
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/42155#018c281c-d3c3-4c5e-84ab-e009ab568868 |
/backport v23.2.x |
/backport v23.1.x |
/backport v22.3.x |
Failed to create a backport PR to v23.2.x branch. I tried:
|
Failed to create a backport PR to v23.1.x branch. I tried:
|
Failed to create a backport PR to v22.3.x branch. I tried:
|
This PR introduces a simple validator for SCRAM usernames (applied on the create_user path) and url decoding for usernames on the delete_user and update_user paths, along with associated tests.
Fixes #14034
Backports Required
Release Notes
Bug Fixes
DELETE/PUT /v1/security/users/{user})