This had been a TODO that until now wasn't critical since python2 would fall back to krbV. For python3, we only have gssapi, so implement keytabs and ccache for gssapi.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org
Thanks for this, looks good at a glance. I'll play with it some tomorrow.
Any concerns about different versions of python-requests-kerberos?
The principal argument has been supported since python-requests-kerberos 0.9.0, released on May 6, 2016. The rest of the stuff is handled by krb5-libs.
rebased onto 6157651bb64d910a272112374871d8aa6b1102be
Unfortunately, I can't fully test this myself since I don't have keytabs for a gssapi enabled koji instance. However, it seems to be sane and not break the existing auth.
A few things though...
I've addressed some of this here: https://github.com/mikem23/koji-playground/commits/pagure/pr/708
This includes a unit test that is currently failing because the environ reset isn't working.
rebased onto 6bfef6cc1b0ef8165481d0005535804bc3bb44ce
Hi, thanks for those fixes. I've pushed a new changeset to this PR, which includes your commits, and fixes the environment resetting, making the gssapi tests pass.
6 new commits added
whoops, one of my commits used old exception syntax. Fixed here: https://github.com/mikem23/koji-playground/commits/pagure/pr/708
1 new commit added
Commit b320d2f1 fixes this pull-request
Pull-Request has been merged by mikem
This had been a TODO that until now wasn't critical since python2 would fall back to krbV.
For python3, we only have gssapi, so implement keytabs and ccache for gssapi.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org