Skip to content

Can't login with passwords longer than 64 characters #48

Description

@DrWarpMan

Describe the bug

Can't login with passwords longer than 64 characters.

Simply set your account's password to a password with a length equal to 65 or more characters, and try to login.
You will always receive InvalidPassword error.

This bug was found by @Toaaa, they reported this in my own project where I use the node-steam-user library.

Versions

steam-session version: 1.9.0
Node version: 22.9.0

Screenshots and Error Logs

Error: InvalidPassword
    at eresultError (/app/node_modules/steam-session/dist/helpers.js:14:15)
    at AuthenticationClient.sendRequest (/app/node_modules/steam-session/dist/AuthenticationClient.js:243:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async AuthenticationClient.startSessionWithCredentials (/app/node_modules/steam-session/dist/AuthenticationClient.js:78:22)
    at async LoginSession.startWithCredentials (/app/node_modules/steam-session/dist/LoginSession.js:363:38)
    at async file:///app/test.js:4:16 {
  eresult: 5
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions