forked from pool/python-cryptography
* Fixed an issue with incorrect keyword-argument naming with EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive s.asymmetric.ec.EllipticCurvePrivateKey.sign`. * Resolved compatibility issue with loading certain RSA public keys in :func:`~cryptography.hazmat.primitives.serialization. load_pem_public_key`. * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.7. * BACKWARDS INCOMPATIBLE: Loading a PKCS7 with no content field using :func:`~cryptography.hazmat.primitives.serialization.pk cs7.load_pem_pkcs7_certificates` or :func:`~cryptography.hazm at.primitives.serialization.pkcs7.load_der_pkcs7_certificates ` will now raise a ValueError rather than return an empty list. * Parsing SSH certificates no longer permits malformed critical options with values, as documented in the 41.0.2 release notes. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.2.0. * Updated the minimum supported Rust version (MSRV) to 1.63.0, from 1.56.0. * We now publish both py37 and py39 abi3 wheels. This should resolve some errors relating to initializing a module multiple times per process. * Support :class:`~cryptography.hazmat.primitives.asymmetric.pa dding.PSS` for X.509 certificate signing requests and certificate revocation lists with the keyword-only argument rsa_padding on the sign methods for :class:`~cryptography.x509.CertificateSigningRequestBuilder` and OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=205
24 lines
990 B
Diff
24 lines
990 B
Diff
---
|
|
tests/hazmat/backends/test_openssl_memleak.py | 10 ++++------
|
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
|
|
|
Index: cryptography-42.0.1/tests/hazmat/backends/test_openssl_memleak.py
|
|
===================================================================
|
|
--- cryptography-42.0.1.orig/tests/hazmat/backends/test_openssl_memleak.py
|
|
+++ cryptography-42.0.1/tests/hazmat/backends/test_openssl_memleak.py
|
|
@@ -199,11 +199,9 @@ def assert_no_memory_leaks(s, argv=[]):
|
|
|
|
|
|
def skip_if_memtesting_not_supported():
|
|
- return pytest.mark.skipif(
|
|
- not Binding().lib.Cryptography_HAS_MEM_FUNCTIONS
|
|
- or platform.python_implementation() == "PyPy",
|
|
- reason="Requires OpenSSL memory functions (>=1.1.0) and not PyPy",
|
|
- )
|
|
+ return pytest.mark.skip(
|
|
+ reason="Our FIPS openssl startup code invokes CRYPTO_malloc() which prevents later debugging via CRYPTO_set_mem_functions()"
|
|
+ )
|
|
|
|
|
|
@pytest.mark.skip_fips(reason="FIPS self-test sets allow_customize = 0")
|