tribuchet: building on jamie structuredAttrs is enabled Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing sphinx-hook Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/cp5cjc02blpvyv628dcckr93mhj719kr-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/util.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info creating src/pyOpenSSL.egg-info writing src/pyOpenSSL.egg-info/PKG-INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt writing requirements to src/pyOpenSSL.egg-info/requires.txt writing top-level names to src/pyOpenSSL.egg-info/top_level.txt writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.coveragerc' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'mypy.ini' no previously-included directories found matching 'doc/_build' adding license file 'LICENSE' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' * Building wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/OpenSSL copying src/OpenSSL/rand.py -> build/lib/OpenSSL copying src/OpenSSL/version.py -> build/lib/OpenSSL copying src/OpenSSL/SSL.py -> build/lib/OpenSSL copying src/OpenSSL/_util.py -> build/lib/OpenSSL copying src/OpenSSL/__init__.py -> build/lib/OpenSSL copying src/OpenSSL/debug.py -> build/lib/OpenSSL copying src/OpenSSL/crypto.py -> build/lib/OpenSSL copying src/OpenSSL/py.typed -> build/lib/OpenSSL installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/OpenSSL copying build/lib/OpenSSL/version.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/debug.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/rand.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/_util.py -> build/bdist.linux-x86_64/wheel/./OpenSSL copying build/lib/OpenSSL/py.typed -> build/bdist.linux-x86_64/wheel/./OpenSSL running install_egg_info running egg_info writing src/pyOpenSSL.egg-info/PKG-INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt writing requirements to src/pyOpenSSL.egg-info/requires.txt writing top-level names to src/pyOpenSSL.egg-info/top_level.txt reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.coveragerc' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'mypy.ini' no previously-included directories found matching 'doc/_build' adding license file 'LICENSE' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' Copying src/pyOpenSSL.egg-info to build/bdist.linux-x86_64/wheel/./pyOpenSSL-26.4.0-py3.14.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pyopenssl-26.4.0.dist-info/WHEEL creating '/build/source/dist/.tmp-_lzck9gf/pyopenssl-26.4.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'OpenSSL/SSL.py' adding 'OpenSSL/__init__.py' adding 'OpenSSL/_util.py' adding 'OpenSSL/crypto.py' adding 'OpenSSL/debug.py' adding 'OpenSSL/py.typed' adding 'OpenSSL/rand.py' adding 'OpenSSL/version.py' adding 'pyopenssl-26.4.0.dist-info/licenses/LICENSE' adding 'pyopenssl-26.4.0.dist-info/METADATA' adding 'pyopenssl-26.4.0.dist-info/WHEEL' adding 'pyopenssl-26.4.0.dist-info/top_level.txt' adding 'pyopenssl-26.4.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built pyopenssl-26.4.0-py3-none-any.whl Finished creating a wheel... /build/source/dist /build/source Unpacking to: unpacked/pyopenssl-26.4.0...OK Repacking wheel as ./pyopenssl-26.4.0-py3-none-any.whl...OK /build/source Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for pyopenssl-26.4.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed pyopenssl-26.4.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: buildSphinxPhase Executing buildSphinxPhase Sphinx documentation found in doc Executing sphinx-build with html builder Running Sphinx v9.1.0 loading translations [en]... locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... loading intersphinx inventory 'cryptography' from https://cryptography.io/en/latest/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='docs.python.org', port=443): Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://cryptography.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cryptography.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='cryptography.io', port=443): Failed to resolve 'cryptography.io' ([Errno -3] Temporary failure in name resolution)")) locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 9 source files that are out of date updating environment: locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] api reading sources... [ 22%] api/crypto reading sources... [ 33%] api/ssl reading sources... [ 44%] backward-compatibility reading sources... [ 56%] changelog reading sources... [ 67%] index reading sources... [ 78%] install reading sources... [ 89%] internals reading sources... [100%] introduction looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /build/source/.sphinx/html/html/_static/language_data.js Writing evaluated template result to /build/source/.sphinx/html/html/_static/basic.css Writing evaluated template result to /build/source/.sphinx/html/html/_static/documentation_options.js Writing evaluated template result to /build/source/.sphinx/html/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 11%] api writing output... [ 22%] api/crypto writing output... [ 33%] api/ssl writing output... [ 44%] backward-compatibility writing output... [ 56%] changelog writing output... [ 67%] index writing output... [ 78%] install writing output... [ 89%] internals writing output... [100%] introduction generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in .sphinx/html/html. Running phase: installSphinxPhase Executing installSphinxPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc checking for references to /build/ in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc... patching script interpreter paths in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc shrinking RPATHs of ELF executables and libraries in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist checking for references to /build/ in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist... patching script interpreter paths in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist shrinking RPATHs of ELF executables and libraries in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0 checking for references to /build/ in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0... patching script interpreter paths in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0 stripping (with command strip and flags -S -p) in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest -k not\ \(test_set_default_verify_paths\)\ and\ not\ \(test_fallback_default_verify_paths\)\ and\ not\ \(test_wantWriteError\)\ and\ not\ \(test_alpn_call_failure\)\ and\ not\ \(test_client_receives_servers_data\)\ and\ not\ \(test_dump_certificate\)\ and\ not\ \(test_dump_privatekey_text\)\ and\ not\ \(test_dump_certificate_request\)\ and\ not\ \(test_export_text\) ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 OpenSSL: b'OpenSSL 3.5.9 29 Sep 2026' cryptography: 50.0.2 rootdir: /build/source configfile: pyproject.toml testpaths: tests plugins: rerunfailures-16.6 collected 432 items / 8 deselected / 424 selected tests/test_crypto.py ................................................... [ 12%] ........................................................................ [ 29%] ............................................. [ 39%] tests/test_debug.py . [ 39%] tests/test_rand.py .... [ 40%] tests/test_ssl.py ...................................................... [ 53%] ........................................................................ [ 70%] ........................................................................ [ 87%] .................................................... [ 99%] tests/test_util.py . [100%] =============================== warnings summary =============================== tests/test_crypto.py:30 /build/source/tests/test_crypto.py:30: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import ( ../../nix/store/1p2fja7y7dy76d7jbkrc51wrlssdz6zf-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:188 /nix/store/1p2fja7y7dy76d7jbkrc51wrlssdz6zf-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:188: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead exec(co, module.__dict__) tests/test_ssl.py:55 /build/source/tests/test_ssl.py:55: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import ( tests/test_crypto.py::TestPKey::test_pregeneration /build/source/tests/test_crypto.py:993: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. key.check() tests/test_crypto.py::TestPKey::test_failed_generation /build/source/tests/test_crypto.py:1005: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key("foo", "bar") # type: ignore[arg-type] tests/test_crypto.py::TestPKey::test_failed_generation /build/source/tests/test_crypto.py:1007: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(-1, 0) tests/test_crypto.py::TestPKey::test_failed_generation /build/source/tests/test_crypto.py:1010: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, -1) tests/test_crypto.py::TestPKey::test_failed_generation /build/source/tests/test_crypto.py:1012: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 0) tests/test_crypto.py::TestPKey::test_failed_generation /build/source/tests/test_crypto.py:1015: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, object()) # type: ignore[arg-type] tests/test_crypto.py::TestPKey::test_rsa_generation /build/source/tests/test_crypto.py:1024: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, bits) tests/test_crypto.py::TestPKey::test_rsa_generation /build/source/tests/test_crypto.py:1027: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. assert key.check() tests/test_crypto.py::TestPKey::test_dsa_generation /build/source/tests/test_crypto.py:1039: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_DSA, bits) tests/test_crypto.py::TestPKey::test_dsa_generation /build/source/tests/test_crypto.py:1043: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. key.check() tests/test_crypto.py::TestPKey::test_regeneration tests/test_crypto.py::TestPKey::test_regeneration /build/source/tests/test_crypto.py:1052: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(type, bits) tests/test_crypto.py::TestPKey::test_inconsistent_key /build/source/tests/test_crypto.py:1063: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. key.check() tests/test_crypto.py::TestPKey::test_check_public_key /build/source/tests/test_crypto.py:1072: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestPKey::test_check_public_key /build/source/tests/test_crypto.py:1074: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_pubkey(key) tests/test_crypto.py::TestPKey::test_check_public_key /build/source/tests/test_crypto.py:1077: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. pub.check() tests/test_crypto.py::TestPKey::test_check_pr_897 /build/source/tests/test_crypto.py:1086: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. pkey.check() tests/test_crypto.py: 31 warnings /build/source/tests/test_crypto.py:1094: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. name = X509().get_subject() tests/test_crypto.py::TestX509Name::test_copy /build/source/tests/test_crypto.py:1182: DeprecationWarning: X509Name support in pyOpenSSL is deprecated. You should use the APIs in cryptography. copy = X509Name(name) tests/test_crypto.py::TestX509Name::test_load_nul_byte_attribute /build/source/tests/test_crypto.py:1350: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. subject = cert.get_subject() tests/test_crypto.py::TestX509Name::test_load_nul_byte_components /build/source/tests/test_crypto.py:1359: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. subject = cert.get_subject() tests/test_crypto.py::TestX509::test_sign_with_ungenerated /build/source/tests/test_crypto.py:1389: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead. cert.sign(key, GOOD_DIGEST) tests/test_crypto.py::TestX509::test_sign_with_public_key /build/source/tests/test_crypto.py:1398: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestX509::test_sign_with_public_key /build/source/tests/test_crypto.py:1399: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_pubkey(key) tests/test_crypto.py::TestX509::test_sign_with_public_key /build/source/tests/test_crypto.py:1402: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead. cert.sign(pub, GOOD_DIGEST) tests/test_crypto.py::TestX509::test_sign_with_unknown_digest /build/source/tests/test_crypto.py:1411: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestX509::test_sign_with_unknown_digest /build/source/tests/test_crypto.py:1413: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead. cert.sign(key, BAD_DIGEST) tests/test_crypto.py::TestX509::test_sign /build/source/tests/test_crypto.py:1422: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestX509::test_sign /build/source/tests/test_crypto.py:1423: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_pubkey(key) tests/test_crypto.py::TestX509::test_sign /build/source/tests/test_crypto.py:1424: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notBefore(0) tests/test_crypto.py::TestX509::test_sign /build/source/tests/test_crypto.py:1425: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notAfter(24 * 60 * 60) tests/test_crypto.py::TestX509::test_sign /build/source/tests/test_crypto.py:1426: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead. cert.sign(key, GOOD_DIGEST) tests/test_crypto.py::TestX509::test_set_version_wrong_args /build/source/tests/test_crypto.py:1444: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_version(None) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_version /build/source/tests/test_crypto.py:1452: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_version(2) tests/test_crypto.py::TestX509::test_serial_number /build/source/tests/test_crypto.py:1463: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead. certificate.set_serial_number("1") # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_serial_number /build/source/tests/test_crypto.py:1465: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead. certificate.set_serial_number(1) tests/test_crypto.py::TestX509::test_serial_number /build/source/tests/test_crypto.py:1467: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead. certificate.set_serial_number(2**32 + 1) tests/test_crypto.py::TestX509::test_serial_number /build/source/tests/test_crypto.py:1469: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead. certificate.set_serial_number(2**64 + 1) tests/test_crypto.py::TestX509::test_serial_number /build/source/tests/test_crypto.py:1471: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead. certificate.set_serial_number(2**128 + 1) tests/test_crypto.py::TestX509::test_set_notBefore tests/test_crypto.py::TestX509::test_set_notBefore tests/test_crypto.py::TestX509::test_set_notBefore tests/test_crypto.py::TestX509::test_set_notBefore /build/source/tests/test_crypto.py:1521: DeprecationWarning: X509.set_notBefore is deprecated. You should use cryptography's CertificateBuilder instead. lambda c: c.get_notBefore(), lambda c, v: c.set_notBefore(v) tests/test_crypto.py::TestX509::test_set_notAfter tests/test_crypto.py::TestX509::test_set_notAfter tests/test_crypto.py::TestX509::test_set_notAfter tests/test_crypto.py::TestX509::test_set_notAfter /build/source/tests/test_crypto.py:1531: DeprecationWarning: X509.set_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. lambda c: c.get_notAfter(), lambda c, v: c.set_notAfter(v) tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore_wrong_args /build/source/tests/test_crypto.py:1559: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notBefore(None) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore /build/source/tests/test_crypto.py:1571: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notBefore(100) tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter_wrong_args /build/source/tests/test_crypto.py:1588: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notAfter(None) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter /build/source/tests/test_crypto.py:1600: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notAfter(100) tests/test_crypto.py::TestX509::test_has_expired /build/source/tests/test_crypto.py:1614: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notAfter(-1) tests/test_crypto.py::TestX509::test_has_not_expired /build/source/tests/test_crypto.py:1623: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead. cert.gmtime_adj_notAfter(2) tests/test_crypto.py::TestX509::test_get_subject /build/source/tests/test_crypto.py:1728: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. subj = cert.get_subject() tests/test_crypto.py::TestX509::test_set_subject_wrong_args /build/source/tests/test_crypto.py:1745: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_subject(None) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_set_subject /build/source/tests/test_crypto.py:1753: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. name = cert.get_subject() tests/test_crypto.py::TestX509::test_set_subject /build/source/tests/test_crypto.py:1756: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_subject(name) tests/test_crypto.py::TestX509::test_set_subject /build/source/tests/test_crypto.py:1757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert cert.get_subject().get_components() == [ tests/test_crypto.py::TestX509::test_get_issuer /build/source/tests/test_crypto.py:1767: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead. subj = cert.get_issuer() tests/test_crypto.py::TestX509::test_set_issuer_wrong_args /build/source/tests/test_crypto.py:1785: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_issuer(None) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_set_issuer /build/source/tests/test_crypto.py:1793: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead. name = cert.get_issuer() tests/test_crypto.py::TestX509::test_set_issuer /build/source/tests/test_crypto.py:1796: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_issuer(name) tests/test_crypto.py::TestX509::test_set_issuer /build/source/tests/test_crypto.py:1797: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead. assert cert.get_issuer().get_components() == [ tests/test_crypto.py::TestX509::test_set_pubkey_wrong_type /build/source/tests/test_crypto.py:1818: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead. cert.set_pubkey(object()) # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_sign_bad_pubkey_type /build/source/tests/test_crypto.py:1875: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead. cert.sign(object(), b"sha256") # type: ignore[arg-type] tests/test_crypto.py::TestFunction::test_dump_privatekey_wrong_args /build/source/tests/test_crypto.py:2171: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestFunction::test_dump_privatekey_not_rsa_key /build/source/tests/test_crypto.py:2181: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_DSA, 512) tests/test_crypto.py::TestFunction::test_dump_privatekey_unknown_cipher /build/source/tests/test_crypto.py:2195: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_passphrase_type /build/source/tests/test_crypto.py:2205: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_filetype /build/source/tests/test_crypto.py:2215: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 2048) tests/test_crypto.py::TestFunction::test_dump_privatekey_pem /build/source/tests/test_crypto.py:2285: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead. assert key.check() tests/test_crypto.py::TestCRL::test_verify_with_missing_crl /build/source/tests/test_crypto.py:2548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert err.value.certificate.get_subject().CN == "intermediate-service" tests/test_crypto.py::TestX509StoreContext::test_untrusted_self_signed /build/source/tests/test_crypto.py:2757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert exc.value.certificate.get_subject().CN == "Testing Root CA" tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_root /build/source/tests/test_crypto.py:2772: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert exc.value.certificate.get_subject().CN == "intermediate" tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_intermediate /build/source/tests/test_crypto.py:2787: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert exc.value.certificate.get_subject().CN == "intermediate-service" tests/test_crypto.py::TestX509StoreContext::test_modification_pre_verify /build/source/tests/test_crypto.py:2805: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert exc.value.certificate.get_subject().CN == "intermediate" tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2842: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. intermediate_subject = self.intermediate_server_cert.get_subject() tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2843: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[0].get_subject() == intermediate_subject tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[1].get_subject() == self.intermediate_cert.get_subject() tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2845: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[2].get_subject() == self.root_cert.get_subject() tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2849: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[0].get_subject() == intermediate_subject tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2850: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[1].get_subject() == self.intermediate_cert.get_subject() tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain /build/source/tests/test_crypto.py:2851: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert chain[2].get_subject() == self.root_cert.get_subject() tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain_invalid_chain_no_root /build/source/tests/test_crypto.py:2865: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert exc.value.certificate.get_subject().CN == "intermediate" tests/test_crypto.py::TestEllipticCurve::test_set /build/source/tests/test_crypto.py:2966: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. assert isinstance(get_elliptic_curves(), set) tests/test_crypto.py::TestEllipticCurve::test_a_curve /build/source/tests/test_crypto.py:2973: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py::TestEllipticCurve::test_a_curve /build/source/tests/test_crypto.py:2975: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead. assert curve.name == get_elliptic_curve(curve.name).name tests/test_crypto.py::TestEllipticCurve::test_a_curve tests/test_crypto.py::TestEllipticCurve::test_not_a_curve /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/crypto.py:576: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. for curve in get_elliptic_curves(): tests/test_crypto.py::TestEllipticCurve::test_not_a_curve /build/source/tests/test_crypto.py:2983: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead. get_elliptic_curve("this curve was just invented") tests/test_crypto.py::TestEllipticCurve::test_repr /build/source/tests/test_crypto.py:2990: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY /build/source/tests/test_crypto.py:2999: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py: 12 warnings /build/source/tests/test_crypto.py:3016: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. return next(iter(get_elliptic_curves())) tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe /build/source/tests/test_crypto.py:3023: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. return list(get_elliptic_curves())[1] tests/test_crypto.py::TestEllipticCurveHash::test_contains /build/source/tests/test_crypto.py:3141: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curve = next(iter(get_elliptic_curves())) tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain /build/source/tests/test_crypto.py:3150: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. all_curves = list(get_elliptic_curves()) tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: str for cipher_list is no longer accepted, use bytes return f(self, *args, **kwargs) tests/test_ssl.py::TestContext::test_use_privatekey_file_bytes tests/test_ssl.py::TestContext::test_use_privatekey_file_unicode /build/source/tests/test_ssl.py:757: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 1024) tests/test_ssl.py: 117 warnings /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. return f(self, *args, **kwargs) tests/test_ssl.py: 126 warnings /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. return f(self, *args, **kwargs) tests/test_ssl.py::TestContext::test_set_passwd_cb_wrong_args /build/source/tests/test_ssl.py:997: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(None) # type: ignore[arg-type] tests/test_ssl.py::TestContext::test_set_passwd_cb tests/test_ssl.py::TestContext::test_passwd_callback_exception tests/test_ssl.py::TestContext::test_passwd_callback_false tests/test_ssl.py::TestContext::test_passwd_callback_non_string tests/test_ssl.py::TestContext::test_passwd_callback_too_long /build/source/tests/test_ssl.py:984: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 1024) tests/test_ssl.py::TestContext::test_set_passwd_cb /build/source/tests/test_ssl.py:1015: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(passphraseCallback) tests/test_ssl.py::TestContext::test_passwd_callback_exception /build/source/tests/test_ssl.py:1035: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(passphraseCallback) tests/test_ssl.py::TestContext::test_passwd_callback_false /build/source/tests/test_ssl.py:1052: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(passphraseCallback) tests/test_ssl.py::TestContext::test_passwd_callback_non_string /build/source/tests/test_ssl.py:1067: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(passphraseCallback) # type: ignore[arg-type] tests/test_ssl.py::TestContext::test_passwd_callback_too_long /build/source/tests/test_ssl.py:1088: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead. context.set_passwd_cb(passphraseCallback) tests/test_ssl.py::TestContext::test_load_verify_bytes_cafile tests/test_ssl.py::TestContext::test_load_verify_unicode_cafile tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-ascii_path] tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-unicode_path] tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-ascii_path] tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-unicode_path] /build/source/tests/test_ssl.py:1227: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert cert.get_subject().CN == "Testing Root CA" tests/test_ssl.py::TestContext::test_x509_in_verify_works tests/test_ssl.py::TestContext::test_x509_in_verify_works /build/source/tests/test_ssl.py:1545: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert cert.get_subject() tests/test_ssl.py::TestContext::test_set_tmp_ecdh /build/source/tests/test_ssl.py:1868: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. for curve in get_elliptic_curves(): tests/test_ssl.py::TestContextConnection::test_use_privatekey[context] tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] /build/source/tests/test_ssl.py:2437: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 1024) tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] /build/source/tests/test_ssl.py:2439: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx_or_conn.use_privatekey(key) tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[context] tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] /build/source/tests/test_ssl.py:2455: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead. key.generate_key(TYPE_RSA, 1024) tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] /build/source/tests/test_ssl.py:2456: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate( tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] /build/source/tests/test_ssl.py:2460: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx_or_conn.use_privatekey(key) tests/test_ssl.py::TestContextConnection::test_use_certificate[connection] /build/source/tests/test_ssl.py:2471: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate( tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection] /build/source/tests/test_ssl.py:2497: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate(X509()) tests/test_ssl.py::TestConnection::test_get_certificate /build/source/tests/test_ssl.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Server Certificate" == cert.get_subject().CN tests/test_ssl.py::TestConnection::test_get_peer_cert_chain /build/source/tests/test_ssl.py:2890: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Server Certificate" == chain[0].get_subject().CN tests/test_ssl.py::TestConnection::test_get_peer_cert_chain /build/source/tests/test_ssl.py:2891: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Intermediate Certificate" == chain[1].get_subject().CN tests/test_ssl.py::TestConnection::test_get_peer_cert_chain /build/source/tests/test_ssl.py:2892: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Authority Certificate" == chain[2].get_subject().CN tests/test_ssl.py::TestConnection::test_get_verified_chain /build/source/tests/test_ssl.py:2956: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Server Certificate" == chain[0].get_subject().CN tests/test_ssl.py::TestConnection::test_get_verified_chain /build/source/tests/test_ssl.py:2957: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Intermediate Certificate" == chain[1].get_subject().CN tests/test_ssl.py::TestConnection::test_get_verified_chain /build/source/tests/test_ssl.py:2958: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. assert "Authority Certificate" == chain[2].get_subject().CN tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors /build/source/tests/test_ssl.py:4442: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list("spam") # type: ignore[arg-type] tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors /build/source/tests/test_ssl.py:4444: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list(["spam"]) # type: ignore[list-item] tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list /build/source/tests/test_ssl.py:4455: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([]) tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list /build/source/tests/test_ssl.py:4469: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list /build/source/tests/test_ssl.py:4472: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([cadesc]) tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography /build/source/tests/test_ssl.py:4486: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. server_ctx.set_client_ca_list([cacert.get_subject()]) tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography /build/source/tests/test_ssl.py:4486: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. server_ctx.set_client_ca_list([cacert.get_subject()]) tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list /build/source/tests/test_ssl.py:4508: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list /build/source/tests/test_ssl.py:4509: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cldesc = clcert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list /build/source/tests/test_ssl.py:4513: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list(L) tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list /build/source/tests/test_ssl.py:4528: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list /build/source/tests/test_ssl.py:4529: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list /build/source/tests/test_ssl.py:4530: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cldesc = clcert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list /build/source/tests/test_ssl.py:4533: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([sedesc, cldesc]) tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list /build/source/tests/test_ssl.py:4534: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([cadesc]) tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list /build/source/tests/test_ssl.py:4548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list /build/source/tests/test_ssl.py:4549: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list /build/source/tests/test_ssl.py:4553: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([cadesc]) tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca /build/source/tests/test_ssl.py:4574: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca /build/source/tests/test_ssl.py:4590: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca /build/source/tests/test_ssl.py:4591: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca /build/source/tests/test_ssl.py:4610: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca /build/source/tests/test_ssl.py:4611: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca /build/source/tests/test_ssl.py:4612: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cldesc = clcert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca /build/source/tests/test_ssl.py:4615: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([cadesc, sedesc]) tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca /build/source/tests/test_ssl.py:4631: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. cadesc = cacert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca /build/source/tests/test_ssl.py:4632: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead. sedesc = secert.get_subject() tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca /build/source/tests/test_ssl.py:4636: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated. ctx.set_client_ca_list([cadesc]) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =============== 424 passed, 8 deselected, 455 warnings in 5.74s ================ Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase