DoctorMcKay / node-steam-session

Node.js module for authenticating with the Steam auth server. Allows for generating refresh tokens and web auth cookies for use with steam-user and other packages.
https://www.npmjs.com/package/steam-session
MIT License
116 stars 21 forks source link

Feature required: update `helpers.getSpoofedHostname` to match `helpers.createMachineId` behavior #44

Open Sadzurami opened 1 month ago

Sadzurami commented 1 month ago

Implementation now works fine, but would be better to match behaviour like createMachineId, in other words - by account name.

Right now it looks strange, because by default all accounts has unique machineid, but the same clientFriendlyName.

DoctorMcKay commented 1 month ago

A machine name is also required for QR sessions, where an account name isn't known prior to session start. We could use the account name as the seed for the machine name and otherwise use the local hostname for QR logins though.

Sadzurami commented 1 month ago

A machine name is also required for QR sessions, where an account name isn't known prior to session start. We could use the account name as the seed for the machine name and otherwise use the local hostname for QR logins though.

I guess, would be better to make this. Also, would be better to make device-name alphabet longer, include nums.

I can make pr.