Skip to content

use sha256 instead of md5 #336

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

Merged
merged 10 commits into from
Mar 20, 2019
Merged

use sha256 instead of md5 #336

merged 10 commits into from
Mar 20, 2019

Conversation

sjoshi10
Copy link
Contributor

Currently, serverless-python-requirements does not work in our environment because this library is using md5. This algorithm is not FIPS compliant. We are getting the following error:

digital envelope routines:EVP_DigestInit_ex:disabled for fips

I created this PR so that we can move away from using md5 and use sha256 algorithm which is FIPS compliant.

@AndrewFarley
Copy link
Contributor

It doesn't use md5 for anything that matters, but I'd say this is still a welcome change if it helps you it could help others and still passes all tests. Quick glance at the changes look good to me.

@sjoshi10
Copy link
Contributor Author

@AndrewFarley Yup, I noticed that it's only using it for filename or something. I think this will help people who needs to be FIPS compliant because md5 will not work at all in those environments.

Copy link
Contributor

@dschep dschep left a comment

Choose a reason for hiding this comment

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

LGTM!

@dschep dschep merged commit c017f71 into serverless:master Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants