You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general I don't think we want to be in the business of input validation - we'd rather punt that to krb5. However, I think it makes sense because we perform translation and a typo here wouldn't be caught. Patch forthcoming.
What went wrong?
I have passed invalid creg usage to
gssapi.Credentials(usage)
and it has been accepted.How do we reproduce?
Component versions (python-gssapi, Kerberos, OS / distro, etc.)
Installed via FreeBSD Ports.
Expected behavior
My expectation is that it should yield to an exception as does MIT Kerberos:
https://github.com/krb5/krb5/blob/6d4eb6eb473c93f0db05409195448364382760a9/src/lib/gssapi/mechglue/g_acquire_cred.c#L73-L78
The text was updated successfully, but these errors were encountered: