DoctorMcKay / node-steam-client

API-compatible fork of node-steam's SteamClient
https://steamcommunity.com/groups/SteamRE/discussions/1/
MIT License
52 stars 19 forks source link

steam-crypto - Object #<Object> has no method 'publicEncrypt' #3

Closed robiXxu closed 8 years ago

robiXxu commented 8 years ago
home/robixxu/root/steamtest/node_modules/@doctormckay/steam-crypto/index.js:25
        var cryptedSessionKey = Crypto.publicEncrypt(g_PubkeySystem, Buffer.concat([s
                                       ^
TypeError: Object #<Object> has no method 'publicEncrypt'
    at Object.exports.generateSessionKey (/home/robixxu/root/steamtest/node_modules/@doctormckay/steam-crypto/index.js:25:33)
    at CMClient.handlers.(anonymous function) (/home/robixxu/root/steamtest/node_modules/steam-client/lib/cm_client.js:342:31)
    at CMClient._netMsgReceived (/home/robixxu/root/steamtest/node_modules/steam-client/lib/cm_client.js:260:24)
    at TCPConnection.emit (events.js:95:17)
    at TCPConnection._readPacket (/home/robixxu/root/steamtest/node_modules/steam-client/lib/tcp_connection.js:73:7)
    at TCPConnection.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:427:10)
    at emitReadable (_stream_readable.js:423:5)
    at readableAddChunk (_stream_readable.js:166:9)
    at TCPConnection.Readable.push (_stream_readable.js:128:10)
robiXxu commented 8 years ago

same error on steam-user.

DoctorMcKay commented 8 years ago

Requires Node.js v4.1.1 or later.

robiXxu commented 8 years ago

Thank you!

On Thu, 6 Oct 2016 15:47 Alexander Corn, notifications@github.com wrote:

Closed #3 https://github.com/DoctorMcKay/node-steam-client/issues/3.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DoctorMcKay/node-steam-client/issues/3#event-814695847, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3wncYdS1UwrhEiIRP1dFts--8Ba62Zks5qxO3RgaJpZM4KPydq .