OpenSSL 签名和 Google App Engine
有没有办法在 Google App Engine (Python) 中使用 PEM 格式的私钥对值进行签名?
例如,在 PHP 中,可以这样实现:
$key = openssl_pkey_get_private($privateKey);
openssl_sign($strToBeSigned, $signature, $key);
echo "signature: ".base64_encode($signature);
Is there a way to do the same thing with Python in Google App Engine?
Is there a way to sign values with a PEM formatted private key in Google App Engine (Python)?
For example in PHP it could be achieved like this:
$key = openssl_pkey_get_private($privateKey);
openssl_sign($strToBeSigned, $signature, $key);
echo "signature: ".base64_encode($signature);
Is there a way to do the same thing with Python in Google App Engine?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试看看这个问题的答案,以及谷歌小组讨论的链接,看看是否有帮助。
使用 RSA private 对字符串进行签名Google App Engine Python SDK 上的密钥
Try taking a look at this question's answers, and the link to the google group discussion to see if that helps.
Signing a string with RSA private key on Google App Engine Python SDK