-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 support #8
Comments
I had a look and, no, the macauthlib is not compatible python 3. It fails almost every unittest when used with python 3. At least it's dependency WebOb is compatible python 3 so it shouldn't be impossible to port macauthlib. Edit: actually it may not be a problem for a long time anymore :) mozilla-services/macauthlib#4 |
Great! Or if we decide to move away from macauthlib there was an almost-working attempt at MAC Authentication in an old version of our own code: |
I just implemented authentication in PHP. If you don't mind, I could take a look at it. Then we can get rid of macauthlib and requests containing url-escaped chars should work. |
Sure! _authHook would need to be updated to pull the hostname out of the request object and then sign it using the old MAC auth code. |
I've got it working now, but got some git-issues. I'll fix them later tomorrow. |
I've only tried this code on Python 2.6.1.
Do the dependencies support Python 3?
The text was updated successfully, but these errors were encountered: