py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> openssl version OpenSSL 1.0.2u 20 Dec 2019 py$(PYV): commands[1]> python -m coverage run --parallel -m OpenSSL.debug pyOpenSSL: 24.3.0 cryptography: 43.0.3 cffi: 1.17.1 cryptography's compiled against OpenSSL: OpenSSL 3.1.7 3 Sep 2024 cryptography's linked OpenSSL: OpenSSL 3.4.0 22 Oct 2024 Python's OpenSSL: OpenSSL 1.1.1x 25 Jan 2024 Python executable: $(@D)/.tox/py$(PYV)/bin/python Python version: 3.9.20 (main, Sep 8 2024, 11:56:02) [GCC 13.3.0] Platform: sunos5 sys.path: ['$(@D)', '$(PROTO_DIR)$(PYTHON_DIR)/vendor-packages', '/usr/lib/python39.zip', '$(PYTHON_DIR)', '$(PYTHON_DIR)/lib-dynload', '$(PYTHON_DIR)/site-packages', '$(PYTHON_DIR)/vendor-packages'] py$(PYV): commands[2]> python -m coverage run --parallel -m pytest -v ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache OpenSSL: b'OpenSSL 3.4.0 22 Oct 2024' cryptography: 43.0.3 rootdir: $(@D) configfile: pyproject.toml testpaths: tests collecting ... collected 472 items tests/test_crypto.py::TestX509Ext::test_str PASSED tests/test_crypto.py::TestX509Ext::test_type PASSED tests/test_crypto.py::TestX509Ext::test_construction PASSED tests/test_crypto.py::TestX509Ext::test_invalid_extension[thisIsMadeUp-False-hi] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_extension[basicConstraints-False-blah blah] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_extension[proxyCertInfo-True-language:id-ppl-anyLanguage,pathlen:1,policy:text:AB] PASSED tests/test_crypto.py::TestX509Ext::test_get_critical[True] PASSED tests/test_crypto.py::TestX509Ext::test_get_critical[False] PASSED tests/test_crypto.py::TestX509Ext::test_get_short_name[basicConstraints-CA:true] PASSED tests/test_crypto.py::TestX509Ext::test_get_short_name[nsComment-foo bar] PASSED tests/test_crypto.py::TestX509Ext::test_get_data PASSED tests/test_crypto.py::TestX509Ext::test_unused_subject PASSED tests/test_crypto.py::TestX509Ext::test_subject PASSED tests/test_crypto.py::TestX509Ext::test_missing_subject PASSED tests/test_crypto.py::TestX509Ext::test_invalid_subject[True] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj1] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_subject[hello] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj3] PASSED tests/test_crypto.py::TestX509Ext::test_unused_issuer PASSED tests/test_crypto.py::TestX509Ext::test_issuer PASSED tests/test_crypto.py::TestX509Ext::test_missing_issuer PASSED tests/test_crypto.py::TestX509Ext::test_invalid_issuer[True] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj1] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_issuer[hello] PASSED tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj3] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_private_key[-----BEGIN PRIVATE KEY-----\nMIICZAIBADCCAjkGByqGSM44BAEwggIsAoIBAQD7UzdlshSCIIuntch43VmfCX1+\nWQDTvGw83sRZcN+B7nwFn4dm2PU8cby17oCjX7buBvalVqofnUokrSIDA6Rozm/f\n2wpGR9oVpd0xh9cI50pw1G3RZ4lcNWTP8C8O20eIzJoCH1KElcWLCHLAa3XoGOMv\np4XnbVgMdc9/ydt4qttzIVPV4cZoVObzixoKCgwHyVPDxe0JaCe2cIwxyQY0IwAI\nPfaUWEAo+bf7pOosdnatJYm9MkKe8bEgKGQcUl9S8FXLhRejMo+oobcRjuBHTAmY\nfuV1iGlLrkFNrc2O6M1CRZhOoddoy53IeHcSjfzKET1biE3tCOUdHjUnABqfAiEA\n1llvauVKMLvFCDatVKRY+zNGJaa5dwff4qDtodz6sa8CggEAd+btod0di21mqFaf\nvc1ddmLK74PddMseT8DmoN/YduJaGLAOOVJ61rdG+KPXIar+8X5yqXfzP0MiYGkE\nA+xpNIImC3rzHElYNa8imA7ud8f+oC5jQijp0GhzVIS4UW83rZwakX7LITNE9Oj9\nFkETH1ZskHpp5BNlNoaSIW2+T7n/a+lq+tN60gP3f6FPBv5obB0pjqh+OAzEil/4\nYs0dtCB0022cCUCqThMhWewlE2W2JioDLV5QkD91NMQNQwljDONNcs94AaWeVONK\nRaBQXlFsJPHzS8uKpsFeusFTrHIeEJW/8GQp/tfXP1ajEdg5EGxOhXFkem4ZMIus\nYFTbWwQiAiBFtgi8aNV0Jz2o8T+cxjVqVEgGdYNQqmpzqqBsM5AEOw==\n-----END PRIVATE KEY-----\n-DSAPrivateKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_private_key[-----BEGIN PRIVATE KEY-----\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgYirTZSx+5O8Y6tlG\ncka6W6btJiocdrdolfcukSoTEk+hRANCAAQkvPNu7Pa1GcsWU4v7ptNfqCJVq8Cx\nzo0MUVPQgwJ3aJtNM1QMOQUayCrRwfklg+D/rFSUwEUqtZh7fJDiFqz3\n-----END PRIVATE KEY-----\n-EllipticCurvePrivateKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_private_key[-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIKlxBbhVsSURoLTmsu9uTqYH6oF7zpxmp1ZQCAPhDmI2\n-----END PRIVATE KEY-----\n-Ed25519PrivateKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_private_key[-----BEGIN PRIVATE KEY-----\nMEcCAQAwBQYDK2VxBDsEOcqZ7a3k6JwrJbYO8CNTPT/d7dlWCo5vCf0EYDj79ZvA\nhD8u9EPHlYJw5Y8ZQdH4WmVEfpKA23xkdQ==\n-----END PRIVATE KEY-----\n-Ed448PrivateKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_private_key[-----BEGIN PRIVATE KEY-----\nMIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQDZ5FaSaXKn/RTF\nxyNr+GRvYnMvLz5XxSDD4JzVRKXxKGFzKKXMJAeXJkvPlho7Ta/HgMNXhMPAe8TT\nwcIRnHJqAfmSOnka1ks3Kl6EGQBTevKzyJy8MaUhzZsL4FUUgWUETFQQT8Dwcghf\nJobV0k+bWT4mrKHzIquw5y+NTsaZl4jSB1labhImsU16Vj66fHp7w9+c501tOxQO\nM4CQNWioGm8tgPT/43QUs9e+L2HFBI+cDQbEC68l+7VM8YY8NZ/fGypoML2QMVnU\nY6zneoOLJTMUulOubrL+J6DkuuhxBsIOcyxMnqwgKm4pUGlPxfPSS7+Mo3JC969k\nwgUHerXZAgMBAAECgf9qAzz/VMCQwnV1UxkhxH/8zgYgYL+fERFuPC/ZWv7wOicv\nxAjm9KC8zVb44fLE586CCc7IN+zNK9y0gB9eAGr/04RhEvWgbmoqF6wdtdNyynuE\nUt4oQKn7AUc1uPAeCfM4slw0Pie98YSS/9ZhwH/eh3C10iwWA1aiLWeDrnryPuJN\nmNB0d/ZsaL+arhR/nU2sJixx5LDI6AG0GJrw3DBHEKb4vZPIUM3wZNs7qnuG5W17\nJbZDQYnkApByZu2UMWI2YUkpJC246mFPWSWMa6sAl7sTWTkUIR21lJiqyTGG3ljY\nC2QjHoHrrzs+pwtlLBa1a4FgbaJmnL+VzWD/FQECgYEA8r3Y2oGcY5cQPb00TE0t\nekXAXiHz9sX76nzE6BMZ8cwP/cVoWtIABpdaimKUoFML8CdjOi9Ti9OoNVGWm4Pk\nfT/GOUdysXWIw2Z/VOLM47nDwJb3fWwxsxph+x3gWJG/Vct/1NxmCCEendM63dy7\n/uR8RgX+0nxvn6Y6auQfpnkCgYEA5csHboa14Favx8aHTlITWOm46ugzdbARdfWz\n13Ewb7m4mm/3gKtA/m+yGdQFwmtBVkmwtdCeDj0aKH3Sfvg9WCQK1x/dUkPMr//r\noGUGeJU9r3ZKVJTeSJ0lKX4h3u3+1TdpnAgtuWGI4AK9fEdulfHKArxyIdbsdwRr\nljaBMmECgYATpEcCz1APQu7+f+vWbLxMU46QT2EFS9npjHUGbl1AEooMt8eM6cc0\nwVSDNBzgqDekFBvUXnX9L4BB6DsulEqN0/Y/NkfSkjch0I5nGP8JQkPTtqOKE5Il\n8vGQt0crA4ge8huC5t6es8ddb/UodK8FnglsRRnsgEMsAPBjK9hfyQKBgDHD23Mr\nR14zR9Q7AXiLu9bonvx4lxRosg9ay7zfrX60uO7xSqeZ7vRrWiXPzgOB2N+IC/YE\nHQa2YuDcBucqeZaKD7LxGqxDNKP1B6Fv34vjvj0uoABbURxms/Kdd1ZhMmwYmQ2K\nk+Ru5AancUPl8GQWvgoDp6/+bK2Fzor0eNxhAoGBANcJ6mGvgw3px/H2MPBjRBsf\ntUbZ39UH3c4siLa2Rry/Pm0Fgly8CUmu1IcFQDITKbyhaGPuHGtXglBOZqXid0VL\n01ReWISyKwWyuRjUuscdq2m684hXHYZCq2eJroqon1nMq4C0aqr696ra0cgCfbK3\n5yscAByxKd+64JZziDkZ\n-----END PRIVATE KEY-----\n-RSAPrivateKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_public_key[-----BEGIN PUBLIC KEY-----\nMIIDRjCCAjkGByqGSM44BAEwggIsAoIBAQD7UzdlshSCIIuntch43VmfCX1+WQDT\nvGw83sRZcN+B7nwFn4dm2PU8cby17oCjX7buBvalVqofnUokrSIDA6Rozm/f2wpG\nR9oVpd0xh9cI50pw1G3RZ4lcNWTP8C8O20eIzJoCH1KElcWLCHLAa3XoGOMvp4Xn\nbVgMdc9/ydt4qttzIVPV4cZoVObzixoKCgwHyVPDxe0JaCe2cIwxyQY0IwAIPfaU\nWEAo+bf7pOosdnatJYm9MkKe8bEgKGQcUl9S8FXLhRejMo+oobcRjuBHTAmYfuV1\niGlLrkFNrc2O6M1CRZhOoddoy53IeHcSjfzKET1biE3tCOUdHjUnABqfAiEA1llv\nauVKMLvFCDatVKRY+zNGJaa5dwff4qDtodz6sa8CggEAd+btod0di21mqFafvc1d\ndmLK74PddMseT8DmoN/YduJaGLAOOVJ61rdG+KPXIar+8X5yqXfzP0MiYGkEA+xp\nNIImC3rzHElYNa8imA7ud8f+oC5jQijp0GhzVIS4UW83rZwakX7LITNE9Oj9FkET\nH1ZskHpp5BNlNoaSIW2+T7n/a+lq+tN60gP3f6FPBv5obB0pjqh+OAzEil/4Ys0d\ntCB0022cCUCqThMhWewlE2W2JioDLV5QkD91NMQNQwljDONNcs94AaWeVONKRaBQ\nXlFsJPHzS8uKpsFeusFTrHIeEJW/8GQp/tfXP1ajEdg5EGxOhXFkem4ZMIusYFTb\nWwOCAQUAAoIBAEe6z5ud1k4EDD9mLP7UYALWrgc1NXUlDynoYkjr+T/NVf1eaMdq\n0vFbGcEmz05UPUNXOhDH0szUDxQam3IE9C27ZO4SOquc0/rIhPY6i75SJW13P+cg\ngdXhDMTW5JOlyV6CPUoCWKOtn1ds3pTDuuWlZ89UzOWQUbC1si6vvz43zDyhfu6U\nowgIusPxowErm2sH66+MPa8fYxVX7ZJL0mEfubejrloAbo5unYI/bUYIhx4mtpP/\nh/isFRifEAwG3yX6F9X/ZOYL53Z93EFPLJGRGMmQbkmXRA6lyvHdsC+OC/OCvPjW\nWfTXW9NHtUqpEks+OXBkyV971Hk5NvdLLr8=\n-----END PUBLIC KEY-----\n-DSAPublicKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_public_key[-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJLzzbuz2tRnLFlOL+6bTX6giVavA\nsc6NDFFT0IMCd2ibTTNUDDkFGsgq0cH5JYPg/6xUlMBFKrWYe3yQ4has9w==\n-----END PUBLIC KEY-----\n-EllipticCurvePublicKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_public_key[-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAq+FrpdwI1oTPytx8kGzuLVc+78zJE7hjYG4E9hwXoKI=\n-----END PUBLIC KEY-----\n-Ed25519PublicKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_public_key[-----BEGIN PUBLIC KEY-----\nMEMwBQYDK2VxAzoAKFfWGCuqIaxgR9GmEXLRciYDyEjTnF56kr0sOVfwHEj+bHSU\neMJTZJR8qFSg8hNsHY1iZh9PIXcA\n-----END PUBLIC KEY-----\n-Ed448PublicKey] PASSED tests/test_crypto.py::TestPKey::test_convert_roundtrip_cryptography_public_key[-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2eRWkmlyp/0Uxccja/hk\nb2JzLy8+V8Ugw+Cc1USl8ShhcyilzCQHlyZLz5YaO02vx4DDV4TDwHvE08HCEZxy\nagH5kjp5GtZLNypehBkAU3rys8icvDGlIc2bC+BVFIFlBExUEE/A8HIIXyaG1dJP\nm1k+Jqyh8yKrsOcvjU7GmZeI0gdZWm4SJrFNelY+unx6e8PfnOdNbTsUDjOAkDVo\nqBpvLYD0/+N0FLPXvi9hxQSPnA0GxAuvJfu1TPGGPDWf3xsqaDC9kDFZ1GOs53qD\niyUzFLpTrm6y/ieg5LrocQbCDnMsTJ6sICpuKVBpT8Xz0ku/jKNyQvevZMIFB3q1\n2QIDAQAB\n-----END PUBLIC KEY-----\n-RSAPublicKey] PASSED tests/test_crypto.py::TestPKey::test_convert_from_cryptography_public_key PASSED tests/test_crypto.py::TestPKey::test_convert_from_cryptography_unsupported_type PASSED tests/test_crypto.py::TestPKey::test_convert_public_pkey_to_cryptography_key PASSED tests/test_crypto.py::TestPKey::test_type PASSED tests/test_crypto.py::TestPKey::test_construction PASSED tests/test_crypto.py::TestPKey::test_pregeneration PASSED tests/test_crypto.py::TestPKey::test_failed_generation PASSED tests/test_crypto.py::TestPKey::test_rsa_generation PASSED tests/test_crypto.py::TestPKey::test_dsa_generation PASSED tests/test_crypto.py::TestPKey::test_regeneration PASSED tests/test_crypto.py::TestPKey::test_inconsistent_key PASSED tests/test_crypto.py::TestPKey::test_check_public_key PASSED tests/test_crypto.py::TestPKey::test_check_pr_897 PASSED tests/test_crypto.py::TestX509Name::test_type PASSED tests/test_crypto.py::TestX509Name::test_only_string_attributes PASSED tests/test_crypto.py::TestX509Name::test_set_invalid_attribute PASSED tests/test_crypto.py::TestX509Name::test_attributes PASSED tests/test_crypto.py::TestX509Name::test_copy PASSED tests/test_crypto.py::TestX509Name::test_repr PASSED tests/test_crypto.py::TestX509Name::test_comparison PASSED tests/test_crypto.py::TestX509Name::test_hash PASSED tests/test_crypto.py::TestX509Name::test_der PASSED tests/test_crypto.py::TestX509Name::test_get_components PASSED tests/test_crypto.py::TestX509Name::test_load_nul_byte_attribute PASSED tests/test_crypto.py::TestX509Name::test_load_nul_byte_components PASSED tests/test_crypto.py::TestX509Name::test_set_attribute_failure PASSED tests/test_crypto.py::TestX509Req::test_sign_with_ungenerated PASSED tests/test_crypto.py::TestX509Req::test_sign_with_public_key PASSED tests/test_crypto.py::TestX509Req::test_sign_with_unknown_digest PASSED tests/test_crypto.py::TestX509Req::test_sign PASSED tests/test_crypto.py::TestX509Req::test_type PASSED tests/test_crypto.py::TestX509Req::test_construction PASSED tests/test_crypto.py::TestX509Req::test_version PASSED tests/test_crypto.py::TestX509Req::test_version_wrong_args PASSED tests/test_crypto.py::TestX509Req::test_get_subject PASSED tests/test_crypto.py::TestX509Req::test_add_extensions PASSED tests/test_crypto.py::TestX509Req::test_get_extensions PASSED tests/test_crypto.py::TestX509Req::test_undef_oid PASSED tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args PASSED tests/test_crypto.py::TestX509Req::test_verify_wrong_args PASSED tests/test_crypto.py::TestX509Req::test_verify_uninitialized_key PASSED tests/test_crypto.py::TestX509Req::test_verify_wrong_key PASSED tests/test_crypto.py::TestX509Req::test_verify_success PASSED tests/test_crypto.py::TestX509Req::test_convert_from_cryptography PASSED tests/test_crypto.py::TestX509Req::test_convert_from_cryptography_unsupported_type PASSED tests/test_crypto.py::TestX509Req::test_convert_to_cryptography_key PASSED tests/test_crypto.py::TestX509::test_sign_with_ungenerated PASSED tests/test_crypto.py::TestX509::test_sign_with_public_key PASSED tests/test_crypto.py::TestX509::test_sign_with_unknown_digest PASSED tests/test_crypto.py::TestX509::test_sign PASSED tests/test_crypto.py::TestX509::test_type PASSED tests/test_crypto.py::TestX509::test_construction PASSED tests/test_crypto.py::TestX509::test_set_version_wrong_args PASSED tests/test_crypto.py::TestX509::test_version PASSED tests/test_crypto.py::TestX509::test_serial_number PASSED tests/test_crypto.py::TestX509::test_set_notBefore PASSED tests/test_crypto.py::TestX509::test_set_notAfter PASSED tests/test_crypto.py::TestX509::test_get_notBefore PASSED tests/test_crypto.py::TestX509::test_get_notAfter PASSED tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore_wrong_args PASSED tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore PASSED tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter_wrong_args PASSED tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter PASSED tests/test_crypto.py::TestX509::test_has_expired PASSED tests/test_crypto.py::TestX509::test_has_not_expired PASSED tests/test_crypto.py::TestX509::test_has_expired_exception PASSED tests/test_crypto.py::TestX509::test_root_has_not_expired PASSED tests/test_crypto.py::TestX509::test_digest PASSED tests/test_crypto.py::TestX509::test_extension_count PASSED tests/test_crypto.py::TestX509::test_get_extension PASSED tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName PASSED tests/test_crypto.py::TestX509::test_invalid_digest_algorithm PASSED tests/test_crypto.py::TestX509::test_get_subject PASSED tests/test_crypto.py::TestX509::test_set_subject_wrong_args PASSED tests/test_crypto.py::TestX509::test_set_subject PASSED tests/test_crypto.py::TestX509::test_get_issuer PASSED tests/test_crypto.py::TestX509::test_set_issuer_wrong_args PASSED tests/test_crypto.py::TestX509::test_set_issuer PASSED tests/test_crypto.py::TestX509::test_get_pubkey_uninitialized PASSED tests/test_crypto.py::TestX509::test_set_pubkey_wrong_type PASSED tests/test_crypto.py::TestX509::test_subject_name_hash PASSED tests/test_crypto.py::TestX509::test_get_signature_algorithm PASSED tests/test_crypto.py::TestX509::test_get_undefined_signature_algorithm PASSED tests/test_crypto.py::TestX509::test_sign_bad_pubkey_type PASSED tests/test_crypto.py::TestX509::test_convert_from_cryptography PASSED tests/test_crypto.py::TestX509::test_convert_from_cryptography_unsupported_type PASSED tests/test_crypto.py::TestX509::test_convert_to_cryptography_key PASSED tests/test_crypto.py::TestX509Store::test_type PASSED tests/test_crypto.py::TestX509Store::test_add_cert PASSED tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[None] PASSED tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[1.0] PASSED tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[cert] PASSED tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[cert3] PASSED tests/test_crypto.py::TestX509Store::test_add_cert_accepts_duplicate PASSED tests/test_crypto.py::TestX509Store::test_load_locations_parameters[/cafile\u2603-None-/cafile\xe2\x98\x83-] PASSED tests/test_crypto.py::TestX509Store::test_load_locations_parameters[/cafile\xe2\x98\x83-None-/cafile\xe2\x98\x83-] PASSED tests/test_crypto.py::TestX509Store::test_load_locations_parameters[None-/capath\u2603--/capath\xe2\x98\x83] PASSED tests/test_crypto.py::TestX509Store::test_load_locations_parameters[None-/capath\xe2\x98\x83--/capath\xe2\x98\x83] PASSED tests/test_crypto.py::TestX509Store::test_load_locations_fails_when_all_args_are_none PASSED tests/test_crypto.py::TestX509Store::test_load_locations_raises_error_on_failure PASSED tests/test_crypto.py::TestLoadPublicKey::test_loading_works PASSED tests/test_crypto.py::TestLoadPublicKey::test_invalid_type PASSED tests/test_crypto.py::TestLoadPublicKey::test_invalid_key_format PASSED tests/test_crypto.py::TestLoadPublicKey::test_tolerates_unicode_strings PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_invalid_format PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_invalid_passphrase_type PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_wrongPassphrase PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphraseWrongType PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_exception PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_wrongPassphraseCallback PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphraseCallback PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_wrong_return_type PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_wrong_args PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_not_rsa_key PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_pkey PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_unknown_cipher PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_passphrase_type PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_filetype PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_callback_length PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_wrong_type PASSED tests/test_crypto.py::TestFunction::test_dump_certificate PASSED tests/test_crypto.py::TestFunction::test_dump_certificate_bad_type PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_pem PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_asn1 PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_asn1 PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_text PASSED tests/test_crypto.py::TestFunction::test_dump_publickey_pem PASSED tests/test_crypto.py::TestFunction::test_dump_publickey_asn1 PASSED tests/test_crypto.py::TestFunction::test_dump_publickey_invalid_type PASSED tests/test_crypto.py::TestFunction::test_dump_certificate_request PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_callback PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_exception PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_passphraseCallbackLength PASSED tests/test_crypto.py::TestFunction::test_dump_privatekey_truncated PASSED tests/test_crypto.py::TestFunction::test_load_privatekey_truncated PASSED tests/test_crypto.py::TestLoadCertificate::test_bad_file_type PASSED tests/test_crypto.py::TestLoadCertificate::test_bad_certificate PASSED tests/test_crypto.py::TestCRL::test_verify_with_revoked PASSED tests/test_crypto.py::TestCRL::test_verify_with_missing_crl PASSED tests/test_crypto.py::TestX509StoreContext::test_valid PASSED tests/test_crypto.py::TestX509StoreContext::test_reuse PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[intermediate in chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[empty chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[extra certs in chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_valid_untrusted_chain_reuse PASSED tests/test_crypto.py::TestX509StoreContext::test_chain_reference PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[intermediate missing] PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[no trusted root] PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[untrusted root, full chain is available] PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[untrusted root, intermediate is trusted and in chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_untrusted_chain_wrong_args[non-certificate in chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_untrusted_chain_wrong_args[non-list chain] PASSED tests/test_crypto.py::TestX509StoreContext::test_failure_building_untrusted_chain_raises PASSED tests/test_crypto.py::TestX509StoreContext::test_trusted_self_signed PASSED tests/test_crypto.py::TestX509StoreContext::test_untrusted_self_signed PASSED tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_root PASSED tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_intermediate PASSED tests/test_crypto.py::TestX509StoreContext::test_modification_pre_verify PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_time PASSED tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain PASSED tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain_invalid_chain_no_root PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_ca_file_location PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_ca_path_location PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_cafile_and_capath PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_multiple_ca_files PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_failure_with_empty_ca_directory PASSED tests/test_crypto.py::TestX509StoreContext::test_verify_with_partial_chain PASSED tests/test_crypto.py::TestEllipticCurve::test_set PASSED tests/test_crypto.py::TestEllipticCurve::test_a_curve PASSED tests/test_crypto.py::TestEllipticCurve::test_not_a_curve PASSED tests/test_crypto.py::TestEllipticCurve::test_repr PASSED tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_identicalEq <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_identicalNe <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_sameEq <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_sameNe <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_anotherTypeEq <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_anotherTypeNe <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_delegatedEq <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveEquality::test_delegateNe <- tests/util.py PASSED tests/test_crypto.py::TestEllipticCurveHash::test_contains PASSED tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain PASSED tests/test_debug.py::test_debug_info PASSED tests/test_rand.py::TestRand::test_add_wrong_args[args0] PASSED tests/test_rand.py::TestRand::test_add_wrong_args[args1] PASSED tests/test_rand.py::TestRand::test_add PASSED tests/test_rand.py::TestRand::test_status PASSED tests/test_ssl.py::TestVersion::test_OPENSSL_VERSION_NUMBER PASSED tests/test_ssl.py::TestVersion::test_SSLeay_version PASSED tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA0] PASSED tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] PASSED tests/test_ssl.py::TestContext::test_set_cipher_list_wrong_type PASSED tests/test_ssl.py::TestContext::test_set_cipher_list_no_cipher_match PASSED tests/test_ssl.py::TestContext::test_load_client_ca PASSED tests/test_ssl.py::TestContext::test_load_client_ca_invalid PASSED tests/test_ssl.py::TestContext::test_load_client_ca_unicode PASSED tests/test_ssl.py::TestContext::test_set_session_id PASSED tests/test_ssl.py::TestContext::test_set_session_id_fail PASSED tests/test_ssl.py::TestContext::test_set_session_id_unicode PASSED tests/test_ssl.py::TestContext::test_method PASSED tests/test_ssl.py::TestContext::test_type PASSED tests/test_ssl.py::TestContext::test_use_privatekey_file_missing PASSED tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[filetype0] PASSED tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[] PASSED tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[None] PASSED tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[1.0] PASSED tests/test_ssl.py::TestContext::test_use_privatekey_file_bytes PASSED tests/test_ssl.py::TestContext::test_use_privatekey_file_unicode PASSED tests/test_ssl.py::TestContext::test_use_certificate_file_wrong_args PASSED tests/test_ssl.py::TestContext::test_use_certificate_file_missing PASSED tests/test_ssl.py::TestContext::test_use_certificate_file_bytes PASSED tests/test_ssl.py::TestContext::test_use_certificate_file_unicode PASSED tests/test_ssl.py::TestContext::test_check_privatekey_valid PASSED tests/test_ssl.py::TestContext::test_check_privatekey_invalid PASSED tests/test_ssl.py::TestContext::test_app_data PASSED tests/test_ssl.py::TestContext::test_set_options_wrong_args PASSED tests/test_ssl.py::TestContext::test_set_options PASSED tests/test_ssl.py::TestContext::test_set_mode_wrong_args PASSED tests/test_ssl.py::TestContext::test_set_mode PASSED tests/test_ssl.py::TestContext::test_set_timeout_wrong_args PASSED tests/test_ssl.py::TestContext::test_timeout PASSED tests/test_ssl.py::TestContext::test_set_verify_depth_wrong_args PASSED tests/test_ssl.py::TestContext::test_verify_depth PASSED tests/test_ssl.py::TestContext::test_set_passwd_cb_wrong_args PASSED tests/test_ssl.py::TestContext::test_set_passwd_cb PASSED tests/test_ssl.py::TestContext::test_passwd_callback_exception PASSED tests/test_ssl.py::TestContext::test_passwd_callback_false PASSED tests/test_ssl.py::TestContext::test_passwd_callback_non_string PASSED tests/test_ssl.py::TestContext::test_passwd_callback_too_long PASSED tests/test_ssl.py::TestContext::test_set_info_callback PASSED tests/test_ssl.py::TestContext::test_set_keylog_callback PASSED tests/test_ssl.py::TestContext::test_set_proto_version PASSED tests/test_ssl.py::TestContext::test_load_verify_bytes_cafile PASSED tests/test_ssl.py::TestContext::test_load_verify_unicode_cafile PASSED tests/test_ssl.py::TestContext::test_load_verify_invalid_file PASSED tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-ascii_path] PASSED tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-unicode_path] PASSED tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-ascii_path] PASSED tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-unicode_path] PASSED tests/test_ssl.py::TestContext::test_load_verify_locations_wrong_args PASSED tests/test_ssl.py::TestContext::test_fallback_default_verify_paths SKIPPEDa/cryptography manylinux wheels) tests/test_ssl.py::TestContext::test_check_env_vars PASSED tests/test_ssl.py::TestContext::test_verify_no_fallback_if_env_vars_set PASSED tests/test_ssl.py::TestContext::test_set_default_verify_paths PASSED tests/test_ssl.py::TestContext::test_fallback_path_is_not_file_or_dir PASSED tests/test_ssl.py::TestContext::test_add_extra_chain_cert_invalid_cert PASSED tests/test_ssl.py::TestContext::test_set_verify_callback_connection_argument PASSED tests/test_ssl.py::TestContext::test_x509_in_verify_works PASSED tests/test_ssl.py::TestContext::test_set_verify_callback_exception PASSED tests/test_ssl.py::TestContext::test_set_verify_callback_reference PASSED tests/test_ssl.py::TestContext::test_set_verify_default_callback[1] PASSED tests/test_ssl.py::TestContext::test_set_verify_default_callback[0] PASSED tests/test_ssl.py::TestContext::test_add_extra_chain_cert PASSED tests/test_ssl.py::TestContext::test_use_certificate_chain_file_bytes PASSED tests/test_ssl.py::TestContext::test_use_certificate_chain_file_unicode PASSED tests/test_ssl.py::TestContext::test_use_certificate_chain_file_wrong_args PASSED tests/test_ssl.py::TestContext::test_use_certificate_chain_file_missing_file PASSED tests/test_ssl.py::TestContext::test_set_verify_mode PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[None] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[1.0] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[mode2] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[mode] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[1.0] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[mode] PASSED tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[callback2] PASSED tests/test_ssl.py::TestContext::test_load_tmp_dh_wrong_args PASSED tests/test_ssl.py::TestContext::test_load_tmp_dh_missing_file PASSED tests/test_ssl.py::TestContext::test_load_tmp_dh_bytes PASSED tests/test_ssl.py::TestContext::test_load_tmp_dh_unicode PASSED tests/test_ssl.py::TestContext::test_set_tmp_ecdh PASSED tests/test_ssl.py::TestContext::test_set_session_cache_mode_wrong_args PASSED tests/test_ssl.py::TestContext::test_session_cache_mode PASSED tests/test_ssl.py::TestContext::test_get_cert_store PASSED tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_not_bytes PASSED tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_invalid_profile PASSED tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_valid PASSED tests/test_ssl.py::TestServerNameCallback::test_old_callback_forgotten PASSED tests/test_ssl.py::TestServerNameCallback::test_no_servername PASSED tests/test_ssl.py::TestServerNameCallback::test_servername PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_success PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_call_failure PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_set_on_connection PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_server_fail PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server_overlap PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_select_cb_returns_invalid_value PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server PASSED tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_callback_exception PASSED tests/test_ssl.py::TestSession::test_construction PASSED tests/test_ssl.py::TestContextConnection::test_use_privatekey[context] PASSED tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] PASSED tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[context] PASSED tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate[context] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate[connection] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate_wrong_args[context] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate_wrong_args[connection] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[context] PASSED tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection] PASSED tests/test_ssl.py::TestConnection::test_type PASSED tests/test_ssl.py::TestConnection::test_wrong_args[bad_context0] PASSED tests/test_ssl.py::TestConnection::test_wrong_args[context] PASSED tests/test_ssl.py::TestConnection::test_wrong_args[None] PASSED tests/test_ssl.py::TestConnection::test_wrong_args[1] PASSED tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[bad_bio0] PASSED tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[None] PASSED tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[1] PASSED tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[bad_bio3] PASSED tests/test_ssl.py::TestConnection::test_bio_write PASSED tests/test_ssl.py::TestConnection::test_get_context PASSED tests/test_ssl.py::TestConnection::test_set_context_wrong_args PASSED tests/test_ssl.py::TestConnection::test_set_context PASSED tests/test_ssl.py::TestConnection::test_set_tlsext_host_name_wrong_args PASSED tests/test_ssl.py::TestConnection::test_pending PASSED tests/test_ssl.py::TestConnection::test_peek PASSED tests/test_ssl.py::TestConnection::test_connect_wrong_args PASSED tests/test_ssl.py::TestConnection::test_connect_refused PASSED tests/test_ssl.py::TestConnection::test_connect PASSED tests/test_ssl.py::TestConnection::test_connect_ex SKIPPED (usually fails: https://github.com/pyca/pyopenssl/issues/1192) tests/test_ssl.py::TestConnection::test_accept PASSED tests/test_ssl.py::TestConnection::test_shutdown_wrong_args PASSED tests/test_ssl.py::TestConnection::test_shutdown PASSED tests/test_ssl.py::TestConnection::test_shutdown_closed PASSED tests/test_ssl.py::TestConnection::test_shutdown_truncated PASSED tests/test_ssl.py::TestConnection::test_set_shutdown PASSED tests/test_ssl.py::TestConnection::test_state_string PASSED tests/test_ssl.py::TestConnection::test_app_data PASSED tests/test_ssl.py::TestConnection::test_makefile PASSED tests/test_ssl.py::TestConnection::test_get_certificate PASSED tests/test_ssl.py::TestConnection::test_get_certificate_none PASSED tests/test_ssl.py::TestConnection::test_get_peer_cert_chain PASSED tests/test_ssl.py::TestConnection::test_get_peer_cert_chain_none PASSED tests/test_ssl.py::TestConnection::test_get_verified_chain PASSED tests/test_ssl.py::TestConnection::test_get_verified_chain_none PASSED tests/test_ssl.py::TestConnection::test_get_verified_chain_unconnected PASSED tests/test_ssl.py::TestConnection::test_set_verify_overrides_context PASSED tests/test_ssl.py::TestConnection::test_set_verify_callback_reference PASSED tests/test_ssl.py::TestConnection::test_get_session_unconnected PASSED tests/test_ssl.py::TestConnection::test_server_get_session PASSED tests/test_ssl.py::TestConnection::test_client_get_session PASSED tests/test_ssl.py::TestConnection::test_set_session_wrong_args PASSED tests/test_ssl.py::TestConnection::test_client_set_session PASSED tests/test_ssl.py::TestConnection::test_set_session_wrong_method PASSED tests/test_ssl.py::TestConnection::test_wantWriteError PASSED tests/test_ssl.py::TestConnection::test_get_finished_before_connect PASSED tests/test_ssl.py::TestConnection::test_get_peer_finished_before_connect PASSED tests/test_ssl.py::TestConnection::test_get_finished PASSED tests/test_ssl.py::TestConnection::test_get_peer_finished PASSED tests/test_ssl.py::TestConnection::test_tls_finished_message_symmetry PASSED tests/test_ssl.py::TestConnection::test_get_cipher_name_before_connect PASSED tests/test_ssl.py::TestConnection::test_get_cipher_name PASSED tests/test_ssl.py::TestConnection::test_get_cipher_version_before_connect PASSED tests/test_ssl.py::TestConnection::test_get_cipher_version PASSED tests/test_ssl.py::TestConnection::test_get_cipher_bits_before_connect PASSED tests/test_ssl.py::TestConnection::test_get_cipher_bits PASSED tests/test_ssl.py::TestConnection::test_get_protocol_version_name PASSED tests/test_ssl.py::TestConnection::test_get_protocol_version PASSED tests/test_ssl.py::TestConnection::test_wantReadError PASSED tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[1.0] PASSED tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[None] PASSED tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[bufsize2] PASSED tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[bufsize] PASSED tests/test_ssl.py::TestConnection::test_buffer_size PASSED tests/test_ssl.py::TestConnectionGetCipherList::test_result PASSED tests/test_ssl.py::TestConnectionSend::test_wrong_args PASSED tests/test_ssl.py::TestConnectionSend::test_short_bytes PASSED tests/test_ssl.py::TestConnectionSend::test_text PASSED tests/test_ssl.py::TestConnectionSend::test_short_memoryview PASSED tests/test_ssl.py::TestConnectionSend::test_short_bytearray PASSED tests/test_ssl.py::TestConnectionSend::test_buf_too_large PASSED tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_no_length PASSED tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_respects_length PASSED tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_doesnt_overfill PASSED tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_really_doesnt_overfill PASSED tests/test_ssl.py::TestConnectionRecvInto::test_peek PASSED tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_no_length PASSED tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_respects_length PASSED tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_doesnt_overfill PASSED tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_really_doesnt_overfill PASSED tests/test_ssl.py::TestConnectionSendall::test_wrong_args PASSED tests/test_ssl.py::TestConnectionSendall::test_short PASSED tests/test_ssl.py::TestConnectionSendall::test_text PASSED tests/test_ssl.py::TestConnectionSendall::test_short_memoryview PASSED tests/test_ssl.py::TestConnectionSendall::test_long PASSED tests/test_ssl.py::TestConnectionSendall::test_closed PASSED tests/test_ssl.py::TestConnectionRenegotiate::test_total_renegotiations PASSED tests/test_ssl.py::TestConnectionRenegotiate::test_renegotiate PASSED tests/test_ssl.py::TestError::test_type PASSED tests/test_ssl.py::TestConstants::test_op_no_query_mtu PASSED tests/test_ssl.py::TestConstants::test_op_cookie_exchange PASSED tests/test_ssl.py::TestConstants::test_op_no_ticket PASSED tests/test_ssl.py::TestConstants::test_op_no_compression PASSED tests/test_ssl.py::TestConstants::test_sess_cache_off PASSED tests/test_ssl.py::TestConstants::test_sess_cache_client PASSED tests/test_ssl.py::TestConstants::test_sess_cache_server PASSED tests/test_ssl.py::TestConstants::test_sess_cache_both PASSED tests/test_ssl.py::TestConstants::test_sess_cache_no_auto_clear PASSED tests/test_ssl.py::TestConstants::test_sess_cache_no_internal_lookup PASSED tests/test_ssl.py::TestConstants::test_sess_cache_no_internal_store PASSED tests/test_ssl.py::TestConstants::test_sess_cache_no_internal PASSED tests/test_ssl.py::TestMemoryBIO::test_memory_connect PASSED tests/test_ssl.py::TestMemoryBIO::test_socket_connect PASSED tests/test_ssl.py::TestMemoryBIO::test_socket_overrides_memory PASSED tests/test_ssl.py::TestMemoryBIO::test_outgoing_overflow PASSED tests/test_ssl.py::TestMemoryBIO::test_shutdown PASSED tests/test_ssl.py::TestMemoryBIO::test_unexpected_EOF PASSED tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors PASSED tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list PASSED tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list PASSED tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list PASSED tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list PASSED tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list PASSED tests/test_ssl.py::TestMemoryBIO::test_add_client_ca_wrong_args PASSED tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca PASSED tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca PASSED tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca PASSED tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca PASSED tests/test_ssl.py::TestInfoConstants::test_integers PASSED tests/test_ssl.py::TestRequires::test_available PASSED tests/test_ssl.py::TestRequires::test_unavailable PASSED tests/test_ssl.py::TestOCSP::test_callbacks_arent_called_by_default PASSED tests/test_ssl.py::TestOCSP::test_client_negotiates_without_server PASSED tests/test_ssl.py::TestOCSP::test_client_receives_servers_data PASSED tests/test_ssl.py::TestOCSP::test_callbacks_are_invoked_with_connections PASSED tests/test_ssl.py::TestOCSP::test_opaque_data_is_passed_through PASSED tests/test_ssl.py::TestOCSP::test_server_returns_empty_string PASSED tests/test_ssl.py::TestOCSP::test_client_returns_false_terminates_handshake PASSED tests/test_ssl.py::TestOCSP::test_exceptions_in_client_bubble_up PASSED tests/test_ssl.py::TestOCSP::test_exceptions_in_server_bubble_up PASSED tests/test_ssl.py::TestOCSP::test_server_must_return_bytes PASSED tests/test_ssl.py::TestDTLS::test_it_works_at_all PASSED tests/test_ssl.py::TestDTLS::test_it_works_with_srtp PASSED tests/test_ssl.py::TestDTLS::test_timeout PASSED tests/test_util.py::TestErrors::test_exception_from_error_queue_nonexistent_reason PASSED =============================== warnings summary =============================== tests/test_crypto.py:26 tests/test_crypto.py:26 tests/test_crypto.py:26 $(@D)/tests/test_crypto.py:26: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import ( tests/test_crypto.py:26 $(@D)/tests/test_crypto.py:26: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead. from OpenSSL.crypto import ( tests/test_crypto.py:26 $(@D)/tests/test_crypto.py:26: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. from OpenSSL.crypto import ( ../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/assertion/rewrite.py:184 $(PYTHON_DIR)/vendor-packages/_pytest/assertion/rewrite.py:184: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead exec(co, module.__dict__) tests/test_ssl.py:47 $(@D)/tests/test_ssl.py:47: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. from OpenSSL.crypto import ( tests/test_crypto.py::TestX509Ext::test_unused_subject $(@D)/tests/test_crypto.py:981: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext1]) tests/test_crypto.py::TestX509Ext::test_subject $(@D)/tests/test_crypto.py:997: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext3]) tests/test_crypto.py::TestX509Ext::test_unused_issuer $(@D)/tests/test_crypto.py:1030: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext1]) tests/test_crypto.py::TestX509Ext::test_issuer $(@D)/tests/test_crypto.py:1045: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext2]) tests/test_crypto.py::TestX509Req::test_add_extensions $(@D)/tests/test_crypto.py:1719: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions( tests/test_crypto.py::TestX509Req::test_add_extensions $(@D)/tests/test_crypto.py:1722: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_get_extensions $(@D)/tests/test_crypto.py:1734: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_get_extensions $(@D)/tests/test_crypto.py:1736: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions( tests/test_crypto.py::TestX509Req::test_get_extensions $(@D)/tests/test_crypto.py:1742: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_get_extensions $(@D)/tests/test_crypto.py:1751: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args $(@D)/tests/test_crypto.py:1770: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions(object()) tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args $(@D)/tests/test_crypto.py:1772: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions([object()]) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2160: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(0) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2165: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(1) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2170: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(2) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2176: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension(-1) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2178: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension(4) tests/test_crypto.py::TestX509::test_get_extension $(@D)/tests/test_crypto.py:2180: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension("hello") tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName $(@D)/tests/test_crypto.py:2190: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(3) tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] $(@D)/tests/test_ssl.py:515: DeprecationWarning: str for cipher_list is no longer accepted, use bytes context.set_cipher_list(cipher_string) tests/test_ssl.py::TestContext::test_check_privatekey_valid $(@D)/tests/test_ssl.py:748: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. context.use_privatekey(key) tests/test_ssl.py::TestContext::test_check_privatekey_valid $(@D)/tests/test_ssl.py:749: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(cert) tests/test_ssl.py::TestContext::test_check_privatekey_valid $(@D)/tests/test_ssl.py:754: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(cert) tests/test_ssl.py::TestContext::test_check_privatekey_invalid $(@D)/tests/test_ssl.py:766: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. context.use_privatekey(key) tests/test_ssl.py::TestContext::test_check_privatekey_invalid $(@D)/tests/test_ssl.py:767: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(cert) tests/test_ssl.py::TestContext::test_check_privatekey_invalid $(@D)/tests/test_ssl.py:773: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(cert) tests/test_ssl.py::TestContext::test_set_info_callback $(@D)/tests/test_ssl.py:983: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(load_certificate(FILETYPE_PEM, root_cert_pem)) tests/test_ssl.py::TestContext::test_set_info_callback $(@D)/tests/test_ssl.py:984: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. context.use_privatekey(load_privatekey(FILETYPE_PEM, root_key_pem)) tests/test_ssl.py::TestContext::test_set_keylog_callback $(@D)/tests/test_ssl.py:1021: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestContext::test_set_keylog_callback $(@D)/tests/test_ssl.py:1024: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestContext::test_set_proto_version $(@D)/tests/test_ssl.py:1041: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestContext::test_set_proto_version $(@D)/tests/test_ssl.py:1044: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( 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] $(@D)/tests/test_ssl.py:1079: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( 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] $(@D)/tests/test_ssl.py:1082: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_set_verify_callback_connection_argument $(@D)/tests/test_ssl.py:1351: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_set_verify_callback_connection_argument $(@D)/tests/test_ssl.py:1354: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( tests/test_ssl.py::TestContext::test_x509_in_verify_works $(@D)/tests/test_ssl.py:1382: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_x509_in_verify_works $(@D)/tests/test_ssl.py:1385: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( tests/test_ssl.py::TestContext::test_set_verify_callback_exception $(@D)/tests/test_ssl.py:1408: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_set_verify_callback_exception $(@D)/tests/test_ssl.py:1411: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( tests/test_ssl.py::TestContext::test_set_verify_callback_reference $(@D)/tests/test_ssl.py:1434: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_set_verify_callback_reference $(@D)/tests/test_ssl.py:1437: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( tests/test_ssl.py::TestContext::test_set_verify_default_callback[1] tests/test_ssl.py::TestContext::test_set_verify_default_callback[0] $(@D)/tests/test_ssl.py:1478: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey( tests/test_ssl.py::TestContext::test_set_verify_default_callback[1] tests/test_ssl.py::TestContext::test_set_verify_default_callback[0] $(@D)/tests/test_ssl.py:1481: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate( tests/test_ssl.py::TestContext::test_add_extra_chain_cert $(@D)/tests/test_ssl.py:1526: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey(skey) tests/test_ssl.py::TestContext::test_add_extra_chain_cert $(@D)/tests/test_ssl.py:1527: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate(scert) tests/test_ssl.py::TestContext::test_add_extra_chain_cert $(@D)/tests/test_ssl.py:1529: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.add_extra_chain_cert(icert) tests/test_ssl.py::TestContext::test_use_certificate_chain_file_bytes tests/test_ssl.py::TestContext::test_use_certificate_chain_file_unicode $(@D)/tests/test_ssl.py:1569: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey(skey) tests/test_ssl.py::TestServerNameCallback::test_no_servername $(@D)/tests/test_ssl.py:1836: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. context.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestServerNameCallback::test_no_servername $(@D)/tests/test_ssl.py:1837: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate( tests/test_ssl.py::TestServerNameCallback::test_servername $(@D)/tests/test_ssl.py:1868: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. context.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestServerNameCallback::test_servername $(@D)/tests/test_ssl.py:1869: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_success $(@D)/tests/test_ssl.py:1910: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_success $(@D)/tests/test_ssl.py:1913: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_set_on_connection $(@D)/tests/test_ssl.py:1958: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_set_on_connection $(@D)/tests/test_ssl.py:1961: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_server_fail $(@D)/tests/test_ssl.py:1999: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_server_fail $(@D)/tests/test_ssl.py:2002: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server_overlap $(@D)/tests/test_ssl.py:2038: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server_overlap $(@D)/tests/test_ssl.py:2041: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_select_cb_returns_invalid_value $(@D)/tests/test_ssl.py:2078: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_select_cb_returns_invalid_value $(@D)/tests/test_ssl.py:2081: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server $(@D)/tests/test_ssl.py:2111: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server $(@D)/tests/test_ssl.py:2114: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_callback_exception $(@D)/tests/test_ssl.py:2147: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_context.use_privatekey( tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_callback_exception $(@D)/tests/test_ssl.py:2150: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_context.use_certificate( tests/test_ssl.py::TestContextConnection::test_use_privatekey[context] tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] $(@D)/tests/test_ssl.py:2202: 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] $(@D)/tests/test_ssl.py:2215: 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[context] tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] $(@D)/tests/test_ssl.py:2219: 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[context] tests/test_ssl.py::TestContextConnection::test_use_certificate[connection] $(@D)/tests/test_ssl.py:2230: 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[context] tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection] $(@D)/tests/test_ssl.py:2252: 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: 36 warnings $(@D)/tests/test_ssl.py:332: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py: 36 warnings $(@D)/tests/test_ssl.py:333: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) tests/test_ssl.py::TestConnection::test_accept $(@D)/tests/test_ssl.py:2446: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestConnection::test_accept $(@D)/tests/test_ssl.py:2447: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) tests/test_ssl.py::TestConnection::test_shutdown_truncated $(@D)/tests/test_ssl.py:2511: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_ctx.use_privatekey( tests/test_ssl.py::TestConnection::test_shutdown_truncated $(@D)/tests/test_ssl.py:2514: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_ctx.use_certificate( tests/test_ssl.py::TestConnection::test_get_certificate $(@D)/tests/test_ssl.py:2582: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. context.use_certificate(scert) tests/test_ssl.py::TestConnection::test_get_peer_cert_chain $(@D)/tests/test_ssl.py:2614: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey(skey) tests/test_ssl.py::TestConnection::test_get_peer_cert_chain $(@D)/tests/test_ssl.py:2615: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate(scert) tests/test_ssl.py::TestConnection::test_get_peer_cert_chain $(@D)/tests/test_ssl.py:2616: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.add_extra_chain_cert(icert) tests/test_ssl.py::TestConnection::test_get_peer_cert_chain_none $(@D)/tests/test_ssl.py:2656: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestConnection::test_get_peer_cert_chain_none $(@D)/tests/test_ssl.py:2657: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) tests/test_ssl.py::TestConnection::test_get_verified_chain $(@D)/tests/test_ssl.py:2673: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. serverContext.use_privatekey(skey) tests/test_ssl.py::TestConnection::test_get_verified_chain $(@D)/tests/test_ssl.py:2674: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.use_certificate(scert) tests/test_ssl.py::TestConnection::test_get_verified_chain $(@D)/tests/test_ssl.py:2676: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. serverContext.add_extra_chain_cert(cacert) tests/test_ssl.py::TestConnection::test_get_verified_chain_none $(@D)/tests/test_ssl.py:2718: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestConnection::test_get_verified_chain_none $(@D)/tests/test_ssl.py:2719: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) tests/test_ssl.py::TestConnection::test_client_set_session $(@D)/tests/test_ssl.py:2833: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(key) tests/test_ssl.py::TestConnection::test_client_set_session $(@D)/tests/test_ssl.py:2834: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(cert) tests/test_ssl.py::TestConnection::test_set_session_wrong_method $(@D)/tests/test_ssl.py:2874: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(key) tests/test_ssl.py::TestConnection::test_set_session_wrong_method $(@D)/tests/test_ssl.py:2875: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(cert) tests/test_ssl.py: 12 warnings $(@D)/tests/test_ssl.py:3641: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. server_ctx.use_privatekey( tests/test_ssl.py: 12 warnings $(@D)/tests/test_ssl.py:3644: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. server_ctx.use_certificate( tests/test_ssl.py: 11 warnings $(@D)/tests/test_ssl.py:3668: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. client_ctx.use_privatekey( tests/test_ssl.py: 11 warnings $(@D)/tests/test_ssl.py:3671: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. client_ctx.use_certificate( tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca $(@D)/tests/test_ssl.py:3987: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.add_client_ca(cacert) tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca $(@D)/tests/test_ssl.py:4004: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.add_client_ca(cacert) tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca $(@D)/tests/test_ssl.py:4026: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.add_client_ca(clcert) tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca $(@D)/tests/test_ssl.py:4047: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.add_client_ca(secert) tests/test_ssl.py::TestOCSP::test_callbacks_arent_called_by_default tests/test_ssl.py::TestOCSP::test_client_receives_servers_data tests/test_ssl.py::TestOCSP::test_callbacks_are_invoked_with_connections tests/test_ssl.py::TestOCSP::test_opaque_data_is_passed_through tests/test_ssl.py::TestOCSP::test_server_returns_empty_string tests/test_ssl.py::TestOCSP::test_client_returns_false_terminates_handshake tests/test_ssl.py::TestOCSP::test_exceptions_in_client_bubble_up tests/test_ssl.py::TestOCSP::test_exceptions_in_server_bubble_up tests/test_ssl.py::TestOCSP::test_server_must_return_bytes $(@D)/tests/test_ssl.py:4171: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestOCSP::test_callbacks_arent_called_by_default tests/test_ssl.py::TestOCSP::test_client_receives_servers_data tests/test_ssl.py::TestOCSP::test_callbacks_are_invoked_with_connections tests/test_ssl.py::TestOCSP::test_opaque_data_is_passed_through tests/test_ssl.py::TestOCSP::test_server_returns_empty_string tests/test_ssl.py::TestOCSP::test_client_returns_false_terminates_handshake tests/test_ssl.py::TestOCSP::test_exceptions_in_client_bubble_up tests/test_ssl.py::TestOCSP::test_exceptions_in_server_bubble_up tests/test_ssl.py::TestOCSP::test_server_must_return_bytes $(@D)/tests/test_ssl.py:4172: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) tests/test_ssl.py::TestDTLS::test_it_works_at_all tests/test_ssl.py::TestDTLS::test_it_works_with_srtp $(@D)/tests/test_ssl.py:4465: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. s_ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem)) tests/test_ssl.py::TestDTLS::test_it_works_at_all tests/test_ssl.py::TestDTLS::test_it_works_with_srtp $(@D)/tests/test_ssl.py:4466: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. s_ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ======== 470 passed, 2 skipped, 259 warnings ======== $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5/test_static_directory_without_0 : [Errno 17] File exists: 'test_static_directory_without_0' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5/test_static_directory_without_1 : [Errno 17] File exists: 'test_static_directory_without_1' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5 : [Errno 17] File exists: 'popen-gw5' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR) : [Errno 17] File exists: '$(TMPDIR) warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5/test_static_directory_without_0 : [Errno 17] File exists: 'test_static_directory_without_0' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5/test_static_directory_without_1 : [Errno 17] File exists: 'test_static_directory_without_1' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/popen-gw5 : [Errno 17] File exists: 'popen-gw5' warnings.warn( $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR) : [Errno 17] File exists: '$(TMPDIR) warnings.warn( py$(PYV): OK congratulations :)