pyca/pyopenssl
GitHub: pyca/pyopenssl
OpenSSL 库的 Python 封装,提供高级 TLS 连接和加密通信接口。
Stars: 943 | Forks: 432
# pyOpenSSL —— 一个封装了 OpenSSL 库的 Python 包装器
.. image:: https://readthedocs.org/projects/pyopenssl/badge/?version=stable
:target: https://pyopenssl.org/en/stable/
:alt: Stable Docs
.. image:: https://github.com/pyca/pyopenssl/workflows/CI/badge.svg?branch=main
:target: https://github.com/pyca/pyopenssl/actions?query=workflow%3ACI+branch%3Amain
**注意:** Python Cryptographic Authority **强烈建议**在可能的情况下使用 `pyca/cryptography`_。
如果您使用 pyOpenSSL 仅是为了建立 TLS 连接以外的目的,**您应该迁移到 cryptography 并移除对 pyOpenSSL 的依赖**。
对 OpenSSL 库的一个子集进行了高级封装。包括
* 封装了 Python 可移植 socket 方法的 ``SSL.Connection`` 对象
* 用 Python 编写的回调
* 丰富的错误处理机制,映射了 OpenSSL 的错误代码
...以及更多功能。
您可以在 documentation_ 中找到更多信息。
开发在 GitHub_ 上进行。
# 讨论
如果您遇到 bug,可以在我们的 `issue tracker`_ 中提交。
我们维护着一个 cryptography-dev_ 邮件列表,供用户和开发讨论使用。
您也可以加入 ``irc.libera.chat`` 上的 ``#pyca`` 频道来提问或参与其中。
.. _documentation: https://pyopenssl.org/
.. _`issue tracker`: https://github.com/pyca/pyopenssl/issues
.. _cryptography-dev: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _GitHub: https://github.com/pyca/pyopenssl
.. _`pyca/cryptography`: https://github.com/pyca/cryptography
标签:OpenSSL, Python, TLS, 安全测试工具, 密码学, 开发库, 手动系统调用, 无后门, 网络编程, 逆向工具, 防御工具