Skip to content

Conversation

@frozencemetery
Copy link
Member

These were encountered when running the mod_auth_gssapi test suite against the shim interface. I replaced all import requests_kerberos there with import requests_gssapi and performed no other action, so it tested only the shim interface. It may be good to add a CI item for doing this on a regular basis going forward.

Also this is the last thing on my TODO list before release.

@frozencemetery frozencemetery added this to the 0.12.0 milestone Dec 14, 2017
@frozencemetery frozencemetery requested a review from simo5 December 14, 2017 20:59
simo5
simo5 previously approved these changes Dec 14, 2017
Copy link
Contributor

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@simo5
Copy link
Contributor

simo5 commented Dec 14, 2017

(after you fix the failing test)

@frozencemetery
Copy link
Member Author

Thanks. The failing tests have to do with python3 and the bytes/strings/unicode nonsense. It interacts very poorly with the base64 module.

@simo5
Copy link
Contributor

simo5 commented Dec 14, 2017

Yep, I know, I had 'fun' back in the time maing jwcrypto tests.py work in both python2 and python3, look at that one for inspiration if you need some :)

This wasn't needed for requests-kerberos because pykerberos
automatically base64 encodes and decodes messages from Kerberos, which
is a behavior I do not like at all.

Signed-off-by: Robbie Harwood <[email protected]>
Signed-off-by: Robbie Harwood <[email protected]>
Resolves: pythongssapi#5
@frozencemetery
Copy link
Member Author

Thanks. Should be good to go now I think.

@frozencemetery frozencemetery merged commit b9128d3 into pythongssapi:master Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants