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

API key check is case-sensitive #51

Closed
tewe opened this issue Mar 21, 2014 · 3 comments
Closed

API key check is case-sensitive #51

tewe opened this issue Mar 21, 2014 · 3 comments
Labels

Comments

@tewe
Copy link

tewe commented Mar 21, 2014

User.make_api_key returns lower-case hex digits, the popular Mr. Reader client offers upper-case, so login fails

@passiomatic
Copy link
Owner

I see. I was looking at the Fever API demo widget when I wrote that validation code and it outputs lowercase letters. I will normalize to lowercase the API key before check against the existing ones.

@passiomatic
Copy link
Owner

Did you manage to run Mr. Reader with Coldsweat? I've patched the API key validation code as described - you can find it in the 0.92 WIP branch.

@tewe
Copy link
Author

tewe commented Mar 25, 2014

Yes. I had just changed the key in the database, but now I tried your patch as well.

@tewe tewe closed this as completed Mar 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants