Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use salt + md5 token for authentication #1

Closed
heyarne opened this issue Jun 2, 2018 · 2 comments
Closed

Use salt + md5 token for authentication #1

heyarne opened this issue Jun 2, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@heyarne
Copy link
Owner

heyarne commented Jun 2, 2018

No description provided.

@heyarne
Copy link
Owner Author

heyarne commented Jun 11, 2018

Actually I'm not 100% sure whether this makes sense for multiple reasons. The current authentication of Subsonic (and thus Airsonic) is deeply flawed; you need to save your credentials in clear text anyways. MD5 is broken. Client-side web crypto is flawed.

The only thing really annoying is that you have your user password turn up in server side logs, but that's technically not so different to an md5 hash that you could force a collision for. In my eyes that doesn't have such a high priority right now. In the end what an attackers gains access to is some music. You should probably teach your users to not re-use their passwords though.

@heyarne heyarne added the help wanted Extra attention is needed label Jun 18, 2018
@heyarne
Copy link
Owner Author

heyarne commented Jun 21, 2018

There's a good summary of why salting and hashing is a bad idea in this comment: airsonic/airsonic#69 (comment)
Closing this for now.

@heyarne heyarne closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant