Skip to content
Snippets Groups Projects
  1. Jun 24, 2020
  2. Apr 29, 2018
  3. Jan 05, 2018
  4. Nov 01, 2017
  5. Jul 10, 2017
    • Shamil K Muhammed's avatar
      Use the `with` statement on the connection object · 3957ea7d
      Shamil K Muhammed authored
      Before, v.0.0.3, the connection was reinitialized everytime a new
      auth request was sent to the module. But after that version, things
      changed and a single connection was used.
      
      This caused #2. It was because the transactions weren't commited
      before querying again. Which stops the auth provider from getting
      new data. So, the context manager is also used on the connection
      everytime a query is sent to ensure the transactions are committed.
      
      So, hopefully this commit fixes #2
  6. May 29, 2017
  7. May 18, 2017
  8. Apr 21, 2017
  9. Apr 19, 2017
  10. Apr 18, 2017
    • Shamil K Muhammed's avatar
      Add Instructions · a3a62f96
      Shamil K Muhammed authored
      a3a62f96
    • Shamil K Muhammed's avatar
      make it a submittable package · 13805f98
      Shamil K Muhammed authored
      Haven't pushed to pypi yet. Will push after reviews.
      13805f98
    • Shamil K Muhammed's avatar
      Fix user logging in with any password · 32e3c5c1
      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.
      32e3c5c1
  11. Apr 17, 2017
  12. Apr 16, 2017