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

Migrate to PySPNEGO #126

Merged
merged 6 commits into from
Feb 6, 2023
Merged

Migrate to PySPNEGO #126

merged 6 commits into from
Feb 6, 2023

Conversation

clubby789
Copy link
Contributor

The ntlm_auth library is deprecated in favour of pyspnego. This commit
migrates to this library, patching some methods to ensure dependent code
will continue to work.

@herrbenesch
Copy link

Hi, thank you for your work here!
May I ask what's the status of your PR?

thank you and best regards

@clubby789
Copy link
Contributor Author

The status of my PR? As far as I'm aware it's fully working, and I'm waiting on a maintainer to review it

caspervk added a commit to magenta-aps/httpx-ntlm that referenced this pull request Jan 17, 2022
Based on this[1] pull request by J. Hill-Daniel (clubby789) in the requests-ntlm sister library.

[1] requests#126
caspervk added a commit to magenta-aps/httpx-ntlm that referenced this pull request Jan 17, 2022
Based on this[1] pull request by J. Hill-Daniel (clubby789) in the requests-ntlm sister library.

[1] requests#126
@srmo
Copy link

srmo commented Aug 5, 2022

Ahoi! Can we get an update on this? Otherwise I'd dive into pyspnego now.

clubby789 and others added 4 commits February 7, 2023 06:18
The ntlm_auth library is deprecated in favour of pyspnego. This commit
migrates to this library, patching some methods to ensure dependent code
will continue to work.
PySPNEGO handles the parsing of the domain component of the username
PySPNEGO allows usage of an NTLM hash in place of a password, so test
that this is functioning properly.
@jborean93
Copy link
Contributor

Thanks for the PR @clubby789, I've slightly modified it to support channel binding tokens and not use the internals for the wrapping/unwrapping code.

@jborean93 jborean93 merged commit 21cbaf2 into requests:master Feb 6, 2023
@herrbenesch
Copy link

🎉 thanks @clubby789 and @jborean93

@matthias-reiff
Copy link

Thanks a lot!
Works like a charm and I don't have to tweak my openssl config unnecessarily!

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.

None yet

6 participants