[Pkg-javascript-devel] Bug#1011917: node-pbkdf2: FTBFS: TypeError: Cannot read properties of undefined (reading 'toString')

Lucas Nussbaum lucas at debian.org
Thu May 26 14:56:39 BST 2022


Source: node-pbkdf2
Version: 3.1.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link node_modules/@types/pbkdf2 -> ../../types-pbkdf2
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/pbkdf2
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tape test/index.js
> TAP version 13
> # JavaScript pbkdf2 defaults to sha1 and handles buffers
> ok 1 should be strictly equal
> ok 2 null
> ok 3 should be strictly equal
> # JavaScript pbkdf2 should throw if no callback is provided
> ok 4 should throw
> # JavaScript pbkdf2 should throw if the password is not a string or an ArrayBuffer
> ok 5 should throw
> ok 6 should throw
> # JavaScript pbkdf2 should throw if the salt is not a string or an ArrayBuffer
> ok 7 should throw
> ok 8 should throw
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 9 null
> ok 10 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 11 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957cae93136266537a8d7bf4b76
> ok 12 null
> ok 13 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957cae93136266537a8d7bf4b76
> ok 14 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164ac2e7a8e3f9d2e83ace57e0d50e5e1071367c179bc86c767fc3f78ddb561363f
> ok 15 null
> ok 16 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164ac2e7a8e3f9d2e83ace57e0d50e5e1071367c179bc86c767fc3f78ddb561363f
> ok 17 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957cae93136266537a8d7bf4b76c51094cc1ae010b19923ddc4395cd064acb023ffd1edd5ef4be8ffe61426c28e
> ok 18 null
> ok 19 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957cae93136266537a8d7bf4b76c51094cc1ae010b19923ddc4395cd064acb023ffd1edd5ef4be8ffe61426c28e
> ok 20 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 4b007901b765489abead49d926f721d065a429c12e463f6c4cd79401085b03db
> ok 21 null
> ok 22 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 4b007901b765489abead49d926f721d065a429c12e463f6c4cd79401085b03db
> ok 23 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha1 to 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038b6b89a48612c5a25284e6605e12329
> ok 24 null
> ok 25 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha1 to 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038b6b89a48612c5a25284e6605e12329
> ok 26 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "pass0word" (string) with salt "sa0lt" (string) with sha1 to 345cbad979dfccb90cac5257bea6ea46
> ok 27 null
> ok 28 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "pass0word" (string) with salt "sa0lt" (string) with sha1 to 345cbad979dfccb90cac5257bea6ea46
> ok 29 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "c���̻�" (hex) with salt "salt" (string) with sha1 to f6635023b135a57fb8caa89ef8ad93a29d9debb1b011e6e88bffbb212de7c01c
> ok 30 null
> ok 31 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "c���̻�" (hex) with salt "salt" (string) with sha1 to f6635023b135a57fb8caa89ef8ad93a29d9debb1b011e6e88bffbb212de7c01c
> ok 32 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha1 to 7e042a2f41ba17e2235fbc794e22a150816b0f54a1dfe113919fccb7a056066a109385e538f183c92bad896ae8b7d8e0f4cd66df359c77c8c7785cd1001c9a2c
> ok 33 null
> ok 34 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha1 to 7e042a2f41ba17e2235fbc794e22a150816b0f54a1dfe113919fccb7a056066a109385e538f183c92bad896ae8b7d8e0f4cd66df359c77c8c7785cd1001c9a2c
> ok 35 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9
> ok 36 null
> ok 37 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9
> ok 38 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164ac2e7a8e3f9d2e83ace57e0d50e5e1071367c179bc86c767fc3f78ddb561363fc692ba406d1301e42bcccc3c520d06751d78b80c3db926b16ffa3395bd697c647f280b51
> ok 39 null
> ok 40 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164ac2e7a8e3f9d2e83ace57e0d50e5e1071367c179bc86c767fc3f78ddb561363fc692ba406d1301e42bcccc3c520d06751d78b80c3db926b16ffa3395bd697c647f280b51
> ok 41 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 42 null
> ok 43 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 44 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 45 null
> ok 46 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha1 to 0c60c80f961f0e71f3a9b524af6012062fe037a6e0f0eb94fe8fc46bdc637164
> ok 47 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha1 to f260ccd0bbc8fe6773119b834feec48636b716caad4180a4d0af4f9aa67c646e
> ok 48 null
> ok 49 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha1 to f260ccd0bbc8fe6773119b834feec48636b716caad4180a4d0af4f9aa67c646e
> ok 50 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha1 to b297f1ea23008f10ba9d645961e4661109e804b10af26bea22c44244492d6252
> ok 51 null
> ok 52 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha1 to b297f1ea23008f10ba9d645961e4661109e804b10af26bea22c44244492d6252
> ok 53 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha1 to c2b17a7e98cc48690a92cd9f753a2c700229045905167571aa281aafe8230bba
> ok 54 null
> ok 55 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha1 to c2b17a7e98cc48690a92cd9f753a2c700229045905167571aa281aafe8230bba
> ok 56 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha1 to f158b9edd28c16ad3b41e0e8197ec132a98c2ddea73b959f55ec9792e0b29d6f
> ok 57 null
> ok 58 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha1 to f158b9edd28c16ad3b41e0e8197ec132a98c2ddea73b959f55ec9792e0b29d6f
> ok 59 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha1 to 7e042a2f41ba17e2235fbc794e22a150816b0f54a1dfe113919fccb7a056066a109385e538f183c92bad896ae8b7d8e0f4cd66df359c77c8c7785cd1001c9a2c
> ok 60 null
> ok 61 should be strictly equal
> # JavaScript pbkdf2sync w/ sha1 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha1 to 7e042a2f41ba17e2235fbc794e22a150816b0f54a1dfe113919fccb7a056066a109385e538f183c92bad896ae8b7d8e0f4cd66df359c77c8c7785cd1001c9a2c
> ok 62 should be strictly equal
> # JavaScript pbkdf2 async w/ sha1 should throw Iterations not a number
> ok 63 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Iterations not a number
> ok 64 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad iterations
> ok 65 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad iterations
> ok 66 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Key length not a number
> ok 67 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Key length not a number
> ok 68 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad key length
> ok 69 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad key length
> ok 70 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad key length
> ok 71 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad key length
> ok 72 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad key length
> ok 73 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad key length
> ok 74 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad key length
> ok 75 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad key length
> ok 76 should throw
> # JavaScript pbkdf2 async w/ sha1 should throw Bad key length
> ok 77 should throw
> # JavaScript pbkdf2 sync w/sha1 should throw Bad key length
> ok 78 should throw
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 79 null
> ok 80 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 81 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 93200ffa96c5776d38fa10abdf8f5bfc0054b9718513df472d2331d2d1e66a3f
> ok 82 null
> ok 83 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 93200ffa96c5776d38fa10abdf8f5bfc0054b9718513df472d2331d2d1e66a3f
> ok 84 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd859894978ab846d52a1083ac610c36c2c5ea8ce4a024dd691064d5453bd17b15ea1ac194
> ok 85 null
> ok 86 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd859894978ab846d52a1083ac610c36c2c5ea8ce4a024dd691064d5453bd17b15ea1ac194
> ok 87 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 93200ffa96c5776d38fa10abdf8f5bfc0054b9718513df472d2331d2d1e66a3f97b510224f700ce72581ffb10a1c99ec99a8cc1b951851a71f30d9265fccf912
> ok 88 null
> ok 89 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 93200ffa96c5776d38fa10abdf8f5bfc0054b9718513df472d2331d2d1e66a3f97b510224f700ce72581ffb10a1c99ec99a8cc1b951851a71f30d9265fccf912
> ok 90 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 218c453bf90635bd0a21a75d172703ff6108ef603f65bb821aedade1d6961683
> ok 91 null
> ok 92 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 218c453bf90635bd0a21a75d172703ff6108ef603f65bb821aedade1d6961683
> ok 93 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha224 to 056c4ba438ded91fc14e0594e6f52b87e1f3690c0dc0fbc05784ed9a754ca780e6c017e80c8de278
> ok 94 null
> ok 95 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha224 to 056c4ba438ded91fc14e0594e6f52b87e1f3690c0dc0fbc05784ed9a754ca780e6c017e80c8de278
> ok 96 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "pass0word" (string) with salt "sa0lt" (string) with sha224 to 0aca9ca9634db6ef4927931f633c6453
> ok 97 null
> ok 98 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "pass0word" (string) with salt "sa0lt" (string) with sha224 to 0aca9ca9634db6ef4927931f633c6453
> ok 99 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "c���̻�" (hex) with salt "salt" (string) with sha224 to 9cdee023b5d5e06ccd6c5467463e34fe461a7ed43977f8237f97b0bc7ebfd280
> ok 100 null
> ok 101 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "c���̻�" (hex) with salt "salt" (string) with sha224 to 9cdee023b5d5e06ccd6c5467463e34fe461a7ed43977f8237f97b0bc7ebfd280
> ok 102 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha224 to d76474c525616ce2a527d23df8d6f6fcc4251cc3535cae4e955810a51ead1ec6acbe9c9619187ca5a3c4fd636de5b5fe58d031714731290bbc081dbf0fcb8fc1
> ok 103 null
> ok 104 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha224 to d76474c525616ce2a527d23df8d6f6fcc4251cc3535cae4e955810a51ead1ec6acbe9c9619187ca5a3c4fd636de5b5fe58d031714731290bbc081dbf0fcb8fc1
> ok 105 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b785796
> ok 106 null
> ok 107 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b785796
> ok 108 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd859894978ab846d52a1083ac610c36c2c5ea8ce4a024dd691064d5453bd17b15ea1ac1944bbfd62e61b997e7b22660f588e297186572480015f33bc2bfd2b423827bcdcdb4845914
> ok 109 null
> ok 110 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd859894978ab846d52a1083ac610c36c2c5ea8ce4a024dd691064d5453bd17b15ea1ac1944bbfd62e61b997e7b22660f588e297186572480015f33bc2bfd2b423827bcdcdb4845914
> ok 111 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 112 null
> ok 113 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 114 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 115 null
> ok 116 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha224 to 3c198cbdb9464b7857966bd05b7bc92bc1cc4e6e63155d4e490557fd85989497
> ok 117 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha224 to 03d0c2b530ec6339e6418cb0f906e50591619be40aa8817aa9c7305d1773231c
> ok 118 null
> ok 119 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha224 to 03d0c2b530ec6339e6418cb0f906e50591619be40aa8817aa9c7305d1773231c
> ok 120 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha224 to ab66d29d3dacc731e44f091a7baa051926219cf493e8b9e3934cedfb215adc8b
> ok 121 null
> ok 122 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha224 to ab66d29d3dacc731e44f091a7baa051926219cf493e8b9e3934cedfb215adc8b
> ok 123 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha224 to 5f10a348d320c7555b972b8d7d45a363a91e1a82dea063c3ac495cfad74a8d89
> ok 124 null
> ok 125 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha224 to 5f10a348d320c7555b972b8d7d45a363a91e1a82dea063c3ac495cfad74a8d89
> ok 126 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha224 to 29b315ac30c7d5e1640ca0f9e27b68a794fb9f950b8dd117129824f103ffb9db
> ok 127 null
> ok 128 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha224 to 29b315ac30c7d5e1640ca0f9e27b68a794fb9f950b8dd117129824f103ffb9db
> ok 129 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha224 to d76474c525616ce2a527d23df8d6f6fcc4251cc3535cae4e955810a51ead1ec6acbe9c9619187ca5a3c4fd636de5b5fe58d031714731290bbc081dbf0fcb8fc1
> ok 130 null
> ok 131 should be strictly equal
> # JavaScript pbkdf2sync w/ sha224 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha224 to d76474c525616ce2a527d23df8d6f6fcc4251cc3535cae4e955810a51ead1ec6acbe9c9619187ca5a3c4fd636de5b5fe58d031714731290bbc081dbf0fcb8fc1
> ok 132 should be strictly equal
> # JavaScript pbkdf2 async w/ sha224 should throw Iterations not a number
> ok 133 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Iterations not a number
> ok 134 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad iterations
> ok 135 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad iterations
> ok 136 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Key length not a number
> ok 137 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Key length not a number
> ok 138 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad key length
> ok 139 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad key length
> ok 140 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad key length
> ok 141 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad key length
> ok 142 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad key length
> ok 143 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad key length
> ok 144 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad key length
> ok 145 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad key length
> ok 146 should throw
> # JavaScript pbkdf2 async w/ sha224 should throw Bad key length
> ok 147 should throw
> # JavaScript pbkdf2 sync w/sha224 should throw Bad key length
> ok 148 should throw
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 149 null
> ok 150 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 151 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43
> ok 152 null
> ok 153 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43
> ok 154 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b4dbf3a2f3dad3377264bb7b8e8330d4efc7451418617dabef683735361cdc18c
> ok 155 null
> ok 156 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b4dbf3a2f3dad3377264bb7b8e8330d4efc7451418617dabef683735361cdc18c
> ok 157 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43830651afcb5c862f0b249bd031f7a67520d136470f5ec271ece91c07773253d9
> ok 158 null
> ok 159 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43830651afcb5c862f0b249bd031f7a67520d136470f5ec271ece91c07773253d9
> ok 160 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to c5e478d59288c841aa530db6845c4c8d962893a001ce4e11a4963873aa98134a
> ok 161 null
> ok 162 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to c5e478d59288c841aa530db6845c4c8d962893a001ce4e11a4963873aa98134a
> ok 163 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha256 to 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47e9
> ok 164 null
> ok 165 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha256 to 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47e9
> ok 166 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "pass0word" (string) with salt "sa0lt" (string) with sha256 to 1df6274d3c0bd2fc7f54fb46f149dda4
> ok 167 null
> ok 168 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "pass0word" (string) with salt "sa0lt" (string) with sha256 to 1df6274d3c0bd2fc7f54fb46f149dda4
> ok 169 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "c���̻�" (hex) with salt "salt" (string) with sha256 to dadd4a2638c1cf90a220777bc85d81859459513eb83063e3fce7d081490f259a
> ok 170 null
> ok 171 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "c���̻�" (hex) with salt "salt" (string) with sha256 to dadd4a2638c1cf90a220777bc85d81859459513eb83063e3fce7d081490f259a
> ok 172 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha256 to 0b57118f2b6b079d9371c94da3a8315c3ada87a1e819b40c4c4e90b36ff2d3c8fd7555538b5119ac4d3da7844aa4259d92f9dd2188e78ac33c4b08d8e6b5964b
> ok 173 null
> ok 174 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha256 to 0b57118f2b6b079d9371c94da3a8315c3ada87a1e819b40c4c4e90b36ff2d3c8fd7555538b5119ac4d3da7844aa4259d92f9dd2188e78ac33c4b08d8e6b5964b
> ok 175 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7
> ok 176 null
> ok 177 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7
> ok 178 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b4dbf3a2f3dad3377264bb7b8e8330d4efc7451418617dabef683735361cdc18c22cd7fe60fa40e91c65849e1f60c0d8b62a7b2dbd0d3dfd75fb8498a5c2131ab02b66de5
> ok 179 null
> ok 180 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b4dbf3a2f3dad3377264bb7b8e8330d4efc7451418617dabef683735361cdc18c22cd7fe60fa40e91c65849e1f60c0d8b62a7b2dbd0d3dfd75fb8498a5c2131ab02b66de5
> ok 181 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 182 null
> ok 183 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 184 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 185 null
> ok 186 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha256 to 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
> ok 187 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha256 to 9b4608f5eeab348f0b9d85a918b140706b24f275acf6829382dfee491015f9eb
> ok 188 null
> ok 189 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha256 to 9b4608f5eeab348f0b9d85a918b140706b24f275acf6829382dfee491015f9eb
> ok 190 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha256 to f678f0772894c079f21377d9ee1e76dd77b62dfc1f0575e6aa9eb030af7a356a
> ok 191 null
> ok 192 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha256 to f678f0772894c079f21377d9ee1e76dd77b62dfc1f0575e6aa9eb030af7a356a
> ok 193 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha256 to 55d62579a083a6c14b886710f81b54f567d214d343af776e5e90c467ea81b821
> ok 194 null
> ok 195 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha256 to 55d62579a083a6c14b886710f81b54f567d214d343af776e5e90c467ea81b821
> ok 196 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha256 to a6154d17480547a10212f75883509842f88f2ca5d6c1a2419646e47342051852
> ok 197 null
> ok 198 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha256 to a6154d17480547a10212f75883509842f88f2ca5d6c1a2419646e47342051852
> ok 199 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha256 to 0b57118f2b6b079d9371c94da3a8315c3ada87a1e819b40c4c4e90b36ff2d3c8fd7555538b5119ac4d3da7844aa4259d92f9dd2188e78ac33c4b08d8e6b5964b
> ok 200 null
> ok 201 should be strictly equal
> # JavaScript pbkdf2sync w/ sha256 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha256 to 0b57118f2b6b079d9371c94da3a8315c3ada87a1e819b40c4c4e90b36ff2d3c8fd7555538b5119ac4d3da7844aa4259d92f9dd2188e78ac33c4b08d8e6b5964b
> ok 202 should be strictly equal
> # JavaScript pbkdf2 async w/ sha256 should throw Iterations not a number
> ok 203 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Iterations not a number
> ok 204 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad iterations
> ok 205 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad iterations
> ok 206 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Key length not a number
> ok 207 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Key length not a number
> ok 208 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad key length
> ok 209 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad key length
> ok 210 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad key length
> ok 211 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad key length
> ok 212 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad key length
> ok 213 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad key length
> ok 214 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad key length
> ok 215 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad key length
> ok 216 should throw
> # JavaScript pbkdf2 async w/ sha256 should throw Bad key length
> ok 217 should throw
> # JavaScript pbkdf2 sync w/sha256 should throw Bad key length
> ok 218 should throw
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 219 null
> ok 220 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 221 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 54f775c6d790f21930459162fc535dbf04a939185127016a04176a0730c6f1f4
> ok 222 null
> ok 223 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 54f775c6d790f21930459162fc535dbf04a939185127016a04176a0730c6f1f4
> ok 224 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676b38fc800cc53ddb642f5c74442e62be44d727702213e3bb9223c53b767fbfb5d
> ok 225 null
> ok 226 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676b38fc800cc53ddb642f5c74442e62be44d727702213e3bb9223c53b767fbfb5d
> ok 227 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 54f775c6d790f21930459162fc535dbf04a939185127016a04176a0730c6f1f4fb48832ad1261baadd2cedd50814b1c806ad1bbf43ebdc9d047904bf7ceafe1e
> ok 228 null
> ok 229 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 54f775c6d790f21930459162fc535dbf04a939185127016a04176a0730c6f1f4fb48832ad1261baadd2cedd50814b1c806ad1bbf43ebdc9d047904bf7ceafe1e
> ok 230 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 559726be38db125bc85ed7895f6e3cf574c7a01c080c3447db1e8a76764deb3c
> ok 231 null
> ok 232 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to 559726be38db125bc85ed7895f6e3cf574c7a01c080c3447db1e8a76764deb3c
> ok 233 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha384 to 819143ad66df9a552559b9e131c52ae6c5c1b0eed18f4d283b8c5c9eaeb92b392c147cc2d2869d58
> ok 234 null
> ok 235 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha384 to 819143ad66df9a552559b9e131c52ae6c5c1b0eed18f4d283b8c5c9eaeb92b392c147cc2d2869d58
> ok 236 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "pass0word" (string) with salt "sa0lt" (string) with sha384 to b6ab6f8f6532fd9c5c30a79e1f93dcc6
> ok 237 null
> ok 238 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "pass0word" (string) with salt "sa0lt" (string) with sha384 to b6ab6f8f6532fd9c5c30a79e1f93dcc6
> ok 239 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "c���̻�" (hex) with salt "salt" (string) with sha384 to 25c72b6f0e052c883a9273a54cfd41fab86759fa3b33eb7920b923abaad62f99
> ok 240 null
> ok 241 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "c���̻�" (hex) with salt "salt" (string) with sha384 to 25c72b6f0e052c883a9273a54cfd41fab86759fa3b33eb7920b923abaad62f99
> ok 242 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha384 to 15010450f456769467e834db7fa93dd9d353e8bb733b63b0621090f96599ac3316908eb64ac9366094f0787cd4bfb2fea25be41dc271a19309710db6144f9b34
> ok 243 null
> ok 244 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha384 to 15010450f456769467e834db7fa93dd9d353e8bb733b63b0621090f96599ac3316908eb64ac9366094f0787cd4bfb2fea25be41dc271a19309710db6144f9b34
> ok 245 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f
> ok 246 null
> ok 247 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f
> ok 248 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676b38fc800cc53ddb642f5c74442e62be44d727702213e3bb9223c53b767fbfb5db9d270d54c45d9cb6003d2967280b22671e2dbc6375f6ebf219c36f0d127be35e19d65a8
> ok 249 null
> ok 250 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676b38fc800cc53ddb642f5c74442e62be44d727702213e3bb9223c53b767fbfb5db9d270d54c45d9cb6003d2967280b22671e2dbc6375f6ebf219c36f0d127be35e19d65a8
> ok 251 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 252 null
> ok 253 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 254 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 255 null
> ok 256 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha384 to c0e14f06e49e32d73f9f52ddf1d0c5c7191609233631dadd76a567db42b78676
> ok 257 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha384 to 2e69d62ae8c21ebc2de45a885b488f65fb88dfa58aaa9c57dd1fcb9d1edce96a
> ok 258 null
> ok 259 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha384 to 2e69d62ae8c21ebc2de45a885b488f65fb88dfa58aaa9c57dd1fcb9d1edce96a
> ok 260 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha384 to cf139d648cf63e9b85a3b9b8f23f4445b84d22201bc2544bc273a17d5dcb7b28
> ok 261 null
> ok 262 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha384 to cf139d648cf63e9b85a3b9b8f23f4445b84d22201bc2544bc273a17d5dcb7b28
> ok 263 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha384 to 4b7f97dbadfd652e0579499d0e23607ec476ed4bea9d6f1740d0b110e2d08792
> ok 264 null
> ok 265 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha384 to 4b7f97dbadfd652e0579499d0e23607ec476ed4bea9d6f1740d0b110e2d08792
> ok 266 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha384 to 624b4ed6ad389b976fb7503e54a35109f249c29ac6eb8b56850152be21b3cb0e
> ok 267 null
> ok 268 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha384 to 624b4ed6ad389b976fb7503e54a35109f249c29ac6eb8b56850152be21b3cb0e
> ok 269 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha384 to 15010450f456769467e834db7fa93dd9d353e8bb733b63b0621090f96599ac3316908eb64ac9366094f0787cd4bfb2fea25be41dc271a19309710db6144f9b34
> ok 270 null
> ok 271 should be strictly equal
> # JavaScript pbkdf2sync w/ sha384 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha384 to 15010450f456769467e834db7fa93dd9d353e8bb733b63b0621090f96599ac3316908eb64ac9366094f0787cd4bfb2fea25be41dc271a19309710db6144f9b34
> ok 272 should be strictly equal
> # JavaScript pbkdf2 async w/ sha384 should throw Iterations not a number
> ok 273 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Iterations not a number
> ok 274 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad iterations
> ok 275 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad iterations
> ok 276 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Key length not a number
> ok 277 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Key length not a number
> ok 278 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad key length
> ok 279 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad key length
> ok 280 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad key length
> ok 281 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad key length
> ok 282 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad key length
> ok 283 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad key length
> ok 284 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad key length
> ok 285 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad key length
> ok 286 should throw
> # JavaScript pbkdf2 async w/ sha384 should throw Bad key length
> ok 287 should throw
> # JavaScript pbkdf2 sync w/sha384 should throw Bad key length
> ok 288 should throw
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 289 null
> ok 290 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 291 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to e1d9c16aa681708a45f5c7c4e215ceb66e011a2e9f0040713f18aefdb866d53c
> ok 292 null
> ok 293 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to e1d9c16aa681708a45f5c7c4e215ceb66e011a2e9f0040713f18aefdb866d53c
> ok 294 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252c02d470a285a0501bad999bfe943c08f050235d7d68b1da55e63f73b60a57fce
> ok 295 null
> ok 296 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252c02d470a285a0501bad999bfe943c08f050235d7d68b1da55e63f73b60a57fce
> ok 297 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to e1d9c16aa681708a45f5c7c4e215ceb66e011a2e9f0040713f18aefdb866d53cf76cab2868a39b9f7840edce4fef5a82be67335c77a6068e04112754f27ccf4e
> ok 298 null
> ok 299 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to e1d9c16aa681708a45f5c7c4e215ceb66e011a2e9f0040713f18aefdb866d53cf76cab2868a39b9f7840edce4fef5a82be67335c77a6068e04112754f27ccf4e
> ok 300 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to d197b1b33db0143e018b12f3d1d1479e6cdebdcc97c5c0f87f6902e072f457b5
> ok 301 null
> ok 302 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to d197b1b33db0143e018b12f3d1d1479e6cdebdcc97c5c0f87f6902e072f457b5
> ok 303 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha512 to 8c0511f4c6e597c6ac6315d8f0362e225f3c501495ba23b868c005174dc4ee71115b59f9e60cd953
> ok 304 null
> ok 305 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "passwordPASSWORDpassword" (string) with salt "saltSALTsaltSALTsaltSALTsaltSALTsalt" (string) with sha512 to 8c0511f4c6e597c6ac6315d8f0362e225f3c501495ba23b868c005174dc4ee71115b59f9e60cd953
> ok 306 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "pass0word" (string) with salt "sa0lt" (string) with sha512 to 336d14366099e8aac2c46c94a8f178d2
> ok 307 null
> ok 308 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "pass0word" (string) with salt "sa0lt" (string) with sha512 to 336d14366099e8aac2c46c94a8f178d2
> ok 309 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "c���̻�" (hex) with salt "salt" (string) with sha512 to f69de451247225a7b30cc47632899572bb980f500d7c606ac9b1c04f928a3488
> ok 310 null
> ok 311 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "c���̻�" (hex) with salt "salt" (string) with sha512 to f69de451247225a7b30cc47632899572bb980f500d7c606ac9b1c04f928a3488
> ok 312 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha512 to ba553eedefe76e67e2602dc20184c564010859faada929a090dd2c57aacb204ceefd15404ab50ef3e8dbeae5195aeae64b0def4d2eead1cdc728a33ced520ffd
> ok 313 null
> ok 314 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (hex) with sha512 to ba553eedefe76e67e2602dc20184c564010859faada929a090dd2c57aacb204ceefd15404ab50ef3e8dbeae5195aeae64b0def4d2eead1cdc728a33ced520ffd
> ok 315 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff375
> ok 316 null
> ok 317 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff375
> ok 318 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252c02d470a285a0501bad999bfe943c08f050235d7d68b1da55e63f73b60a57fce7b532e206c2967d4c7d2ffa460539fc4d4e5eec70125d74c6c7cf86d25284f297907fcea
> ok 319 null
> ok 320 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252c02d470a285a0501bad999bfe943c08f050235d7d68b1da55e63f73b60a57fce7b532e206c2967d4c7d2ffa460539fc4d4e5eec70125d74c6c7cf86d25284f297907fcea
> ok 321 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 322 null
> ok 323 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "112,97,115,115,119,111,114,100" (Uint8Array) with salt "salt" (string) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 324 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 325 null
> ok 326 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Uint8Array) with sha512 to 867f70cf1ade02cff3752599a3a53dc4af34c7a669815ae5d513554e1c8cf252
> ok 327 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha512 to c44b8f26550fe6ca0a55bce54b4a75e9530398f32ec28b59d0fded996e95e3d5
> ok 328 null
> ok 329 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "112,97,115,115,119,111,114,100" (Int32Array) with salt "salt" (string) with sha512 to c44b8f26550fe6ca0a55bce54b4a75e9530398f32ec28b59d0fded996e95e3d5
> ok 330 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha512 to 7f8133f6937ae1d7e4a43c19aabd2de8308d5b833341281716a501334cdb2470
> ok 331 null
> ok 332 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Int32Array) with sha512 to 7f8133f6937ae1d7e4a43c19aabd2de8308d5b833341281716a501334cdb2470
> ok 333 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha512 to ded01ce343e2683d962fc74b7b5ceef525228f49393ce9353254f44e3dc7e9aa
> ok 334 null
> ok 335 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "112,97,115,115,119,111,114,100" (Float64Array) with salt "salt" (string) with sha512 to ded01ce343e2683d962fc74b7b5ceef525228f49393ce9353254f44e3dc7e9aa
> ok 336 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha512 to b10c2ea742de7dd0525988761ee1733564c91380eeaa1b199f4fafcbf7144b0c
> ok 337 null
> ok 338 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "password" (string) with salt "115,97,108,116" (Float64Array) with sha512 to b10c2ea742de7dd0525988761ee1733564c91380eeaa1b199f4fafcbf7144b0c
> ok 339 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha512 to ba553eedefe76e67e2602dc20184c564010859faada929a090dd2c57aacb204ceefd15404ab50ef3e8dbeae5195aeae64b0def4d2eead1cdc728a33ced520ffd
> ok 340 null
> ok 341 should be strictly equal
> # JavaScript pbkdf2sync w/ sha512 encodes "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" (string) with salt "mnemonicメートルガバヴァぱばぐゞちぢ十人十色" (string) with sha512 to ba553eedefe76e67e2602dc20184c564010859faada929a090dd2c57aacb204ceefd15404ab50ef3e8dbeae5195aeae64b0def4d2eead1cdc728a33ced520ffd
> ok 342 should be strictly equal
> # JavaScript pbkdf2 async w/ sha512 should throw Iterations not a number
> ok 343 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Iterations not a number
> ok 344 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad iterations
> ok 345 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad iterations
> ok 346 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Key length not a number
> ok 347 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Key length not a number
> ok 348 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad key length
> ok 349 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad key length
> ok 350 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad key length
> ok 351 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad key length
> ok 352 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad key length
> ok 353 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad key length
> ok 354 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad key length
> ok 355 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad key length
> ok 356 should throw
> # JavaScript pbkdf2 async w/ sha512 should throw Bad key length
> ok 357 should throw
> # JavaScript pbkdf2 sync w/sha512 should throw Bad key length
> ok 358 should throw
> # JavaScript pbkdf2 async w/ ripemd160 encodes "password" (string) with salt "salt" (string) with ripemd160 to b725258b125e0bacb0e2307e34feb16a4d0d6aed6cb4b0eee458fc1829020428
> not ok 359 Error: error:0308010C:digital envelope routines::unsupported
>   ---
>     operator: error
>     at: <anonymous> (/<<PKGBUILDDIR>>/test/index.js:167:13)
>     stack: |-
>       Error: error:0308010C:digital envelope routines::unsupported
>           at Hmac.init (<anonymous>)
>           at new Hmac (node:internal/crypto/hash:134:17)
>           at createHmac (node:crypto:162:10)
>           at pbkdf2 (/<<PKGBUILDDIR>>/lib/sync.js:37:13)
>           at /<<PKGBUILDDIR>>/lib/async.js:99:15
>           at processTicksAndRejections (node:internal/process/task_queues:78:11)
>   ...
> /<<PKGBUILDDIR>>/test/index.js:168
>           t.equal(result.toString('hex'), expected)
>                          ^
> 
> TypeError: Cannot read properties of undefined (reading 'toString')
>     at /<<PKGBUILDDIR>>/test/index.js:168:26
>     at /<<PKGBUILDDIR>>/lib/async.js:101:16
>     at processTicksAndRejections (node:internal/process/task_queues:78:11)
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/node-pbkdf2_3.1.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list