Compare commits
21 Commits
Author | SHA256 | Date | |
---|---|---|---|
a8875585c3 | |||
05aa83f87a | |||
f7b5d3406b | |||
8cc389ca91 | |||
86212cb275 | |||
49c2af7efe | |||
f9cfc76a25 | |||
97ea33263f | |||
d16ebd39b1 | |||
f5ba922d03 | |||
a23a32b0fc | |||
dc005f9428 | |||
ab085b0ccb | |||
d0f3a45356 | |||
f7ba2ec349 | |||
ee194dc64a | |||
62822ccf47 | |||
753c1564b0 | |||
b64cb99724 | |||
ce9d9d4489 | |||
09f5cf4053 |
@@ -7,10 +7,8 @@ Subject: [PATCH] Make unsafe subinterpreter support available via cfg flag
|
||||
src/impl_/pymodule.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: cryptography-45.0.7/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
+++ cryptography-45.0.7/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
--- a/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
+++ b/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
@@ -100,7 +100,7 @@ impl ModuleDef {
|
||||
// that static data is not reused across interpreters.
|
||||
//
|
||||
@@ -20,10 +18,8 @@ Index: cryptography-45.0.7/vendor/pyo3-0.25.1/src/impl_/pymodule.rs
|
||||
{
|
||||
// PyInterpreterState_Get is only available on 3.9 and later, but is missing
|
||||
// from python3.dll for Windows stable API on 3.9
|
||||
Index: cryptography-45.0.7/Cargo.toml
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/Cargo.toml
|
||||
+++ cryptography-45.0.7/Cargo.toml
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -29,3 +29,6 @@ openssl-sys = "0.9.108"
|
||||
|
||||
[profile.release]
|
||||
@@ -31,11 +27,9 @@ Index: cryptography-45.0.7/Cargo.toml
|
||||
+
|
||||
+[patch.crates-io]
|
||||
+pyo3 = { path="vendor/pyo3-0.25.1" }
|
||||
Index: cryptography-45.0.7/Cargo.lock
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/Cargo.lock
|
||||
+++ cryptography-45.0.7/Cargo.lock
|
||||
@@ -276,8 +276,6 @@ dependencies = [
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -269,8 +269,6 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "pyo3"
|
||||
version = "0.25.1"
|
||||
|
3
cryptography-45.0.5.tar.gz
Normal file
3
cryptography-45.0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:72e76caa004ab63accdf26023fccd1d087f6d90ec6048ff33ad0445abf7f605a
|
||||
size 744903
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b1654dfc64ea479c242508eb8c724044f1e964a47d1d1cacc5132292d851971
|
||||
size 744980
|
@@ -1,10 +1,10 @@
|
||||
Index: cryptography-45.0.7/pyproject.toml
|
||||
Index: cryptography-45.0.5/pyproject.toml
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/pyproject.toml
|
||||
+++ cryptography-45.0.7/pyproject.toml
|
||||
--- cryptography-45.0.5.orig/pyproject.toml
|
||||
+++ cryptography-45.0.5/pyproject.toml
|
||||
@@ -67,8 +67,6 @@ nox = ["nox >=2024.04.15", "nox[uv] >=20
|
||||
test = [
|
||||
"cryptography_vectors==45.0.7",
|
||||
"cryptography_vectors==45.0.5",
|
||||
"pytest >=7.4.0",
|
||||
- "pytest-benchmark >=4.0",
|
||||
- "pytest-cov >=2.10.1",
|
||||
@@ -51,10 +51,10 @@ Index: cryptography-45.0.7/pyproject.toml
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
Index: cryptography-45.0.7/tests/bench/test_aead.py
|
||||
Index: cryptography-45.0.5/tests/bench/test_aead.py
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/tests/bench/test_aead.py
|
||||
+++ cryptography-45.0.7/tests/bench/test_aead.py
|
||||
--- cryptography-45.0.5.orig/tests/bench/test_aead.py
|
||||
+++ cryptography-45.0.5/tests/bench/test_aead.py
|
||||
@@ -26,84 +26,84 @@ def _aead_supported(cls):
|
||||
not _aead_supported(ChaCha20Poly1305),
|
||||
reason="Requires OpenSSL with ChaCha20Poly1305 support",
|
||||
@@ -160,10 +160,10 @@ Index: cryptography-45.0.7/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-45.0.7/tests/bench/test_ec_load.py
|
||||
Index: cryptography-45.0.5/tests/bench/test_ec_load.py
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/tests/bench/test_ec_load.py
|
||||
+++ cryptography-45.0.7/tests/bench/test_ec_load.py
|
||||
--- cryptography-45.0.5.orig/tests/bench/test_ec_load.py
|
||||
+++ cryptography-45.0.5/tests/bench/test_ec_load.py
|
||||
@@ -5,9 +5,9 @@
|
||||
from ..hazmat.primitives.fixtures_ec import EC_KEY_SECP256R1
|
||||
|
||||
@@ -178,10 +178,10 @@ Index: cryptography-45.0.7/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-45.0.7/tests/bench/test_hashes.py
|
||||
Index: cryptography-45.0.5/tests/bench/test_hashes.py
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/tests/bench/test_hashes.py
|
||||
+++ cryptography-45.0.7/tests/bench/test_hashes.py
|
||||
--- cryptography-45.0.5.orig/tests/bench/test_hashes.py
|
||||
+++ cryptography-45.0.5/tests/bench/test_hashes.py
|
||||
@@ -5,10 +5,10 @@
|
||||
from cryptography.hazmat.primitives import hashes
|
||||
|
||||
@@ -195,10 +195,10 @@ Index: cryptography-45.0.7/tests/bench/test_hashes.py
|
||||
|
||||
- benchmark(bench)
|
||||
+ bench()
|
||||
Index: cryptography-45.0.7/tests/bench/test_hmac.py
|
||||
Index: cryptography-45.0.5/tests/bench/test_hmac.py
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/tests/bench/test_hmac.py
|
||||
+++ cryptography-45.0.7/tests/bench/test_hmac.py
|
||||
--- cryptography-45.0.5.orig/tests/bench/test_hmac.py
|
||||
+++ cryptography-45.0.5/tests/bench/test_hmac.py
|
||||
@@ -5,10 +5,10 @@
|
||||
from cryptography.hazmat.primitives import hashes, hmac
|
||||
|
||||
@@ -212,10 +212,10 @@ Index: cryptography-45.0.7/tests/bench/test_hmac.py
|
||||
|
||||
- benchmark(bench)
|
||||
+ bench()
|
||||
Index: cryptography-45.0.7/tests/bench/test_x509.py
|
||||
Index: cryptography-45.0.5/tests/bench/test_x509.py
|
||||
===================================================================
|
||||
--- cryptography-45.0.7.orig/tests/bench/test_x509.py
|
||||
+++ cryptography-45.0.7/tests/bench/test_x509.py
|
||||
--- cryptography-45.0.5.orig/tests/bench/test_x509.py
|
||||
+++ cryptography-45.0.5/tests/bench/test_x509.py
|
||||
@@ -13,40 +13,40 @@ from cryptography import x509
|
||||
from ..utils import load_vectors_from_file
|
||||
|
||||
|
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 20:45:39 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 45.0.7:
|
||||
* Added a function to support an upcoming pyOpenSSL release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 14:46:55 UTC 2025 - James Oakley <jfunk@opensuse.org>
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-cryptography%{psuffix}
|
||||
# ALWAYS KEEP IN SYNC WITH python-cryptography-vectors!
|
||||
Version: 45.0.7
|
||||
Version: 45.0.5
|
||||
Release: 0
|
||||
Summary: Python library which exposes cryptographic recipes and primitives
|
||||
License: Apache-2.0 OR BSD-3-Clause
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf99c9e48b00d21870a3579e7c84eb32889dee6c82848be97e0b2408091194a7
|
||||
size 2652902
|
||||
oid sha256:66027fde33c455f0cb3d01f7daba90d0e8a87378f1b48bcc5cb23bc2fb9c98bb
|
||||
size 2651262
|
||||
|
Reference in New Issue
Block a user