-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Babel-Loader Fails on FIPS: Digest method not supported #910
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a bug report
Webpack Version:
5.40.0
Babel Core Version:
7.14.6
Babel Loader Version:
8.2.2
Please tell us about your environment:
RHEL
Current behavior:
Expected/desired behavior:
I cannot easily link a StackBlitz or GitHub repo as fips has to be enabled on the Node distribution. The error occurs when doing a build of a Node application on a FIPS-enabled system.
Webpack Config (used to splice out the md4 hashes in Webpack)
What is the expected behavior?
The hash changes from Use md4 instead of sha1 for filename hashes #638 and Use MD4 instead of SHA1 for filename hashes #639 use md4 which is not a supported hashing algorithm for FIPS-compliant systems. Although md4 is a faster hashing algorithm, a configuration option should be provided for those building in a FIPS-compliant environment to specify an alternative hash, such as sha-256.
What is the motivation / use case for changing the behavior?
Allowing builds to use a compliant hashing algorithm.
The text was updated successfully, but these errors were encountered: