Salted passwords?

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Salted passwords?

Postby Pcace » Fri Apr 05, 2013 1:28 pm

Hey,

since several versions of Musiccabinet the Userpasswords are not stored in cleartext anymore. (Which is a very good thing).
But now i really need to recover one Password. Is there any chance to do this with the lines from the subsonic.script file?


Thanks,


Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: Salted passwords?

Postby hakko » Fri Apr 05, 2013 1:38 pm

Nope, the password is not stored anymore, instead function(function(password)) is stored. So you'd have to run millions of passwords through function(function(...)) until you'd find a match of what you have in subsonic.script. It's security over convenience.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Salted passwords?

Postby Pcace » Fri Apr 05, 2013 2:06 pm

Hmm ok,

good to know! Then i have to delete the user and create a new one...

Thanks!
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: Salted passwords?

Postby daneren2005 » Fri Apr 05, 2013 4:35 pm

Well if you have access to the db, you should be able to manually set the password to whatever they want it to be. Just take their password and run it through the salt + encryption and update it to be the result.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 13 guests