jborean93 / pyspnego

Python SPNEGO authentication library
MIT License
52 stars 11 forks source link

Added CredSSP Support #6

Closed jborean93 closed 3 years ago

jborean93 commented 3 years ago

While CredSSP is not part of the Negotiate protocol it relies heavily on SPNEGO as part of it's negotiation process. Because of their close ties and use of other common code in this library I thought it best to add it here. This reduces the number of dependencies that WinRM based libraries need to use in order to support the full range of authentication protocols that it supports.

TODO:

codecov[bot] commented 3 years ago

Codecov Report

Merging #6 (dbdea68) into main (9e2581f) will increase coverage by 0.04%. The diff coverage is 100.00%.

:exclamation: Current head dbdea68 differs from pull request most recent head 35adee1. Consider uploading reports for the commit 35adee1 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   99.57%   99.62%   +0.04%     
==========================================
  Files          23       25       +2     
  Lines        3801     4301     +500     
==========================================
+ Hits         3785     4285     +500     
  Misses         16       16              
Impacted Files Coverage Δ
spnego/_sspi_raw/text.pyx 95.83% <ø> (-0.33%) :arrow_down:
spnego/__main__.py 100.00% <100.00%> (ø)
spnego/_context.py 100.00% <100.00%> (ø)
spnego/_credssp_structures.py 100.00% <100.00%> (ø)
spnego/_kerberos.py 100.00% <100.00%> (ø)
spnego/_ntlm_raw/messages.py 100.00% <100.00%> (ø)
spnego/_ntlm_raw/security.py 100.00% <100.00%> (ø)
spnego/_version.py 100.00% <100.00%> (ø)
spnego/auth.py 100.00% <100.00%> (ø)
spnego/credssp.py 100.00% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9e2581f...35adee1. Read the comment docs.