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

Change underlying lib to pyspnego #163

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Conversation

jborean93
Copy link
Contributor

This changes the underlying Kerberos library from pykerberos and winkerberos to pyspnego. The pyspnego 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 of pyspnego compared to the existing ones.

@jborean93 jborean93 marked this pull request as ready for review October 28, 2021 05:49
@jborean93
Copy link
Contributor Author

Will need some more practical testing before this is merged.

@jborean93
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant