You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [email protected] pretest
> standard
> [email protected] test
> tape tests/*.js
TAP version 13
# handlers with static keys
ok 1 responder gets ephemeral key first
ok 2 initiator gets ephemeral key after first message
ok 3 initiator gets static key with ephemeral key
ok 4 should be equivalent
node:internal/validators:177
throw new ERR_INVALID_ARG_TYPE(name, 'number', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "size" argument must be of type number. Received undefined
at validateNumber (node:internal/validators:177:11)
at __node_internal_ (node:buffer:393:3)
at Function.alloc (node:buffer:401:3)
at SimpleHandshake._finish (/home/kira/forks/simple-handshake/index.js:125:33)
at SimpleHandshake.send (/home/kira/forks/simple-handshake/index.js:108:39)
at rtt (/home/kira/forks/simple-handshake/tests/test.js:163:10)
at /home/kira/forks/simple-handshake/tests/test.js:182:16
at ondone (/home/kira/forks/simple-handshake/index.js:87:5)
at SimpleHandshake.onstatickey (/home/kira/forks/simple-handshake/tests/test.js:130:7)
at checkStatic (/home/kira/forks/simple-handshake/index.js:75:19) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.10.0
Here is my
npm test
output:I believe this is being caused by emilbayes/noise-protocol#18.
The text was updated successfully, but these errors were encountered: