【问题标题】:OpenSSL signing and Google App EngineOpenSSL 签名和 Google App Engine
【发布时间】:2010-05-11 18:53:40
【问题描述】:

有没有办法在 Google App Engine (Python) 中使用 PEM 格式的私钥对值进行签名?

例如在 PHP 中可以这样实现:

$key = openssl_pkey_get_private($privateKey);
openssl_sign($strToBeSigned, $signature, $key);
echo "signature: ".base64_encode($signature);

有没有办法在 Google App Engine 中使用 Python 做同样的事情?

【问题讨论】:

    标签: python google-app-engine cryptography openssl


    【解决方案1】:

    尝试查看此问题的答案,以及指向 google 小组讨论的链接,看看是否有帮助。

    Signing a string with RSA private key on Google App Engine Python SDK

    【讨论】:

    • 我已经找到了如何使用 tlslite 来解决这个问题,但无论如何谢谢,答案指向同一个方向
    猜你喜欢
    • 2014-03-22
    • 2023-03-09
    • 2018-04-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多