22.04.2017, 19:53
Hmm, that's kind of a problem. If we don't know what kind of encryption (or encryption + salt combo) is used for the server passwords, then we can never re-create it anywhere else.
You could switch from that encrypt.so thing to Whirlpool or something like that, but that would mean you'd have to implement a way to convert the password inside your gamemode.
That would be something like a message saying 'hey, you have to verify your password etc etc', when the player types their password ingame, you use the current active encryption system to check if they actually typed the correct password, and then take their input and convert it to Whirlpool (or any other method of your choice), then save that somewhere and slowly phase out the old encryption system.
This would be one way to do it, but it completely depends on how you want to handle it. If your server and script are currently not up and running for the public, I suggest changing your password encryption to something you know and have control over.
You could switch from that encrypt.so thing to Whirlpool or something like that, but that would mean you'd have to implement a way to convert the password inside your gamemode.
That would be something like a message saying 'hey, you have to verify your password etc etc', when the player types their password ingame, you use the current active encryption system to check if they actually typed the correct password, and then take their input and convert it to Whirlpool (or any other method of your choice), then save that somewhere and slowly phase out the old encryption system.
This would be one way to do it, but it completely depends on how you want to handle it. If your server and script are currently not up and running for the public, I suggest changing your password encryption to something you know and have control over.