jborean93 / pyspnego

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

Ignore GSS_S_NO_CONTEXT on GSSAPI stepping #54

Closed jborean93 closed 1 year ago

jborean93 commented 1 year ago

Ignores the error GSS_S_NO_CONTEXT when stepping through tokens on GSSAPI. MIT krb5 before 1.14.x raised this error on a context that is incomplete causing an error that can safely be ignored.

Fixes: https://github.com/jborean93/pyspnego/issues/55

codecov[bot] commented 1 year ago

Codecov Report

Merging #54 (6ff592d) into main (4753669) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   99.95%   99.95%           
=======================================
  Files          30       30           
  Lines        4342     4343    +1     
=======================================
+ Hits         4340     4341    +1     
  Misses          2        2           
Flag Coverage Δ
99.95% <100.00%> (+<0.01%) :arrow_up:
py3.10 99.95% <100.00%> (+<0.01%) :arrow_up:
py3.11 99.95% <100.00%> (+<0.01%) :arrow_up:
py3.7 99.95% <100.00%> (+<0.01%) :arrow_up:
py3.8 99.95% <100.00%> (+<0.01%) :arrow_up:
py3.9 99.95% <100.00%> (+<0.01%) :arrow_up:
x64 99.95% <100.00%> (+<0.01%) :arrow_up:
x86 94.22% <33.33%> (-0.03%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/spnego/_gss.py 99.68% <100.00%> (+<0.01%) :arrow_up:
src/spnego/_version.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.