Skip to content

Migrate to PySPNEGO#126

Merged
jborean93 merged 6 commits intorequests:masterfrom
clubby789:pyspnego
Feb 6, 2023
Merged

Migrate to PySPNEGO#126
jborean93 merged 6 commits intorequests:masterfrom
clubby789:pyspnego

Conversation

@clubby789
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

🎉 thanks @clubby789 and @jborean93

@matthias-reiff
Copy link
Copy Markdown

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.

6 participants