Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants