-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Description
As of v0.3.0 of ssh2_streams the utils.parseKey function may return an array of key objects, rather than the object itself.
./node_modules/ssh2/lib/server.js:49
if (privateKey.getPrivatePEM() === null)
^TypeError: privateKey.getPrivatePEM is not a function
at new Server (./node_modules/ssh2/lib/server.js:49:20)
at Object. (./index.js:11:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
ssh2 needs to catch up with the API change.
Metadata
Metadata
Assignees
Labels
No labels