pyopenssl
Advanced tools
+34
-0
@@ -7,2 +7,36 @@ Changelog | ||
| 24.2.1 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Fixed changelog to remove sphinx specific restructured text strings. | ||
| 24.2.0 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| - Deprecated ``OpenSSL.crypto.X509Req``, ``OpenSSL.crypto.load_certificate_request``, ``OpenSSL.crypto.dump_certificate_request``. Instead, ``cryptography.x509.CertificateSigningRequest``, ``cryptography.x509.CertificateSigningRequestBuilder``, ``cryptography.x509.load_der_x509_csr``, or ``cryptography.x509.load_pem_x509_csr`` should be used. | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Added type hints for the ``SSL`` module. | ||
| `#1308 <https://github.com/pyca/pyopenssl/pull/1308>`_. | ||
| - Changed ``OpenSSL.crypto.PKey.from_cryptography_key`` to accept public and private EC, ED25519, ED448 keys. | ||
| `#1310 <https://github.com/pyca/pyopenssl/pull/1310>`_. | ||
| 24.1.0 (2024-03-09) | ||
@@ -9,0 +43,0 @@ ------------------- |
+4
-4
@@ -42,7 +42,7 @@ Contributing | ||
| - New functions and methods should have a docstring describing what they do, what parameters they takes, what types those parameters are, and what they return. | ||
| - New functions and methods should have a docstring describing what they do, what parameters they takes, and what they return. They should also come with `type hints`_. | ||
| .. code-block:: python | ||
| def dump_publickey(type, pkey): | ||
| def dump_publickey(type: int, pkey: PKey) -> bytes: | ||
| """ | ||
@@ -53,6 +53,5 @@ Dump a public key to a buffer. | ||
| :data:`FILETYPE_ASN1`). | ||
| :param PKey pkey: The PKey to dump. | ||
| :param pkey: The PKey to dump. | ||
| :return: The buffer with the dumped key in it. | ||
| :rtype: bytes | ||
| """ | ||
@@ -115,2 +114,3 @@ | ||
| .. _PEP 8: https://www.python.org/dev/peps/pep-0008/ | ||
| .. _`type hints`: https://docs.python.org/3/library/typing.html | ||
| .. _cryptography code review process: https://cryptography.io/en/latest/development/reviewing-patches/ | ||
@@ -117,0 +117,0 @@ .. _freenode: https://freenode.net |
+1
-1
@@ -1,2 +0,2 @@ | ||
| include LICENSE MANIFEST.in *.rst tox.ini .coveragerc | ||
| include LICENSE MANIFEST.in *.rst tox.ini .coveragerc src/OpenSSL/py.typed | ||
| exclude codecov.yml .readthedocs.yml mypy.ini | ||
@@ -3,0 +3,0 @@ recursive-include tests *.py |
+36
-2
| Metadata-Version: 2.1 | ||
| Name: pyOpenSSL | ||
| Version: 24.1.0 | ||
| Version: 24.2.1 | ||
| Summary: Python wrapper module around the OpenSSL library | ||
@@ -30,3 +30,3 @@ Home-page: https://pyopenssl.org/ | ||
| License-File: LICENSE | ||
| Requires-Dist: cryptography<43,>=41.0.5 | ||
| Requires-Dist: cryptography<44,>=41.0.5 | ||
| Provides-Extra: test | ||
@@ -91,2 +91,36 @@ Requires-Dist: pytest-rerunfailures; extra == "test" | ||
| 24.2.1 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Fixed changelog to remove sphinx specific restructured text strings. | ||
| 24.2.0 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| - Deprecated ``OpenSSL.crypto.X509Req``, ``OpenSSL.crypto.load_certificate_request``, ``OpenSSL.crypto.dump_certificate_request``. Instead, ``cryptography.x509.CertificateSigningRequest``, ``cryptography.x509.CertificateSigningRequestBuilder``, ``cryptography.x509.load_der_x509_csr``, or ``cryptography.x509.load_pem_x509_csr`` should be used. | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Added type hints for the ``SSL`` module. | ||
| `#1308 <https://github.com/pyca/pyopenssl/pull/1308>`_. | ||
| - Changed ``OpenSSL.crypto.PKey.from_cryptography_key`` to accept public and private EC, ED25519, ED448 keys. | ||
| `#1310 <https://github.com/pyca/pyopenssl/pull/1310>`_. | ||
| 24.1.0 (2024-03-09) | ||
@@ -93,0 +127,0 @@ ------------------- |
+4
-11
@@ -13,2 +13,5 @@ [tool.coverage.run] | ||
| [tool.coverage.report] | ||
| exclude_also = [ | ||
| "assert False", | ||
| ] | ||
| show_missing = true | ||
@@ -20,18 +23,8 @@ | ||
| strict = true | ||
| exclude = ['SSL\.py$'] | ||
| [[tool.mypy.overrides]] | ||
| module = "OpenSSL.crypto" | ||
| module = "OpenSSL.*" | ||
| warn_return_any = false | ||
| disallow_any_expr = false | ||
| [[tool.mypy.overrides]] | ||
| module = "OpenSSL.rand" | ||
| warn_return_any = false | ||
| [[tool.mypy.overrides]] | ||
| module = "OpenSSL._util" | ||
| warn_return_any = false | ||
| [[tool.mypy.overrides]] | ||
| module = "cryptography.*" | ||
@@ -38,0 +31,0 @@ ignore_missing_imports = true |
+1
-1
@@ -96,3 +96,3 @@ #!/usr/bin/env python | ||
| install_requires=[ | ||
| "cryptography>=41.0.5,<43", | ||
| "cryptography>=41.0.5,<44", | ||
| ], | ||
@@ -99,0 +99,0 @@ extras_require={ |
@@ -20,3 +20,3 @@ # Copyright (C) AB Strakt | ||
| __version__ = "24.1.0" | ||
| __version__ = "24.2.1" | ||
@@ -23,0 +23,0 @@ __title__ = "pyOpenSSL" |
| Metadata-Version: 2.1 | ||
| Name: pyOpenSSL | ||
| Version: 24.1.0 | ||
| Version: 24.2.1 | ||
| Summary: Python wrapper module around the OpenSSL library | ||
@@ -30,3 +30,3 @@ Home-page: https://pyopenssl.org/ | ||
| License-File: LICENSE | ||
| Requires-Dist: cryptography<43,>=41.0.5 | ||
| Requires-Dist: cryptography<44,>=41.0.5 | ||
| Provides-Extra: test | ||
@@ -91,2 +91,36 @@ Requires-Dist: pytest-rerunfailures; extra == "test" | ||
| 24.2.1 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Fixed changelog to remove sphinx specific restructured text strings. | ||
| 24.2.0 (2024-07-20) | ||
| ------------------- | ||
| Backward-incompatible changes: | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| Deprecations: | ||
| ^^^^^^^^^^^^^ | ||
| - Deprecated ``OpenSSL.crypto.X509Req``, ``OpenSSL.crypto.load_certificate_request``, ``OpenSSL.crypto.dump_certificate_request``. Instead, ``cryptography.x509.CertificateSigningRequest``, ``cryptography.x509.CertificateSigningRequestBuilder``, ``cryptography.x509.load_der_x509_csr``, or ``cryptography.x509.load_pem_x509_csr`` should be used. | ||
| Changes: | ||
| ^^^^^^^^ | ||
| - Added type hints for the ``SSL`` module. | ||
| `#1308 <https://github.com/pyca/pyopenssl/pull/1308>`_. | ||
| - Changed ``OpenSSL.crypto.PKey.from_cryptography_key`` to accept public and private EC, ED25519, ED448 keys. | ||
| `#1310 <https://github.com/pyca/pyopenssl/pull/1310>`_. | ||
| 24.1.0 (2024-03-09) | ||
@@ -93,0 +127,0 @@ ------------------- |
@@ -1,2 +0,2 @@ | ||
| cryptography<43,>=41.0.5 | ||
| cryptography<44,>=41.0.5 | ||
@@ -3,0 +3,0 @@ [docs] |
@@ -36,2 +36,3 @@ CHANGELOG.rst | ||
| src/OpenSSL/debug.py | ||
| src/OpenSSL/py.typed | ||
| src/OpenSSL/rand.py | ||
@@ -38,0 +39,0 @@ src/OpenSSL/version.py |
+1
-1
@@ -50,3 +50,3 @@ [tox] | ||
| commands = | ||
| ruff . | ||
| ruff check . | ||
| ruff format --check . | ||
@@ -53,0 +53,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
698896
2.28%53
1.92%13147
2.05%