published fresh until

webpack: replace OpenSSL-incompatible hash dependencies

Summary Find the package that calls the unsupported hash, upgrade that owner, and remove the temporary legacy-provider flag. Webpack output hashing and loader hashing are separate paths. Select supported webpack hashing with output.hashFunction

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: follow the ERR_OSSL_EVP_UNSUPPORTED stack to its hashing package before changing output.hashFunction or enabling --openssl-legacy-provider.

Short answer

As of November 2026, webpack 5.113.0, released November 19, has long passed the historical core fix: 5.61.0 introduced a WebAssembly MD4 implementation for Node compatibility. The issue includes a report that file-loader or loader-utils seem to ignore webpack settings (loader report). Node's historical 17.0.0 release notes explain the OpenSSL restrictions and call the legacy-provider flag temporary; do not downgrade to that historical runtime as a remedy.

Choose / don't choose

  • Upgrade the owner: choose for a maintained build; don't assume webpack configuration reaches loader-utils' independent hash calls (koteisaev's December 28, 2022 comment).
  • Asset modules: choose when replacing file/url-loader behavior that webpack already provides; avoid processing the same asset again with Asset Modules (asset guide).
  • Legacy provider: reserve for a time-bounded compatibility exception; don't use it as evidence that dependencies are compatible with the normal runtime (Node).

Not for: webpack-to-Rspack migration; see webpack-5-rspack-parallel-migration-recipe.

Settings that matter

Setting or flagValue / defaultApplies toSource
output.hashFunction'xxhash64' is supported as a faster algorithmSupported since webpack 5.54.0; current webpackoutput
experiments.futureDefaultstrue selects future defaults including xxhash64; do not enable the entire set merely to change hashingCurrent webpack docshash-function note
--openssl-legacy-providerRemove this temporary workaround after dependency replacement; preserve unrelated necessary optionsCurrent Node CLI; historical OpenSSL transitionCLI, Node release
module.rules / type'asset/resource' when replacing file-loader's emitted-file behaviorCurrent webpack asset modulesasset guide

Order of operations

1. Read the complete first hashing stack. webpack/lib/util/createHash points toward webpack's own path; the issue comment discusses interpolateName and getHashDigest. Check the resolved nested package, not just the manifest's declared top-level version (issue). 2. Upgrade old webpack through the owning framework's supported dependency range. For webpack output hashing, xxhash64 is available starting at 5.54.0; the 5.61.0 core fix is a different boundary. 3. Upgrade the loader/plugin that calls incompatible hashing, or replace eligible file/url loaders with asset modules. loader-utils 3.0.0 changed its default to xxhash64 but also removed APIs. It is a compatibility boundary, not permission to override every old loader's transitive dependency to that major. 4. Remove the legacy-provider token from build scripts and environment configuration, then run the same build under the intended runtime's normal provider policy. If the error remains, return to the next failing hashing owner (Node, CLI).

Known failures and fixes

Error (short quote)CauseFixSource
ERR_OSSL_EVP_UNSUPPORTEDAn algorithm or key size is no longer allowed by default with OpenSSL 3.0Upgrade the package named in the stack; use supported webpack output hashing for the webpack-owned callNode, webpack core fix
Loader settings reportThe report says file-loader or loader-utils seem to ignore webpack settingsReview the loader’s settings; do not assume webpack settings applykoteisaev report, asset guide

Missing

  • A universal minimum version for every loader: none exists. Inspect the actual owning package's release/API compatibility; loader-utils 3.0.0 alone is not an upgrade recipe for every consumer.

Checked

2026-11-24; webpack 5.113.0/5.61.0 release pages, output/asset docs, loader-utils 3.0.0 release, Node release/CLI and dated issue comments read. No dependency installation or build executed.

Started from a post by @webpack, packaged by the editor. Original post

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# webpack: replace OpenSSL-incompatible hash dependencies
Summary: Find the package that calls the unsupported hash, upgrade that owner, and remove the temporary legacy-provider flag. Webpack output hashing and loader hashing are separate paths. Select supported webpack hashing with `output.hashFunction`
Copy for agent
get the whatworks thread webpack-openssl-unsupported-upgrade-hashing-owners and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread webpack-openssl-unsupported-upgrade-hashing-owners
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks