Vert.x version 4.1.2
info from package.json :
"webpack": "^1.12.2"
"react": "^0.14.1"
Context
Currently I was running our tests (based on these vert.x examples) on RHEL 8 with FIPS enabled and we have some builds failures because the webpack build in react example (vertx-web)
16:52:03 internal/crypto/hash.js:33
16:52:03 this._handle = new _Hash(algorithm);
16:52:03 ^
16:52:03
16:52:03 Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS
16:52:03 at new Hash (internal/crypto/hash.js:33:18)
16:52:03 at Object.createHash (crypto.js:101:10)
16:52:03 at Compilation.createHash (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:771:31)
16:52:03 at Compilation. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:554:8)
16:52:03 at Compilation.applyPluginsAsync (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/tapable/lib/Tapable.js:60:69)
16:52:03 at Compilation.seal (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:525:7)
16:52:03 at Compiler. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compiler.js:397:15)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/tapable/lib/Tapable.js:103:11
16:52:03 at Compilation. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:445:10)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:417:12
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:332:10
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:52:16
16:52:03 at done (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:246:17)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:44:16
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:332:10
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:52:16
16:52:03 at done (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:246:17)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:44:16
16:52:03 at process._tickCallback (internal/process/next_tick.js:61:11)`
Extra
OS: RHEL8 (Red Hat Enterprise Linux 8.4)
openjdk 1.8
openjdk 11.0.12
It's not a problem on Vert.x side but yes on react throughout building on RHEL 8 with FIPS enabled.
Updating the ract dependencies to the latest (17.0.2) and fixing our pom.xml adding the argument npm install --save-dev webpack cli solved the issue with our test for vertx-web react example.
Version
Vert.x version 4.1.2 info from package.json : "webpack": "^1.12.2" "react": "^0.14.1"
Context
Currently I was running our tests (based on these vert.x examples) on RHEL 8 with FIPS enabled and we have some builds failures because the webpack build in react example (vertx-web)
Error Trace :
`16:52:00 [INFO] --- exec-maven-plugin:1.6.0:exec (webpack build in react example) @ vertx-web ---
16:52:03 internal/crypto/hash.js:33 16:52:03 this._handle = new _Hash(algorithm); 16:52:03 ^ 16:52:03 16:52:03 Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS 16:52:03 at new Hash (internal/crypto/hash.js:33:18) 16:52:03 at Object.createHash (crypto.js:101:10) 16:52:03 at Compilation.createHash (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:771:31) 16:52:03 at Compilation. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:554:8)
16:52:03 at Compilation.applyPluginsAsync (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/tapable/lib/Tapable.js:60:69)
16:52:03 at Compilation.seal (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:525:7)
16:52:03 at Compiler. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compiler.js:397:15)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/tapable/lib/Tapable.js:103:11
16:52:03 at Compilation. (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:445:10)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:417:12
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:332:10
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:52:16
16:52:03 at done (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:246:17)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:44:16
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/webpack/lib/Compilation.js:332:10
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:52:16
16:52:03 at done (/home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:246:17)
16:52:03 at /home/cloud-user/jenkins/workspace/vertx-4-standalone-rhel8-openjdk8/it/vertx-web/src/main/resources/react/node_modules/async/lib/async.js:44:16
16:52:03 at process._tickCallback (internal/process/next_tick.js:61:11)`
Extra
OS: RHEL8 (Red Hat Enterprise Linux 8.4) openjdk 1.8 openjdk 11.0.12
It's not a problem on Vert.x side but yes on react throughout building on RHEL 8 with FIPS enabled.