Hello community, here is the log from the commit of package nodejs12 for openSUSE:Factory checked in at 2019-10-11 15:22:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs12 (Old) and /work/SRC/openSUSE:Factory/.nodejs12.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs12" Fri Oct 11 15:22:18 2019 rev:4 rq:737438 version:12.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs12/nodejs12.changes 2019-09-07 11:54:09.810267902 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs12.new.2352/nodejs12.changes 2019-10-11 15:22:24.935262660 +0200 @@ -1,0 +2,36 @@ +Wed Oct 2 14:37:59 UTC 2019 - Adam Majer <[email protected]> + +- Update to 12.11.1: + * build: fixed building + * deps: Updated small-icu data to support "unit" style in the + Intl.NumberFormat API + +------------------------------------------------------------------- +Thu Sep 26 15:25:35 UTC 2019 - Adam Majer <[email protected]> + +- Update to 12.11.0: + * crypto: Add oaepLabel option + * deps: updated V8 to 7.7.299.11 + + More efficient memory handling + + Stack trace serialization got faster + + The Intl.NumberFormat - API gained new functionality + + more information: https://v8.dev/blog/v8-release-77 + * events: Add support for EventTarget in once + * fs: Expose memory file mapping flag UV_FS_O_FILEMAP + * inspector: New API - Session.connectToMainThread + * process: Initial SourceMap support via env.NODE_V8_COVERAGE + * stream: Make _write() optional when _writev() is implemented + * tls: Add option to override signature algorithms + * util: Add encodeInto to TextEncoder + * worker: The worker_thread module is now stable + +- versioned.patch: refreshed + +------------------------------------------------------------------- +Wed Sep 18 13:44:55 UTC 2019 - Vítězslav Čížek <[email protected]> + +- Fix build with OpenSSL 1.1.1d (bsc#1149792) + * https://github.com/nodejs/node/pull/29550 + * add fix_build_with_openssl_1.1.1d.patch + +------------------------------------------------------------------- Old: ---- node-v12.10.0.tar.xz New: ---- fix_build_with_openssl_1.1.1d.patch node-v12.11.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs12.spec ++++++ --- /var/tmp/diff_new_pack.ll0Dvr/_old 2019-10-11 15:22:28.215253643 +0200 +++ /var/tmp/diff_new_pack.ll0Dvr/_new 2019-10-11 15:22:28.215253643 +0200 @@ -26,7 +26,7 @@ ########################################################### Name: nodejs12 -Version: 12.10.0 +Version: 12.11.1 Release: 0 %define node_version_number 12 @@ -122,6 +122,8 @@ Patch3: fix_ci_tests.patch Patch7: manual_configure.patch +Patch32: fix_build_with_openssl_1.1.1d.patch + ## Patches specific to SUSE and openSUSE # PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built Patch101: nodejs-libpath.patch @@ -317,6 +319,7 @@ %patch7 -p1 %if 0%{with valgrind_tests} %endif +%patch32 -p1 %patch101 -p1 %patch102 -p1 # Add check_output to configure script (not part of Python 2.6 in SLE11). ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.ll0Dvr/_old 2019-10-11 15:22:28.255253533 +0200 +++ /var/tmp/diff_new_pack.ll0Dvr/_new 2019-10-11 15:22:28.255253533 +0200 @@ -1,34 +1,34 @@ -c5058a0fcbd0c9f8d49b64aa573ef151460f9de142a94479b2eda7d077d9de37 node-v12.10.0-aix-ppc64.tar.gz -4c16d1f6454f5dc3977ad00cea123792b8d4e1d6d1bf42bbc82a4202039a5971 node-v12.10.0-darwin-x64.tar.gz -3edc050787453e20000047d892467065671f4a2ecf3acf6363bdd50f64009826 node-v12.10.0-darwin-x64.tar.xz -992bd91f5fadacb47a530b19b86c9dfd7fb0952e383595f971fc44047952d8e4 node-v12.10.0-headers.tar.gz -3a066f2341d7b6a80a0fbf46842765b51ba817ee26c3f3ba9d035c77afd12fd7 node-v12.10.0-headers.tar.xz -fd117a6ed22f493900fabdc7881fee50c7661c0eed88ae10c1139fa0d6c72535 node-v12.10.0-linux-arm64.tar.gz -fa1afb9e8cfd964867351b6dac6cd918784ff309291612251c4745aeb0b10e02 node-v12.10.0-linux-arm64.tar.xz -79b2f3d4eeffdf67e175143e032a1e38d6757dce0f361c064a2034ba9bbd69af node-v12.10.0-linux-armv7l.tar.gz -6bb777eaa0373c48059911272ea1b2d5cb567330e0474cedc8da42abc52fc346 node-v12.10.0-linux-armv7l.tar.xz -5c4ca2b8b3150f6c56c6b2fc3cb7d316f1f0c3cb5650ff87922580f4c5230bd7 node-v12.10.0-linux-ppc64le.tar.gz -44892427765d8eb33cead16b81ebb13c75352868e2fa55f67324809e420882b1 node-v12.10.0-linux-ppc64le.tar.xz -dd0462f45231b0032c2cd6f26350e31cd1e26bba3a629d61cece6ff17c6ef32d node-v12.10.0-linux-s390x.tar.gz -ecfb6fdd6ea8de7381261a2769bcb9539fb69a799d0fddccc0a0793b63d557e4 node-v12.10.0-linux-s390x.tar.xz -3de23fd9f2145ff76d0583e7f57aa4ccead58b3fb991e215f862e779c9cdf151 node-v12.10.0-linux-x64.tar.gz -e8d2e6b62dd8183dc59a139a9ca3edc7c419a0d3d92e90fea9cb0ad52489843a node-v12.10.0-linux-x64.tar.xz -460db7890a8aa4171361d5e9e3fb57c4e8b2fb65cdb7c0c1d165fe06e228f4cb node-v12.10.0-sunos-x64.tar.gz -3383dd4fc93d41b2294212904da4d9c6566de890e4f2513438bbf7cd575dfc10 node-v12.10.0-sunos-x64.tar.xz -c1be70e47884fab24eb69fc0406f8206b135ae2f3e57f9acbb2f0b204c918f89 node-v12.10.0-win-x64.7z -de341476711c71f82d06fabcc9874c1ff9e865fd7274334d64a67b1e31a53fd0 node-v12.10.0-win-x64.zip -a60fc412a608894b264f2dadcd33ba6588287c04fc348f91a4223b59a6fbfa68 node-v12.10.0-win-x86.7z -16028bf616dfb49bcc42c1955f2d1eede0f0420df8289cbb34ee332f144f7a4b node-v12.10.0-win-x86.zip -ac6b582ac63a6c761b7acf423817dd8d7d36060c04b7359a5e2361071ff970b5 node-v12.10.0-x64.msi -79463a43412e16cb0ef83f183705ac2f93bec84c11020b47f42d5391a2c1be51 node-v12.10.0-x86.msi -4fb0592a5e7987ae9443cdbc42398edc30db108f065e8152a9ab3079ba5c9cac node-v12.10.0.pkg -371a3e39f1a14adbd7b37dee57641075ccfa240bd990630ff213298f16ad49b4 node-v12.10.0.tar.gz -2515b87c60921f22514a58830e86e54831daa2453d0e82f2ed7ab02134ee30cd node-v12.10.0.tar.xz -d2910dc57eb167a01714fd81ab039bad6cf99d39f7c84d16fdfa87af86b5de8d win-x64/node.exe -f9aafbd5373fa9bab5291193afaa67facfb45d6c9ef3fd193b03130d3f3ee5eb win-x64/node.lib -4c1281c598ed4426e2661fc881bf6778ac8938ac87ec66dc83f8f10e128c5a32 win-x64/node_pdb.7z -e43e5e73a401bd6b6547bab26f3b55ea03fee33c19204896bd5112697ddb3ebb win-x64/node_pdb.zip -25ead049aa7b9ef0b4323dda6ef1994d52dfc2253c80247948f7dfc0299b5436 win-x86/node.exe -4dc68735e4262a426fd20535df6ca695f2928d4e92e5fe39468c7892dd44aeef win-x86/node.lib -60e5664f8db09439054d54f8de419aeade5e7f5a1e7e9abb46e3ab663a40891c win-x86/node_pdb.7z -7f77626abc1647d74769f7479d57d5d8816d688653d6c7aa241971a19fa1daad win-x86/node_pdb.zip +5242f490a320584dbfb21a7009fe6c316d43cffc9fa661ee852bdbb0875e27f4 node-v12.11.1-aix-ppc64.tar.gz +7dd24ee6d81668e65ce1b77b4bb4cdaf517d8f80bb19740d286606028506970b node-v12.11.1-darwin-x64.tar.gz +ad265269189a5f29db107e8d69e0ec255ee5815da349a637df44db7ef987a95c node-v12.11.1-darwin-x64.tar.xz +4bb4754fa82dc1d9e1600b0855c410320719b536257c9c9def120b31fa1f8528 node-v12.11.1-headers.tar.gz +2a87283189530328ccc7c1ac63f21979870fe10152f19fe1a990a9673288daa2 node-v12.11.1-headers.tar.xz +a9973aeb9f942b4ffa8fe40149dfb3e0ddf9377049fc3cc7e789c5dfdc22ffd0 node-v12.11.1-linux-arm64.tar.gz +12777294258da80410fd7d5cbed46ead5d3cabacf376ee10ddb9e1a335b114e7 node-v12.11.1-linux-arm64.tar.xz +e6e52f71420bc959a1936db26084d2d78bc6767d4a483c5998afbc4bf999012c node-v12.11.1-linux-armv7l.tar.gz +8fffbe516021fc0f1d6beb2ba8d221b04af6d8880e1b74681f9ffd96545f896d node-v12.11.1-linux-armv7l.tar.xz +13a5fda091794604fdf2965b04fdc76c311c83c41b98533c8f91d0d1bebaf30a node-v12.11.1-linux-ppc64le.tar.gz +145d7b3fabbf3218e2685d34478b87567571eddb7f3d357ec6cd9eb20a2fce05 node-v12.11.1-linux-ppc64le.tar.xz +b16a0a01ee002589669ad665ede842465890a969b0f1a463560d400d9432317b node-v12.11.1-linux-s390x.tar.gz +1315f896d8095e4dbf2bc438974df7018428d52011abd20439c9264fccda13cf node-v12.11.1-linux-s390x.tar.xz +ac6c76af7c13cc3688aba072c4c728cb6fa2c40b340b1dcc4795e2705b1869dc node-v12.11.1-linux-x64.tar.gz +00f7a0b59ff38c1c74d81732df925aa5ac5788b58412437327421f796878793d node-v12.11.1-linux-x64.tar.xz +8b42fa40fb96756dabfc43f7a69eaf4e10e5b78db3094dcc5469207f21992eb3 node-v12.11.1.pkg +67c94186141c8ba8d87b73c2d9d7443a11471ed7b67cd897d99ddf93b75f98c1 node-v12.11.1-sunos-x64.tar.gz +9cbff79397a3ff39acdfbcb431b4b99353856ddbccea7fd8eb495217fa60e32b node-v12.11.1-sunos-x64.tar.xz +37043ddbe60f18a52ec31e0381b66adebbc0ec24669d72f132a1fdfacdf029ae node-v12.11.1.tar.gz +e53fbc7985ab8a34fe895852f30baee3f9f590ff9c2569e1bce791f78eec24ee node-v12.11.1.tar.xz +0fc231561e9e2a83fb2329a8d0f5ade4977c1baf3cba96b80b24cc4c686b46bd node-v12.11.1-win-x64.7z +0bab4473cd2ba03511b8859ddf2202bb012d5c541f9d57b555a5bbbf101fcb35 node-v12.11.1-win-x64.zip +4d890c580fb9c2a3e9860fb973cb7f410a7a083d7b286f17892567229c7e0563 node-v12.11.1-win-x86.7z +c60aace3faaaa061206c02be730c4b8a2534e5dda6e1a987123548e747c0165a node-v12.11.1-win-x86.zip +4d1d6a9ba99e83aedc4c62c2621eeb5304c7b7ce2a98c3fc57d420c28960374a node-v12.11.1-x64.msi +3406839dcdcc7394330f0085f79839204acac701ce9b4dd3cab970613e928693 node-v12.11.1-x86.msi +85d36856be4cc71ecd31792cccc44dfa98099fb701d34842a1ef70af873e24ab win-x64/node.exe +af5a725e43d1b2db398f1de782bf777ff2b67a28970c10166f79b74c28700a77 win-x64/node.lib +e6b84807ea0d055625e3ea0452c77ff5bb36fe284bfde38d2ed50c33c3b7bf61 win-x64/node_pdb.7z +37da86c4e63ee664bd5c398efeb5cb347e0f5e1377f3e0eba36a539edcab0a8c win-x64/node_pdb.zip +6cb03afe988be0a314061fbd13b1d55b0e7f87557a6c12eb7d7590cc1b5869b5 win-x86/node.exe +a6d2a3240366b683aaedbe58a5a0a637b3bd1054ae485c22d25dbb83d590ea29 win-x86/node.lib +216a1a8ccb7d8e098338514d2a1c7d4cb0f99ed6055002b6e8504a571b38a10b win-x86/node_pdb.7z +e7c83fe80935af51668dd530e0c0a78e61aa9a86bd4671676bf1fcf36904fbf5 win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.ll0Dvr/_old and /var/tmp/diff_new_pack.ll0Dvr/_new differ ++++++ fix_build_with_openssl_1.1.1d.patch ++++++ FROM: https://github.com/nodejs/node/pull/29550/commits >From 94c599e80218b09b27c0df93573a51e6adb45e61 Mon Sep 17 00:00:00 2001 From: Sam Roberts <[email protected]> Date: Thu, 19 Sep 2019 13:06:46 -0700 Subject: [PATCH] fixup! test: well-defined DH groups now verify clean test/parallel/test-crypto-binary-default.js | 3 +-- test/parallel/test-crypto-dh.js | 17 ++--------------- 2 files changed, 3 insertions(+), 17 deletions(-) >From 7dc56e082b96aeee34e83dabbad81ee12607e38f Mon Sep 17 00:00:00 2001 From: Sam Roberts <[email protected]> Date: Fri, 13 Sep 2019 13:19:06 -0700 Subject: [PATCH] test: well-defined DH groups now verify clean OpenSSL 1.1.1d no longer generates warnings for some DH groups that used to be considered unsafe. See below for discussion. This is considered a bug fix. See: - https://github.com/openssl/openssl/pull/9363 - https://github.com/openssl/openssl/pull/9363#discussion_r324802618 --- test/parallel/test-crypto-binary-default.js | 3 +-- test/parallel/test-crypto-dh.js | 28 +++++++++++++-------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/test/parallel/test-crypto-binary-default.js b/test/parallel/test-crypto-binary-default.js index c96253bc44d4..bbf327e78992 100644 --- a/test/parallel/test-crypto-binary-default.js +++ b/test/parallel/test-crypto-binary-default.js @@ -36,7 +36,6 @@ const crypto = require('crypto'); const fs = require('fs'); const tls = require('tls'); const fixtures = require('../common/fixtures'); -const DH_NOT_SUITABLE_GENERATOR = crypto.constants.DH_NOT_SUITABLE_GENERATOR; require('internal/crypto/util').setDefaultEncoding('latin1'); @@ -616,7 +615,7 @@ common.expectsError( '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF'; const d = crypto.createDiffieHellman(p, 'hex'); - assert.strictEqual(d.verifyError, DH_NOT_SUITABLE_GENERATOR); + assert.strictEqual(d.verifyError, 0); // Test RSA key signing/verification const rsaSign = crypto.createSign('SHA1'); diff --git a/test/parallel/test-crypto-dh.js b/test/parallel/test-crypto-dh.js index 1fc8564ca16f..2d55ae756482 100644 --- a/test/parallel/test-crypto-dh.js +++ b/test/parallel/test-crypto-dh.js @@ -6,6 +6,8 @@ if (!common.hasCrypto) const assert = require('assert'); const crypto = require('crypto'); +const DH_CHECK_P_NOT_PRIME = crypto.constants.DH_CHECK_P_NOT_PRIME; +const DH_CHECK_P_NOT_SAFE_PRIME = crypto.constants.DH_CHECK_P_NOT_SAFE_PRIME; const DH_NOT_SUITABLE_GENERATOR = crypto.constants.DH_NOT_SUITABLE_GENERATOR; // Test Diffie-Hellman with two parties sharing a secret, @@ -126,8 +128,8 @@ bob.generateKeys(); const aSecret = alice.computeSecret(bob.getPublicKey()).toString('hex'); const bSecret = bob.computeSecret(alice.getPublicKey()).toString('hex'); assert.strictEqual(aSecret, bSecret); -assert.strictEqual(alice.verifyError, DH_NOT_SUITABLE_GENERATOR); -assert.strictEqual(bob.verifyError, DH_NOT_SUITABLE_GENERATOR); +assert.strictEqual(alice.verifyError, 0); +assert.strictEqual(bob.verifyError, 0); /* Ensure specific generator (buffer) works as expected. * The values below (modp2/modp2buf) are for a 1024 bits long prime from @@ -158,8 +160,8 @@ const modp2buf = Buffer.from([ const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(modp2.verifyError, DH_NOT_SUITABLE_GENERATOR); - assert.strictEqual(exmodp2.verifyError, DH_NOT_SUITABLE_GENERATOR); + assert.strictEqual(modp2.verifyError, 0); + assert.strictEqual(exmodp2.verifyError, 0); } for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { @@ -172,7 +174,7 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, DH_NOT_SUITABLE_GENERATOR); + assert.strictEqual(exmodp2.verifyError, 0); } { @@ -184,7 +186,7 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, DH_NOT_SUITABLE_GENERATOR); + assert.strictEqual(exmodp2.verifyError, 0); } { @@ -196,17 +198,23 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, DH_NOT_SUITABLE_GENERATOR); + assert.strictEqual(exmodp2.verifyError, 0); } - +// Second OAKLEY group, see +// https://github.com/nodejs/node-v0.x-archive/issues/2338 and +// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc2412.html#anchor49 const p = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' + '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' + '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF'; -const bad_dh = crypto.createDiffieHellman(p, 'hex'); -assert.strictEqual(bad_dh.verifyError, DH_NOT_SUITABLE_GENERATOR); +const dh = crypto.createDiffieHellman(p, 'hex'); +assert.strictEqual(dh.verifyError, 0); +// Confirm DH_check() results are exposed for optional examination. +const bad_dh = crypto.createDiffieHellman('02', 'hex'); +assert.strictEqual(bad_dh.verifyError, DH_CHECK_P_NOT_PRIME | + DH_CHECK_P_NOT_SAFE_PRIME | DH_NOT_SUITABLE_GENERATOR); const availableCurves = new Set(crypto.getCurves()); const availableHashes = new Set(crypto.getHashes()); diff --git a/test/parallel/test-crypto-binary-default.js b/test/parallel/test-crypto-binary-default.js index bbf327e78992..93ac0ef23e0a 100644 --- a/test/parallel/test-crypto-binary-default.js +++ b/test/parallel/test-crypto-binary-default.js @@ -614,8 +614,7 @@ common.expectsError( '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' + '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF'; - const d = crypto.createDiffieHellman(p, 'hex'); - assert.strictEqual(d.verifyError, 0); + crypto.createDiffieHellman(p, 'hex'); // Test RSA key signing/verification const rsaSign = crypto.createSign('SHA1'); diff --git a/test/parallel/test-crypto-dh.js b/test/parallel/test-crypto-dh.js index 2d55ae756482..bf991a5c34ea 100644 --- a/test/parallel/test-crypto-dh.js +++ b/test/parallel/test-crypto-dh.js @@ -6,10 +6,6 @@ if (!common.hasCrypto) const assert = require('assert'); const crypto = require('crypto'); -const DH_CHECK_P_NOT_PRIME = crypto.constants.DH_CHECK_P_NOT_PRIME; -const DH_CHECK_P_NOT_SAFE_PRIME = crypto.constants.DH_CHECK_P_NOT_SAFE_PRIME; -const DH_NOT_SUITABLE_GENERATOR = crypto.constants.DH_NOT_SUITABLE_GENERATOR; - // Test Diffie-Hellman with two parties sharing a secret, // using various encodings as we go along const dh1 = crypto.createDiffieHellman(common.hasFipsCrypto ? 1024 : 256); @@ -128,8 +124,6 @@ bob.generateKeys(); const aSecret = alice.computeSecret(bob.getPublicKey()).toString('hex'); const bSecret = bob.computeSecret(alice.getPublicKey()).toString('hex'); assert.strictEqual(aSecret, bSecret); -assert.strictEqual(alice.verifyError, 0); -assert.strictEqual(bob.verifyError, 0); /* Ensure specific generator (buffer) works as expected. * The values below (modp2/modp2buf) are for a 1024 bits long prime from @@ -160,8 +154,6 @@ const modp2buf = Buffer.from([ const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(modp2.verifyError, 0); - assert.strictEqual(exmodp2.verifyError, 0); } for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { @@ -174,7 +166,6 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, 0); } { @@ -186,7 +177,6 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, 0); } { @@ -198,7 +188,6 @@ for (const buf of [modp2buf, ...common.getArrayBufferViews(modp2buf)]) { const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) .toString('hex'); assert.strictEqual(modp2Secret, exmodp2Secret); - assert.strictEqual(exmodp2.verifyError, 0); } // Second OAKLEY group, see @@ -208,13 +197,11 @@ const p = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' + '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' + '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF'; -const dh = crypto.createDiffieHellman(p, 'hex'); -assert.strictEqual(dh.verifyError, 0); +crypto.createDiffieHellman(p, 'hex'); // Confirm DH_check() results are exposed for optional examination. const bad_dh = crypto.createDiffieHellman('02', 'hex'); -assert.strictEqual(bad_dh.verifyError, DH_CHECK_P_NOT_PRIME | - DH_CHECK_P_NOT_SAFE_PRIME | DH_NOT_SUITABLE_GENERATOR); +assert.notStrictEqual(bad_dh.verifyError, 0); const availableCurves = new Set(crypto.getCurves()); const availableHashes = new Set(crypto.getHashes()); ++++++ fix_ci_tests.patch ++++++ --- /var/tmp/diff_new_pack.ll0Dvr/_old 2019-10-11 15:22:28.331253324 +0200 +++ /var/tmp/diff_new_pack.ll0Dvr/_new 2019-10-11 15:22:28.331253324 +0200 @@ -2,10 +2,10 @@ Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-v12.9.0/test/parallel/test-module-loading-globalpaths.js +Index: node-v12.11.1/test/parallel/test-module-loading-globalpaths.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-v12.9.0/test/parallel/test-module-loading-globalpaths.js +--- node-v12.11.1.orig/test/parallel/test-module-loading-globalpaths.js ++++ node-v12.11.1/test/parallel/test-module-loading-globalpaths.js @@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c addLibraryPath(process.env); @@ -16,10 +16,10 @@ if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-v12.9.0/test/parallel/test-tls-env-bad-extra-ca.js +Index: node-v12.11.1/test/parallel/test-tls-env-bad-extra-ca.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-tls-env-bad-extra-ca.js -+++ node-v12.9.0/test/parallel/test-tls-env-bad-extra-ca.js +--- node-v12.11.1.orig/test/parallel/test-tls-env-bad-extra-ca.js ++++ node-v12.11.1/test/parallel/test-tls-env-bad-extra-ca.js @@ -36,7 +36,7 @@ fork(__filename, opts) // TODO(addaleax): Make `SafeGetenv` work like `process.env` // encoding-wise @@ -29,10 +29,10 @@ assert(re.test(stderr), stderr); } })) -Index: node-v12.9.0/test/parallel/test-tls-passphrase.js +Index: node-v12.11.1/test/parallel/test-tls-passphrase.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-tls-passphrase.js -+++ node-v12.9.0/test/parallel/test-tls-passphrase.js +--- node-v12.11.1.orig/test/parallel/test-tls-passphrase.js ++++ node-v12.11.1/test/parallel/test-tls-passphrase.js @@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio }, onSecureConnect()); })).unref(); @@ -51,11 +51,60 @@ // Invalid passphrase assert.throws(function() { -Index: node-v12.9.0/test/parallel/test-crypto-scrypt.js +Index: node-v12.11.1/test/parallel/test-crypto-scrypt.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-crypto-scrypt.js -+++ node-v12.9.0/test/parallel/test-crypto-scrypt.js -@@ -169,8 +169,8 @@ for (const options of bad) { +--- node-v12.11.1.orig/test/parallel/test-crypto-scrypt.js ++++ node-v12.11.1/test/parallel/test-crypto-scrypt.js +@@ -12,30 +12,6 @@ if (typeof internalBinding('crypto').scr + common.skip('no scrypt support'); + + const good = [ +- // Zero-length key is legal, functions as a parameter validation check. +- { +- pass: '', +- salt: '', +- keylen: 0, +- N: 16, +- p: 1, +- r: 1, +- expected: '', +- }, +- // Test vectors from https://tools.ietf.org/html/rfc7914#page-13 that +- // should pass. Note that the test vector with N=1048576 is omitted +- // because it takes too long to complete and uses over 1 GB of memory. +- { +- pass: '', +- salt: '', +- keylen: 64, +- N: 16, +- p: 1, +- r: 1, +- expected: +- '77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442' + +- 'fcd0069ded0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906', +- }, + { + pass: 'password', + salt: 'NaCl', +@@ -59,17 +35,6 @@ const good = [ + 'd5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887', + }, + { +- pass: '', +- salt: '', +- keylen: 64, +- cost: 16, +- parallelization: 1, +- blockSize: 1, +- expected: +- '77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442' + +- 'fcd0069ded0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906', +- }, +- { + pass: 'password', + salt: 'NaCl', + keylen: 64, +@@ -169,8 +134,8 @@ for (const options of bad) { for (const options of toobig) { const expected = { @@ -66,10 +115,10 @@ type: Error, }; common.expectsError(() => crypto.scrypt('pass', 'salt', 1, options, () => {}), -Index: node-v12.9.0/test/parallel/test-repl-envvars.js +Index: node-v12.11.1/test/parallel/test-repl-envvars.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-repl-envvars.js -+++ node-v12.9.0/test/parallel/test-repl-envvars.js +--- node-v12.11.1.orig/test/parallel/test-repl-envvars.js ++++ node-v12.11.1/test/parallel/test-repl-envvars.js @@ -2,12 +2,14 @@ // Flags: --expose-internals @@ -86,10 +135,10 @@ const tests = [ { env: {}, -Index: node-v12.9.0/test/common/index.mjs +Index: node-v12.11.1/test/common/index.mjs =================================================================== ---- node-v12.9.0.orig/test/common/index.mjs -+++ node-v12.9.0/test/common/index.mjs +--- node-v12.11.1.orig/test/common/index.mjs ++++ node-v12.11.1/test/common/index.mjs @@ -45,6 +45,7 @@ const { expectsError, skipIfInspectorDisabled, @@ -106,10 +155,10 @@ getArrayBufferViews, getBufferSources, disableCrashOnUnhandledRejection, -Index: node-v12.9.0/test/parallel/test-fs-utimes.js +Index: node-v12.11.1/test/parallel/test-fs-utimes.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-fs-utimes.js -+++ node-v12.9.0/test/parallel/test-fs-utimes.js +--- node-v12.11.1.orig/test/parallel/test-fs-utimes.js ++++ node-v12.11.1/test/parallel/test-fs-utimes.js @@ -145,7 +145,7 @@ const path = `${tmpdir.path}/test-utimes fs.writeFileSync(path, ''); @@ -119,10 +168,10 @@ const Y2K38_mtime = 2 ** 31; fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime); const Y2K38_stats = fs.statSync(path); -Index: node-v12.9.0/Makefile +Index: node-v12.11.1/Makefile =================================================================== ---- node-v12.9.0.orig/Makefile -+++ node-v12.9.0/Makefile +--- node-v12.11.1.orig/Makefile ++++ node-v12.11.1/Makefile @@ -493,7 +493,7 @@ test-all-valgrind: test-build $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release --valgrind @@ -150,10 +199,10 @@ .PHONY: doc-only doc-only: tools/doc/node_modules \ -Index: node-v12.9.0/test/parallel/test-child-process-spawnsync-args.js +Index: node-v12.11.1/test/parallel/test-child-process-spawnsync-args.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-child-process-spawnsync-args.js -+++ node-v12.9.0/test/parallel/test-child-process-spawnsync-args.js +--- node-v12.11.1.orig/test/parallel/test-child-process-spawnsync-args.js ++++ node-v12.11.1/test/parallel/test-child-process-spawnsync-args.js @@ -12,6 +12,8 @@ const tmpdir = require('../common/tmpdir const assert = require('assert'); const { spawnSync } = require('child_process'); @@ -163,10 +212,10 @@ const command = common.isWindows ? 'cd' : 'pwd'; const options = { cwd: tmpdir.path }; -Index: node-v12.9.0/test/parallel/test-dns.js +Index: node-v12.11.1/test/parallel/test-dns.js =================================================================== ---- node-v12.9.0.orig/test/parallel/test-dns.js -+++ node-v12.9.0/test/parallel/test-dns.js +--- node-v12.11.1.orig/test/parallel/test-dns.js ++++ node-v12.11.1/test/parallel/test-dns.js @@ -320,16 +320,6 @@ common.expectsError(() => { }); ++++++ node-v12.10.0.tar.xz -> node-v12.11.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs12/node-v12.10.0.tar.xz /work/SRC/openSUSE:Factory/.nodejs12.new.2352/node-v12.11.1.tar.xz differ: char 26, line 1 ++++++ versioned.patch ++++++ --- /var/tmp/diff_new_pack.ll0Dvr/_old 2019-10-11 15:22:28.395253148 +0200 +++ /var/tmp/diff_new_pack.ll0Dvr/_new 2019-10-11 15:22:28.395253148 +0200 @@ -8,10 +8,10 @@ This is also important for generation of binary modules for multiple versions of NodeJS -Index: node-v12.10.0/Makefile +Index: node-v12.11.0/Makefile =================================================================== ---- node-v12.10.0.orig/Makefile -+++ node-v12.10.0/Makefile +--- node-v12.11.0.orig/Makefile ++++ node-v12.11.0/Makefile @@ -45,7 +45,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT EXEEXT := $(shell $(PYTHON) -c \ "import sys; print('.exe' if sys.platform == 'win32' else '')") @@ -21,10 +21,10 @@ NODE ?= ./$(NODE_EXE) NODE_G_EXE = node_g$(EXEEXT) NPM ?= ./deps/npm/bin/npm-cli.js -Index: node-v12.10.0/tools/install.py +Index: node-v12.11.0/tools/install.py =================================================================== ---- node-v12.10.0.orig/tools/install.py -+++ node-v12.10.0/tools/install.py +--- node-v12.11.0.orig/tools/install.py ++++ node-v12.11.0/tools/install.py @@ -81,7 +81,7 @@ def uninstall(paths, dst): try_remove(path, dst) @@ -125,10 +125,10 @@ def run(args): global node_prefix, install_path, target_defaults, variables -Index: node-v12.10.0/doc/node.1 +Index: node-v12.11.0/doc/node.1 =================================================================== ---- node-v12.10.0.orig/doc/node.1 -+++ node-v12.10.0/doc/node.1 +--- node-v12.11.0.orig/doc/node.1 ++++ node-v12.11.0/doc/node.1 @@ -30,24 +30,24 @@ .Dt NODE 1 . @@ -158,10 +158,10 @@ .Op Fl -v8-options . .\"====================================================================== -Index: node-v12.10.0/src/node.stp +Index: node-v12.11.0/src/node.stp =================================================================== ---- node-v12.10.0.orig/src/node.stp -+++ node-v12.10.0/src/node.stp +--- node-v12.11.0.orig/src/node.stp ++++ node-v12.11.0/src/node.stp @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -234,12 +234,12 @@ { scavenge = 1 << 0; compact = 1 << 1; -Index: node-v12.10.0/deps/npm/man/man1/npm.1 +Index: node-v12.11.0/deps/npm/man/man1/npm.1 =================================================================== ---- node-v12.10.0.orig/deps/npm/man/man1/npm.1 -+++ node-v12.10.0/deps/npm/man/man1/npm.1 +--- node-v12.11.0.orig/deps/npm/man/man1/npm.1 ++++ node-v12.11.0/deps/npm/man/man1/npm.1 @@ -1,11 +1,11 @@ - .TH "NPM" "1" "August 2019" "" "" + .TH "NPM" "1" "September 2019" "" "" .SH "NAME" -\fBnpm\fR \- javascript package manager +\fBnpm12\fR \- javascript package manager @@ -338,10 +338,10 @@ .RE -Index: node-v12.10.0/node.gyp +Index: node-v12.11.0/node.gyp =================================================================== ---- node-v12.10.0.orig/node.gyp -+++ node-v12.10.0/node.gyp +--- node-v12.11.0.orig/node.gyp ++++ node-v12.11.0/node.gyp @@ -21,8 +21,8 @@ 'node_use_openssl%': 'true', 'node_shared_openssl%': 'false', @@ -353,10 +353,10 @@ 'node_intermediate_lib_type%': 'static_library', 'library_files': [ 'lib/internal/bootstrap/environment.js', -Index: node-v12.10.0/src/node_main.cc +Index: node-v12.11.0/src/node_main.cc =================================================================== ---- node-v12.10.0.orig/src/node_main.cc -+++ node-v12.10.0/src/node_main.cc +--- node-v12.11.0.orig/src/node_main.cc ++++ node-v12.11.0/src/node_main.cc @@ -121,6 +121,7 @@ int main(int argc, char* argv[]) { #endif // Disable stdio buffering, it interacts poorly with printf() @@ -365,10 +365,10 @@ setvbuf(stdout, nullptr, _IONBF, 0); setvbuf(stderr, nullptr, _IONBF, 0); return node::Start(argc, argv); -Index: node-v12.10.0/deps/npm/man/man1/npx.1 +Index: node-v12.11.0/deps/npm/man/man1/npx.1 =================================================================== ---- node-v12.10.0.orig/deps/npm/man/man1/npx.1 -+++ node-v12.10.0/deps/npm/man/man1/npx.1 +--- node-v12.11.0.orig/deps/npm/man/man1/npx.1 ++++ node-v12.11.0/deps/npm/man/man1/npx.1 @@ -1,32 +1,32 @@ .TH "NPX" "1" "April 2018" "[email protected]" "User Commands" .SH "NAME" @@ -452,10 +452,10 @@ +\fBnpm12\-config(7)\fP .RE -Index: node-v12.10.0/tools/test.py +Index: node-v12.11.0/tools/test.py =================================================================== ---- node-v12.10.0.orig/tools/test.py -+++ node-v12.10.0/tools/test.py +--- node-v12.11.0.orig/tools/test.py ++++ node-v12.11.0/tools/test.py @@ -883,7 +883,7 @@ class Context(object): if self.vm is not None: return self.vm
