问题
Google App Engine supports PyCrypto, but does not support OpenSSL.
I want to use the oauth2client SignedJwtAssertionCredentials, which internally calls OpenSSL . Is there is a way to get oauth2client to work with PyCrypto.
I am assuming that it might be possible to create a local version of SignedJwtAssertionCredential equivalent by using PyCrypto instead ?
Also is there a way I can make a request to Google App Engine to provide a version that support the functionality for certificate/Assertions for server-to-server Oauth2.0 dance ?
Any pointers/help would be much appreciated.
Thanks.
回答1:
Found this link and this avoids any special handling to avoid ssl/etc.. This link has Google Data support for App Engine use.
I have not tried it yet - but once I use it, I will share feedback, if worthwhile for others.
来源:https://stackoverflow.com/questions/11432742/replace-openssl-in-oauth2client-crypt-to-work-with-pycrypto