METADATA 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Metadata-Version: 2.1
  2. Name: pyOpenSSL
  3. Version: 21.0.0
  4. Summary: Python wrapper module around the OpenSSL library
  5. Home-page: https://pyopenssl.org/
  6. Author: The pyOpenSSL developers
  7. Author-email: cryptography-dev@python.org
  8. License: Apache License, Version 2.0
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 6 - Mature
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: Apache Software License
  13. Classifier: Operating System :: MacOS :: MacOS X
  14. Classifier: Operating System :: Microsoft :: Windows
  15. Classifier: Operating System :: POSIX
  16. Classifier: Programming Language :: Python :: 2
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3.6
  20. Classifier: Programming Language :: Python :: 3.7
  21. Classifier: Programming Language :: Python :: 3.8
  22. Classifier: Programming Language :: Python :: 3.9
  23. Classifier: Programming Language :: Python :: Implementation :: CPython
  24. Classifier: Programming Language :: Python :: Implementation :: PyPy
  25. Classifier: Topic :: Security :: Cryptography
  26. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  27. Classifier: Topic :: System :: Networking
  28. Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
  29. Requires-Dist: cryptography (>=3.3)
  30. Requires-Dist: six (>=1.5.2)
  31. Provides-Extra: docs
  32. Requires-Dist: sphinx ; extra == 'docs'
  33. Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
  34. Provides-Extra: test
  35. Requires-Dist: flaky ; extra == 'test'
  36. Requires-Dist: pretend ; extra == 'test'
  37. Requires-Dist: pytest (>=3.0.1) ; extra == 'test'
  38. ========================================================
  39. pyOpenSSL -- A Python wrapper around the OpenSSL library
  40. ========================================================
  41. .. image:: https://readthedocs.org/projects/pyopenssl/badge/?version=stable
  42. :target: https://pyopenssl.org/en/stable/
  43. :alt: Stable Docs
  44. .. image:: https://github.com/pyca/pyopenssl/workflows/CI/badge.svg?branch=main
  45. :target: https://github.com/pyca/pyopenssl/actions?query=workflow%3ACI+branch%3Amain
  46. .. image:: https://codecov.io/github/pyca/pyopenssl/branch/main/graph/badge.svg
  47. :target: https://codecov.io/github/pyca/pyopenssl
  48. :alt: Test coverage
  49. **Note:** The Python Cryptographic Authority **strongly suggests** the use of `pyca/cryptography`_
  50. where possible. If you are using pyOpenSSL for anything other than making a TLS connection
  51. **you should move to cryptography and drop your pyOpenSSL dependency**.
  52. High-level wrapper around a subset of the OpenSSL library. Includes
  53. * ``SSL.Connection`` objects, wrapping the methods of Python's portable sockets
  54. * Callbacks written in Python
  55. * Extensive error-handling mechanism, mirroring OpenSSL's error codes
  56. ... and much more.
  57. You can find more information in the documentation_.
  58. Development takes place on GitHub_.
  59. Discussion
  60. ==========
  61. If you run into bugs, you can file them in our `issue tracker`_.
  62. We maintain a cryptography-dev_ mailing list for both user and development discussions.
  63. You can also join ``#cryptography-dev`` on Freenode to ask questions or get involved.
  64. .. _documentation: https://pyopenssl.org/
  65. .. _`issue tracker`: https://github.com/pyca/pyopenssl/issues
  66. .. _cryptography-dev: https://mail.python.org/mailman/listinfo/cryptography-dev
  67. .. _GitHub: https://github.com/pyca/pyopenssl
  68. .. _`pyca/cryptography`: https://github.com/pyca/cryptography
  69. Release Information
  70. ===================
  71. 21.0.0 (2020-09-28)
  72. -------------------
  73. Backward-incompatible changes:
  74. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  75. - The minimum ``cryptography`` version is now 3.3.
  76. - Drop support for Python 3.5
  77. Deprecations:
  78. ^^^^^^^^^^^^^
  79. Changes:
  80. ^^^^^^^^
  81. - Raise an error when an invalid ALPN value is set.
  82. `#993 <https://github.com/pyca/pyopenssl/pull/993>`_
  83. - Added ``OpenSSL.SSL.Context.set_min_proto_version`` and ``OpenSSL.SSL.Context.set_max_proto_version``
  84. to set the minimum and maximum supported TLS version `#985 <https://github.com/pyca/pyopenssl/pull/985>`_.
  85. - Updated ``to_cryptography`` and ``from_cryptography`` methods to support an upcoming release of ``cryptography`` without raising deprecation warnings.
  86. `#1030 <https://github.com/pyca/pyopenssl/pull/1030>`_
  87. 20.0.1 (2020-12-15)
  88. -------------------
  89. Backward-incompatible changes:
  90. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  91. Deprecations:
  92. ^^^^^^^^^^^^^
  93. Changes:
  94. ^^^^^^^^
  95. - Fixed compatibility with OpenSSL 1.1.0.
  96. 20.0.0 (2020-11-27)
  97. -------------------
  98. Backward-incompatible changes:
  99. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  100. - The minimum ``cryptography`` version is now 3.2.
  101. - Remove deprecated ``OpenSSL.tsafe`` module.
  102. - Removed deprecated ``OpenSSL.SSL.Context.set_npn_advertise_callback``, ``OpenSSL.SSL.Context.set_npn_select_callback``, and ``OpenSSL.SSL.Connection.get_next_proto_negotiated``.
  103. - Drop support for Python 3.4
  104. - Drop support for OpenSSL 1.0.1 and 1.0.2
  105. Deprecations:
  106. ^^^^^^^^^^^^^
  107. - Deprecated ``OpenSSL.crypto.loads_pkcs7`` and ``OpenSSL.crypto.loads_pkcs12``.
  108. Changes:
  109. ^^^^^^^^
  110. - Added a new optional ``chain`` parameter to ``OpenSSL.crypto.X509StoreContext()``
  111. where additional untrusted certificates can be specified to help chain building.
  112. `#948 <https://github.com/pyca/pyopenssl/pull/948>`_
  113. - Added ``OpenSSL.crypto.X509Store.load_locations`` to set trusted
  114. certificate file bundles and/or directories for verification.
  115. `#943 <https://github.com/pyca/pyopenssl/pull/943>`_
  116. - Added ``Context.set_keylog_callback`` to log key material.
  117. `#910 <https://github.com/pyca/pyopenssl/pull/910>`_
  118. - Added ``OpenSSL.SSL.Connection.get_verified_chain`` to retrieve the
  119. verified certificate chain of the peer.
  120. `#894 <https://github.com/pyca/pyopenssl/pull/894>`_.
  121. - Make verification callback optional in ``Context.set_verify``.
  122. If omitted, OpenSSL's default verification is used.
  123. `#933 <https://github.com/pyca/pyopenssl/pull/933>`_
  124. - Fixed a bug that could truncate or cause a zero-length key error due to a
  125. null byte in private key passphrase in ``OpenSSL.crypto.load_privatekey``
  126. and ``OpenSSL.crypto.dump_privatekey``.
  127. `#947 <https://github.com/pyca/pyopenssl/pull/947>`_
  128. 19.1.0 (2019-11-18)
  129. -------------------
  130. Backward-incompatible changes:
  131. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  132. - Removed deprecated ``ContextType``, ``ConnectionType``, ``PKeyType``, ``X509NameType``, ``X509ReqType``, ``X509Type``, ``X509StoreType``, ``CRLType``, ``PKCS7Type``, ``PKCS12Type``, and ``NetscapeSPKIType`` aliases.
  133. Use the classes without the ``Type`` suffix instead.
  134. `#814 <https://github.com/pyca/pyopenssl/pull/814>`_
  135. - The minimum ``cryptography`` version is now 2.8 due to issues on macOS with a transitive dependency.
  136. `#875 <https://github.com/pyca/pyopenssl/pull/875>`_
  137. Deprecations:
  138. ^^^^^^^^^^^^^
  139. - Deprecated ``OpenSSL.SSL.Context.set_npn_advertise_callback``, ``OpenSSL.SSL.Context.set_npn_select_callback``, and ``OpenSSL.SSL.Connection.get_next_proto_negotiated``.
  140. ALPN should be used instead.
  141. `#820 <https://github.com/pyca/pyopenssl/pull/820>`_
  142. Changes:
  143. ^^^^^^^^
  144. - Support ``bytearray`` in ``SSL.Connection.send()`` by using cffi's from_buffer.
  145. `#852 <https://github.com/pyca/pyopenssl/pull/852>`_
  146. - The ``OpenSSL.SSL.Context.set_alpn_select_callback`` can return a new ``NO_OVERLAPPING_PROTOCOLS`` sentinel value
  147. to allow a TLS handshake to complete without an application protocol.
  148. `Full changelog <https://pyopenssl.org/en/stable/changelog.html>`_.