本文介绍了替换oauth2client.crypt中的OpenSSL以使用PyCrypto的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google App Engine支持,但不支持OpenSSL的。

我想使用oauth2client SignedJwtAssertionCredentials,它在内部调用OpenSSL。是否有办法让oauth2client使用PyCrypto。



我假设可以通过使用PyCrypto来创建本地版本的SignedJwtAssertionCredential?



还有,我可以向Google App Engine发出请求,以提供支持服务器到服务器Oauth2.0跳舞的证书/断言功能的版本?



谢谢。

解决方案

找到这个链接,并避免任何特殊处理以避免ssl / etc。此链接有。



我还没有尝试过 - 但是一旦使用它,我会分享反馈,如果值得的话其他。


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.

解决方案

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.

这篇关于替换oauth2client.crypt中的OpenSSL以使用PyCrypto的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 17:05