- Apr 21, 2017
-
-
Shamil K Muhammed authored
-
- Apr 19, 2017
-
-
Shamil K Muhammed authored
Catches all `psycopg2` errors for now. And returns False if a error is caught. Not a permanent solution, but works for now.
-
- Apr 18, 2017
-
-
Shamil K Muhammed authored
-
Shamil K Muhammed authored
Haven't pushed to pypi yet. Will push after reviews.
-
Shamil K Muhammed authored
`bcrypt.hashpw` returns the password hashed with the same salt, not if the password matches the hash. So to check if the password is correct, the hash thus obtained should then be compared, and then verified. Also, diaspora just doesn't hash the password using bcrypt, it appends a "pepper" to the password and then hashes it. So, when checking the password, the pepper should be appended.
-
- Apr 17, 2017
-
-
Shamil K Muhammed authored
`port` was supposed to be `db_port` `user_id` is `@localpart:hs_bare` not `localpart:hs_bare` It should work now.
-
Shamil K Muhammed authored
For the time being, it authenticates against the diaspora db. Many improvements are needed. Like no exception handlers are registered. TODO: implement exception handlers.
-
Shamil K Muhammed authored
PyPi renders text in reStructuredText so it would be better to have the README in reStructuredText than Markdown.
-
- Apr 16, 2017
-
-
Shamil K Muhammed authored
-