Skip to content

2.0.2

Latest
Compare
Choose a tag to compare
@FirefighterBlu3 FirefighterBlu3 released this 18 Mar 00:26
· 1 commit to master since this release
abd2714

Surface fixes

  • Fixed #31 whereby I changed the boolean response in 2.0.0 to a PAM constant. This reverts to the boolean response as existed in v1.8.5. The result code is still stored in the obj.code attribute
  • Added the PamAuthenticate.authenticate() method signature and docstring to both of the new and legacy interfaces
  • Changed the PamAuthenticate.authenticate() type hinting so it didn't interfere with the docstring
  • update the version to 2.0.2

Under the hood changes

  • Start mocking the libpam methods so we can wholly disassociate ourselves from the underlying system. This lets us test more of the actual python code and lets us start injecting errors to test for