-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
htpasswd: deprecate crypt_scheme #6841
htpasswd: deprecate crypt_scheme #6841
Conversation
This PR will need a rebase after #6840 is merged. |
cc @None |
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.
Since the htpasswd module is very old, I would proceed differently:
- Only do the rename in this PR, add the old name as an alias.
- In 8.0.0, deprecate the alias.
- In 10.0.0, remove the alias.
What do you think?
738c8e0
to
7cb6e81
Compare
Okie, slowing down :-) |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6858 🤖 @patchback |
* htpasswd: rename crypt_scheme with hash_scheme * add changelog frag * fixed chglog frag * adjusted code for parameter name change (cherry picked from commit 4d704c0)
@russoz thanks for working on this! |
…me (#6858) htpasswd: deprecate crypt_scheme (#6841) * htpasswd: rename crypt_scheme with hash_scheme * add changelog frag * fixed chglog frag * adjusted code for parameter name change (cherry picked from commit 4d704c0) Co-authored-by: Alexei Znamensky <[email protected]>
SUMMARY
Technical nit-picking. What
htpasswd
does with the.htpasswd
fiels used by Apache httpd is hashing, not encrypting. This PR renames the parametercrypt_scheme
tohash_scheme
, and addcrypt_scheme
as a deprecated alias of that option. It also updates the docs.ISSUE TYPE
COMPONENT NAME
htpasswd