Dirk Mueller
d31ee80686
* Support for Python 3.6 is deprecated and will be removed in the next release. * Deprecated the current minimum supported Rust version (MSRV) of 1.48.0. In the next release we will raise MSRV to 1.56.0. Users with the latest ``pip`` will typically get a wheel and not need Rust installed * Deprecated support for OpenSSL less than 1.1.1d. The next release of ``cryptography`` will drop support for older versions. * Deprecated support for DSA keys in :func:`~cryptography.hazmat.primitives.serialization.load_s sh_public_key` and :func:`~cryptography.hazmat.primitives.serialization.load_s sh_private_key`. * Deprecated support for OpenSSH serialization in :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP ublicKey` and :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP rivateKey`. * Added support for parsing SSH certificates in addition to public keys with :func:`~cryptography.hazmat.primitives.serialization.load_s sh_public_identity`. :func:`~cryptography.hazmat.primitives.serialization.load_s sh_public_key` continues to support only public keys. * Added support for generating SSH certificates with :class:`~cryptography.hazmat.primitives.serialization.SSHCe rtificateBuilder`. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=176
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
---
|
|
tests/hazmat/backends/test_openssl_memleak.py | 7 +++----
|
|
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
|
|
Index: cryptography-40.0.1/tests/hazmat/backends/test_openssl_memleak.py
|
|
===================================================================
|
|
--- cryptography-40.0.1.orig/tests/hazmat/backends/test_openssl_memleak.py
|
|
+++ cryptography-40.0.1/tests/hazmat/backends/test_openssl_memleak.py
|
|
@@ -204,12 +204,10 @@ 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")
|
|
@skip_if_memtesting_not_supported()
|