CasperTech / node-metaverse

A node.js interface for Second Life.
MIT License
51 stars 34 forks source link

Allow use of prehashed passwords with provided Bot class #53

Closed wlfio closed 2 years ago

wlfio commented 2 years ago

This change allows a pre hashed password to be used for logging in using the provided Bot class.

It makes the LoginParams object responsible for hashing the password, instead of an inline hash in the LoginHandler and adds a flag to skip hashing if the provided password was pre hashed.

I personally wanted this for my project after a user said they would prefer to send a hashed password through my service if possible, and decided others may like the concept as well.

As it's just MD5 it's not some superb security, but it would make storing passwords for automatic login processes ever so slightly more palatable.

TomMettam commented 2 years ago

Fine, with me, please rebase and i'll get this merged

TomMettam commented 2 years ago

I've cherry picked :) thanks