-
Notifications
You must be signed in to change notification settings - Fork 422
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
Default bucket salt #2647
Default bucket salt #2647
Conversation
please add |
Thank you for you work on this ! |
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.
Do you mind adding a line in the documentation next to userid_hmac_secret
(see docs/configuration/settings.rst)
I wonder if to be consistent we should call the config default_bucket_hmac_secret
rather than default_bucket_id_salt
@Natim I've renamed all default_bucket_ID_salt to default_bucket_hmac_secret |
I would add a test to see that when the default_bucket_hmac secret is not defined it uses the user_hmac one and that when it is defined it doesn't. |
I'm not too sure how to test it. Does something like this work?
or something like this
|
Maybe you could test that |
I had to mock I hope this satisfy the test case. |
Fixes #1535 and #881
kinto.tpl
file with it.