Closed slmg closed 1 year ago
Thanks for the bug report, I believe https://github.com/pythongssapi/python-gssapi/pull/314 fixes this problem for you.
I actually think this type annotation is there on purpose. The SecurityContext
calls creds.usage
which is a special property on gssapi.Credentials
. Supporting the raw creds object here would require more work to support such a scenario.
Closing as per the above, the type is correct. It would be a new feature to accept the raw credential object and have it work here.
What went wrong?
How do we reproduce?
Component versions (python-gssapi, Kerberos, OS / distro, etc.)
Python 3.10.10 on Bullseye, gssapi 1.8.2 (pip-installed), mypy 1.1.1