【问题标题】:Using openssl with IronPython on a hosted website在托管网站上使用 openssl 和 IronPython
【发布时间】:2011-07-03 13:13:11
【问题描述】:

我有一个 python 脚本,它调用以下内容:

signature = Popen(["openssl", "sha1", "-sign", key, input], stdout=PIPE).stdout.read();

我需要通过 IronPython 在托管网站上运行此脚本。是否可以使用 openssl 并以某种方式引用它?

我研究了使用 M2Crypto 的替代方案,但不幸的是,它使用了 IronPython 不支持的 pyo 文件。

任何帮助表示赞赏。拔掉我的头发……!

【问题讨论】:

    标签: asp.net python openssl ironpython m2crypto


    【解决方案1】:

    我不知道.NET's crypto libraries 是否可以满足您的需求,但 IronPython 始终可以选择。

    否则,您应该能够在 Windows 上安装 OpenSSL 并按原样使用您提供的代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-02
      • 2011-07-31
      • 1970-01-01
      • 1970-01-01
      • 2018-01-02
      相关资源
      最近更新 更多