<html><head></head><body>Hi,<br><br>I wrote a quick-and-dirty patch for UInt32, you just have to detect 32/16/8 bits with thing.BYTES_PER_ELEMENT and fix the call of my new function.<br><br>Else I'll probably able to fix that next week.<br><br><br>Cheers,<br>Yadd<br><br><div class="gmail_quote">Le 22 janvier 2022 09:46:59 GMT+01:00, Dipak Zope1 <Dipak.Zope1@ibm.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style=" font-size:10pt;font-family:sans-serif">Sure Graham,</span><br><span style=" font-size:10pt;font-family:sans-serif">Let me look into
this. </span><br><br><span style=" font-size:10pt;font-family:sans-serif">Thanks,</span><br><span style=" font-size:10pt;font-family:sans-serif">-Dipak</span><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
       </span><span style=" font-size:9pt;font-family:sans-serif">"Graham
Inggs" <ginggs@debian.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
       </span><span style=" font-size:9pt;font-family:sans-serif">"Debian
Bug Tracking System" <submit@bugs.debian.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
       </span><span style=" font-size:9pt;font-family:sans-serif">20/01/2022
05:03 PM</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
       </span><span style=" font-size:9pt;font-family:sans-serif">[EXTERNAL]
Bug#1004077: node-pbkdf2: autopkgtest regression on s390x</span><br><hr noshade><br><br><br><tt><span style=" font-size:10pt">Source: node-pbkdf2<br>Version: 3.1.1-1<br>X-Debbugs-CC: debian-ci@lists.debian.org, debian-s390@lists.debian.org<br>Severity: important<br>User: debian-ci@lists.debian.org<br>Usertags: regression<br><br>Hi Maintainer<br><br>Since 3.1.1-1, node-pbkdf2's autopkgtests have been failing on the<br>big-endian s390x architecture [1].  I 've copied what I hope is the<br>relevant part of the log below.<br><br>Regards<br>Graham<br><br><br>[1] </span></tt><a href="https://ci.debian.net/packages/n/node-pbkdf2/"><tt><span style=" font-size:10pt">https://ci.debian.net/packages/n/node-pbkdf2/</span></tt></a><tt><span style=" font-size:10pt"><br><br><br>    # JavaScript pbkdf2sync w/ sha1 encodes<br>"112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt"<br>(string) with sha1 to<br>0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164<br>    not ok 44 should be strictly equal<br>      ---<br>        operator: equal<br>        expected: |-<br>          '0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164'<br>        actual: |-<br>          '7ee9a9e0028eea8e908ae69a894a340e42070fa7cc78d680992119a863362487'<br>        at: Test.<anonymous><br>(/tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE/test/index.js:176:11)<br>        stack: |-<br>          Error: should be strictly equal<br>              at Test.assert [as _assert]<br>(/usr/share/nodejs/tape/lib/test.js:314:54)<br>              at Test.bound [as _assert]<br>(/usr/share/nodejs/tape/lib/test.js:99:32)<br>              at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:478:10)<br>              at Test.bound [as equal]<br>(/usr/share/nodejs/tape/lib/test.js:99:32)<br>              at Test.<anonymous><br>(/tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE/test/index.js:176:11)<br>              at Test.bound [as _cb]
(/usr/share/nodejs/tape/lib/test.js:99:32)<br>              at Test.run (/usr/share/nodejs/tape/lib/test.js:117:31)<br>              at Test.bound [as run]
(/usr/share/nodejs/tape/lib/test.js:99:32)<br>              at Immediate.next [as
_onImmediate]<br>(/usr/share/nodejs/tape/lib/results.js:88:19)<br>              at processImmediate (internal/timers.js:461:21)<br>      ...<br>/tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE/test/index.js:168<br>          t.equal(result.toString('hex'), expected)<br>                    
    ^<br><br>TypeError: Cannot read property 'toString' of undefined<br>    at /tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE/test/index.js:168:26<br>    at /usr/share/nodejs/pbkdf2/lib/async.js:82:7<br>    at processTicksAndRejections (internal/process/task_queues.js:79:11)<br>    # JavaScript pbkdf2 async w/ sha1 encodes "password"
(string) with<br>salt "115,97,108,116" (Uint8Array) with sha1 to<br>0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164<br>    not ok 45 TypeError: salt.copy is not a function<br>      ---<br>        operator: error<br>        at: <anonymous><br>(/tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE/test/index.js:167:13)<br>        stack: |-<br>          TypeError: salt.copy is not a function<br>              at pbkdf2 (/usr/share/nodejs/pbkdf2/lib/sync.js:28:8)<br>              at /usr/share/nodejs/pbkdf2/lib/async.js:116:12<br>              at processTicksAndRejections<br>(internal/process/task_queues.js:97:5)<br>      ...<br>    # test count(45) != plan(null)<br>    # failed 3 of 45 tests<br>not ok 1 - test/index.js # time=349.71ms<br>  ---<br>  timeout: 30000<br>  file: test/index.js<br>  command: /usr/bin/node<br>  args:<br>    - test/index.js<br>  stdio:<br>    - 0<br>    - pipe<br>    - 2<br>  cwd: /tmp/autopkgtest-lxc.o92ywer_/downtmp/autopkgtest_tmp/smoke6sIkqE<br>  failures:<br>    - tapError: no plan<br>  exitCode: 1<br>  ...<br><br>1..1<br># failed 1 test<br># time=360.207ms<br><br></span></tt><br><br><br>
<br>
</blockquote></div><div style='white-space: pre-wrap'><div class='k9mail-signature'>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</div></div></body></html>