diff --git a/cryptography-44.0.2.tar.gz b/cryptography-44.0.2.tar.gz deleted file mode 100644 index 2aa7d9c..0000000 --- a/cryptography-44.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c63454aa261a0cf0c5b4718349629793e9e634993538db841165b3df74f37ec0 -size 710807 diff --git a/cryptography-44.0.3.tar.gz b/cryptography-44.0.3.tar.gz new file mode 100644 index 0000000..c93d33d --- /dev/null +++ b/cryptography-44.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe19d8bc5536a91a24a8133328880a41831b6c5df54599a8417b62fe015d3053 +size 711096 diff --git a/no-pytest_benchmark.patch b/no-pytest_benchmark.patch index 6f94bc2..8ab851d 100644 --- a/no-pytest_benchmark.patch +++ b/no-pytest_benchmark.patch @@ -1,10 +1,10 @@ -Index: cryptography-44.0.2/pyproject.toml +Index: cryptography-44.0.3/pyproject.toml =================================================================== ---- cryptography-44.0.2.orig/pyproject.toml -+++ cryptography-44.0.2/pyproject.toml +--- cryptography-44.0.3.orig/pyproject.toml ++++ cryptography-44.0.3/pyproject.toml @@ -67,8 +67,6 @@ nox = ["nox >=2024.04.15", "nox[uv] >=20 test = [ - "cryptography_vectors==44.0.2", + "cryptography_vectors==44.0.3", "pytest >=7.4.0", - "pytest-benchmark >=4.0", - "pytest-cov >=2.10.1", @@ -54,10 +54,10 @@ Index: cryptography-44.0.2/pyproject.toml [tool.ruff] line-length = 79 -Index: cryptography-44.0.2/tests/bench/test_aead.py +Index: cryptography-44.0.3/tests/bench/test_aead.py =================================================================== ---- cryptography-44.0.2.orig/tests/bench/test_aead.py -+++ cryptography-44.0.2/tests/bench/test_aead.py +--- cryptography-44.0.3.orig/tests/bench/test_aead.py ++++ cryptography-44.0.3/tests/bench/test_aead.py @@ -26,84 +26,84 @@ def _aead_supported(cls): not _aead_supported(ChaCha20Poly1305), reason="Requires OpenSSL with ChaCha20Poly1305 support", @@ -163,10 +163,10 @@ Index: cryptography-44.0.2/tests/bench/test_aead.py ct = aes.encrypt(b"\x00" * 12, b"hello world plaintext", None) - benchmark(aes.decrypt, b"\x00" * 12, ct, None) + aes.decrypt(b"\x00" * 12, ct, None) -Index: cryptography-44.0.2/tests/bench/test_ec_load.py +Index: cryptography-44.0.3/tests/bench/test_ec_load.py =================================================================== ---- cryptography-44.0.2.orig/tests/bench/test_ec_load.py -+++ cryptography-44.0.2/tests/bench/test_ec_load.py +--- cryptography-44.0.3.orig/tests/bench/test_ec_load.py ++++ cryptography-44.0.3/tests/bench/test_ec_load.py @@ -5,9 +5,9 @@ from ..hazmat.primitives.fixtures_ec import EC_KEY_SECP256R1 @@ -181,10 +181,10 @@ Index: cryptography-44.0.2/tests/bench/test_ec_load.py - benchmark(EC_KEY_SECP256R1.private_key) +def test_load_ec_private_numbers(): + EC_KEY_SECP256R1.private_key() -Index: cryptography-44.0.2/tests/bench/test_hashes.py +Index: cryptography-44.0.3/tests/bench/test_hashes.py =================================================================== ---- cryptography-44.0.2.orig/tests/bench/test_hashes.py -+++ cryptography-44.0.2/tests/bench/test_hashes.py +--- cryptography-44.0.3.orig/tests/bench/test_hashes.py ++++ cryptography-44.0.3/tests/bench/test_hashes.py @@ -5,10 +5,10 @@ from cryptography.hazmat.primitives import hashes @@ -198,10 +198,10 @@ Index: cryptography-44.0.2/tests/bench/test_hashes.py - benchmark(bench) + bench() -Index: cryptography-44.0.2/tests/bench/test_hmac.py +Index: cryptography-44.0.3/tests/bench/test_hmac.py =================================================================== ---- cryptography-44.0.2.orig/tests/bench/test_hmac.py -+++ cryptography-44.0.2/tests/bench/test_hmac.py +--- cryptography-44.0.3.orig/tests/bench/test_hmac.py ++++ cryptography-44.0.3/tests/bench/test_hmac.py @@ -5,10 +5,10 @@ from cryptography.hazmat.primitives import hashes, hmac @@ -215,10 +215,10 @@ Index: cryptography-44.0.2/tests/bench/test_hmac.py - benchmark(bench) + bench() -Index: cryptography-44.0.2/tests/bench/test_x509.py +Index: cryptography-44.0.3/tests/bench/test_x509.py =================================================================== ---- cryptography-44.0.2.orig/tests/bench/test_x509.py -+++ cryptography-44.0.2/tests/bench/test_x509.py +--- cryptography-44.0.3.orig/tests/bench/test_x509.py ++++ cryptography-44.0.3/tests/bench/test_x509.py @@ -13,40 +13,40 @@ from cryptography import x509 from ..utils import load_vectors_from_file diff --git a/python-cryptography.changes b/python-cryptography.changes index 945dbd5..f448615 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 7 15:45:10 UTC 2025 - Nico Krapp + +- Update to 44.0.3 + * Fixed compilation when using LibreSSL 4.1.0. + ------------------------------------------------------------------- Sun Mar 23 21:40:26 UTC 2025 - Dirk Müller diff --git a/python-cryptography.spec b/python-cryptography.spec index 66d2783..9dae1ed 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -28,7 +28,7 @@ %{?sle15_python_module_pythons} Name: python-cryptography%{psuffix} # ALWAYS KEEP IN SYNC WITH python-cryptography-vectors! -Version: 44.0.2 +Version: 44.0.3 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 OR BSD-3-Clause diff --git a/vendor.tar.zst b/vendor.tar.zst index 3b0afb1..8cf031a 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad589a9d923b8a51ad6ea0f0cfb5de808a7db067ae0d33b8fbb5751859d50237 -size 2597139 +oid sha256:b18834abb68d0dc0335f0264734f440739dbdcd49504549444546ce0e6c477fa +size 2607240