Skip to content
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

OpenSSL not availble on appengine #34

Closed
nichochar opened this issue Nov 10, 2014 · 5 comments
Closed

OpenSSL not availble on appengine #34

nichochar opened this issue Nov 10, 2014 · 5 comments

Comments

@nichochar
Copy link

I'm getting the ImportError: cannot import name SignedJwtAssertionCredentials due to the fact that this module only tries SSL with OpenSSL. Unfortunately appengine doesn't have this lib, so maybe there should be a compatibility with pycrypto ?

@tylertreat
Copy link
Owner

Looking at this issue it seems SignedJwtAssertionCredentials should work with PyCrypto or OpenSSL. I'm wondering if GAE requires Google's special GAE client library.

Another option might be to add support for AppAssertionCredentials.

@tylertreat
Copy link
Owner

Can you confirm you have PyCrypto enabled on your appspot? Looking at the oauth2client code, it seems it should "just work" if PyCrypto is available. https://code.google.com/p/google-api-python-client/source/browse/oauth2client/client.py#44

@AniX
Copy link

AniX commented Dec 5, 2014

Eventually you need to convert the PKCS12 file downloaded from the developer's console API. pycrypto has accepted the converted and modified PEM file in my case. See post 20 in the issue, tylertreat has linked.

@nichochar
Copy link
Author

Yeah we ended up using AppAssertionCredentials

@nichochar
Copy link
Author

And @tylertreat yes I did have pycrypto, but it wasn't passing the validating test in that file... It's kind of weird and I suspect a modified version of that library on googles appspot...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants