Skip to content
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

Use SHA-256 as the webpack hash function #10112

Closed
wants to merge 1 commit into from
Closed

Commits on Oct 25, 2021

  1. Use SHA-256 as the webpack hash function

    Webpack defaults to MD4 as the output hash function. MD4 was moved to the legacy provider in OpenSSL 3.0 and is not available by default. As a result, webpack fails to run on any system with OpenSSL 3.0 or later.
    
    This patch sets the hash function explicitly to SHA-256 which fixes the webpack build on such systems. SHA-256 is chosen as a reasonable modern default.
    
    An alternative solution would be to upgrade to webpack v5.54.0 or later and use webpack's future default hash function xxhash64, which doesn't depend on OpenSSL and is also faster than SHA-256.
    
    Related: lib-jitsi-meet#1743
    jbg committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    f5f0f4f View commit details
    Browse the repository at this point in the history