Closed jborean93 closed 3 years ago
Will need some more practical testing before this is merged.
Have tested the changes from both a Linux, macOS, and Windows host against a Kerberos auth'd HTTP backend without any issues. Will release an rc of 0.13.0
just to be sure but things look like they work.
This changes the underlying Kerberos library from
pykerberos
andwinkerberos
topyspnego
. Thepyspnego
library handles the platforms differences between Windows and Linux meaning there is now only 1 dependency.Some other changes being made is designed to hide the underlying library used a bit more to avoid external libraries using it for their own purposes. This will ensure the kerb library can easily be changed in the future if need be.
The tests have been turned into
pytest
tests as a few of the mocking functions needed to be changed due to the new API ofpyspnego
compared to the existing ones.