-
Notifications
You must be signed in to change notification settings - Fork 55
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
remove md5 source hash prepend #50
base: master
Are you sure you want to change the base?
Conversation
Modern versions of Salt match hash length to hash type.
@blbradley just a random thought: it certainly is beneficial to keep the hash type for users of older salt versions - is keeping it detrimental in any way when using newer Salt versions? |
Yes, although I'm out of touch with the error thrown. With this patch, the user will choose either a value or a key=value that is compatible with their version of Salt. In addition, I'm pretty sure this patch will not break anything for end users of older versions. |
Clarification: older versions of this formula or older versions of Salt. Let me know if you need the error/reports/runs on an older version of Salt. |
I finally setup a single machine HDFS minion and ran my states without this patch:
So, users cannot use hash types other than md5 without this patch. |
This will not restrict users of older versions of Salt. They would now be required to supply the hash type and the hash instead of just the md5 hash. |
Been almost a year. I don't remember the context. Is this better or worse? |
Modern versions of Salt match hash length to hash type.
I was the author of this piece of code.