METADATA 7.6 KB

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