forked from pool/python-cryptography
Accepting request 1275322 from home:nkrapp:branches:devel:languages:python
- Update to 44.0.3 * Fixed compilation when using LibreSSL 4.1.0. OBS-URL: https://build.opensuse.org/request/show/1275322 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=247
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user