FreeBSD Bugzilla – Attachment 193351 Details for
Bug 226906
security/py-cryptography: Update to 2.3 (Fixes build with libressl* 2.7)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Output of make test
make-test.out (text/plain), 408.81 KB, created by
Bernard Spil
on 2018-05-13 12:01:43 UTC
(
hide
)
Description:
Output of make test
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2018-05-13 12:01:43 UTC
Size:
408.81 KB
patch
obsolete
>Script started on Sun May 13 12:53:12 2018 >Agent pid 48020 > [m[23m[24m[J[builder@build py-cryptography]$ [K[?2004hmmake test[?2004l >===> py27-cryptography-2.1.4 depends on package: py27-cffi>=1.7 - found >===> py27-cryptography-2.1.4 depends on package: py27-setuptools>0 - found >===> py27-cryptography-2.1.4 depends on file: /usr/local/bin/python2.7 - found >===> Configuring for py27-cryptography-2.1.4 >running config >===> Building for py27-cryptography-2.1.4 >running build >running build_py >creating build >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7 >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >copying src/cryptography/exceptions.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >copying src/cryptography/utils.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >copying src/cryptography/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >copying src/cryptography/__about__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >copying src/cryptography/fernet.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat >copying src/cryptography/hazmat/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/extensions.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/general_name.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/name.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/oid.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/base.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >copying src/cryptography/x509/certificate_transparency.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509 >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/padding.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/mac.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends >copying src/cryptography/hazmat/backends/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends >copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings >copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor >copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor >copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor >copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor >copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl >creating build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl >copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl >copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl >copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl >running egg_info >writing requirements to src/cryptography.egg-info/requires.txt >writing src/cryptography.egg-info/PKG-INFO >writing top-level names to src/cryptography.egg-info/top_level.txt >writing dependency_links to src/cryptography.egg-info/dependency_links.txt >reading manifest file 'src/cryptography.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >no previously-included directories found matching 'docs/_build' >warning: no previously-included files matching '*' found under directory 'vectors' >writing manifest file 'src/cryptography.egg-info/SOURCES.txt' >running build_ext >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.c' >creating build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7 >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.c' >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c' >building '_openssl' extension >creating build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build >creating build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7 >cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c -o build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion >[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:940:37: [0m[0;1;35mwarning: [0m[1mincompatible function pointer types passing 'void *(*)(size_t, const char *, int)' (aka 'void *(*)(unsigned long, const char *, int)') to parameter of type > 'void *(*)(size_t)' (aka 'void *(*)(unsigned long)') [-Wincompatible-function-pointer-types][0m > return CRYPTO_set_mem_functions(m, r, f); >[0;1;32m ^ >[0m[1m/usr/include/openssl/crypto.h:420:38: [0m[0;1;30mnote: [0mpassing argument to parameter 'm' here[0m >int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:940:40: [0m[0;1;35mwarning: [0m[1mincompatible function pointer types passing 'void *(*)(void *, size_t, const char *, int)' (aka 'void *(*)(void *, unsigned long, const char *, int)') to parameter > of type 'void *(*)(void *, size_t)' (aka 'void *(*)(void *, unsigned long)') [-Wincompatible-function-pointer-types][0m > return CRYPTO_set_mem_functions(m, r, f); >[0;1;32m ^ >[0m[1m/usr/include/openssl/crypto.h:420:58: [0m[0;1;30mnote: [0mpassing argument to parameter 'r' here[0m >int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:940:43: [0m[0;1;35mwarning: [0m[1mincompatible function pointer types passing 'void (*)(void *, const char *, int)' to parameter of type 'void (*)(void *)' [-Wincompatible-function-pointer-types][0m > return CRYPTO_set_mem_functions(m, r, f); >[0;1;32m ^ >[0m[1m/usr/include/openssl/crypto.h:420:85: [0m[0;1;30mnote: [0mpassing argument to parameter 'f' here[0m >int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:2654:28: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion][0m > _ssl_locks_count = CRYPTO_num_locks(); >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:2687:39: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion][0m > memcpy(buf, st->password, st->length); >[0;1;32m ~~~~~~ ~~~~^~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:47742:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_add_extra_chain_cert(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1200:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_add_extra_chain_cert'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:47782:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_add_extra_chain_cert(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1200:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_add_extra_chain_cert'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:47831:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_clear_options(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:573:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_clear_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:47864:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_clear_options(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:573:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_clear_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48116:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_get_mode(x0); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:588:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_mode'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48139:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_get_mode(x0); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:588:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_mode'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48152:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_get_options(x0); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:575:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48175:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_get_options(x0); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:575:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48188:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_get_session_cache_mode(x0); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1521:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_session_cache_mode'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:48211:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_get_session_cache_mode(x0); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1521:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_get_session_cache_mode'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49672:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_set_mode(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:584:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_mode'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49705:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_set_mode(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:584:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_mode'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49836:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_set_options(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:571:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49869:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_set_options(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:571:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_options'[0m > SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49882:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_set_session_cache_mode(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1519:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_session_cache_mode'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:49915:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_set_session_cache_mode(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1519:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_session_cache_mode'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:50231:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_set_tmp_dh(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1152:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_tmp_dh'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)dh) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:50271:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_set_tmp_dh(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1152:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_tmp_dh'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)dh) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:50284:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_CTX_set_tmp_ecdh(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1154:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_tmp_ecdh'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:50324:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_CTX_set_tmp_ecdh(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:1154:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_CTX_set_tmp_ecdh'[0m > SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:52128:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_get_mode(x0); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:594:9: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_get_mode'[0m > SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:52151:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_get_mode(x0); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:594:9: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_get_mode'[0m > SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:52164:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_get_options(x0); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:581:9: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_get_options'[0m > SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:52187:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_get_options(x0); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:581:9: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_get_options'[0m > SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:53852:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_set_mode(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:592:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_set_mode'[0m > SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:53885:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_set_mode(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:592:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_set_mode'[0m > SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:53898:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > return SSL_set_options(x0, x1); >[0;1;32m ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:577:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_set_options'[0m > SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:53931:14: [0m[0;1;35mwarning: [0m[1mimplicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion][0m > { result = SSL_set_options(x0, x1); } >[0;1;32m ~ ^~~~~~~~~~~~~~~~~~~~~~~ >[0m[1m/usr/include/openssl/ssl.h:577:2: [0m[0;1;30mnote: [0mexpanded from macro 'SSL_set_options'[0m > SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL) >[0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:62297:23: [0m[0;1;35mwarning: [0m[1mpassing 'ASN1_OCTET_STRING **' (aka 'struct asn1_string_st **') to parameter of type 'const ASN1_BIT_STRING **' (aka 'const struct asn1_string_st **') discards > qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers][0m > X509_get0_signature(x0, x1, x2); >[0;1;32m ^~ >[0m[1m/usr/include/openssl/x509.h:919:50: [0m[0;1;30mnote: [0mpassing argument to parameter 'psig' here[0m >void X509_get0_signature(const ASN1_BIT_STRING **psig, >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:62297:27: [0m[0;1;35mwarning: [0m[1mpassing 'X509_ALGOR **' (aka 'struct X509_algor_st **') to parameter of type 'const X509_ALGOR **' (aka 'const struct X509_algor_st **') discards qualifiers in > nested pointer types [-Wincompatible-pointer-types-discards-qualifiers][0m > X509_get0_signature(x0, x1, x2); >[0;1;32m ^~ >[0m[1m/usr/include/openssl/x509.h:920:24: [0m[0;1;30mnote: [0mpassing argument to parameter 'palg' here[0m > const X509_ALGOR **palg, const X509 *x); >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:62349:25: [0m[0;1;35mwarning: [0m[1mpassing 'ASN1_OCTET_STRING **' (aka 'struct asn1_string_st **') to parameter of type 'const ASN1_BIT_STRING **' (aka 'const struct asn1_string_st **') discards > qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers][0m > { X509_get0_signature(x0, x1, x2); } >[0;1;32m ^~ >[0m[1m/usr/include/openssl/x509.h:919:50: [0m[0;1;30mnote: [0mpassing argument to parameter 'psig' here[0m >void X509_get0_signature(const ASN1_BIT_STRING **psig, >[0;1;32m ^ >[0m[1mbuild/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c:62349:29: [0m[0;1;35mwarning: [0m[1mpassing 'X509_ALGOR **' (aka 'struct X509_algor_st **') to parameter of type 'const X509_ALGOR **' (aka 'const struct X509_algor_st **') discards qualifiers in > nested pointer types [-Wincompatible-pointer-types-discards-qualifiers][0m > { X509_get0_signature(x0, x1, x2); } >[0;1;32m ^~ >[0m[1m/usr/include/openssl/x509.h:920:24: [0m[0;1;30mnote: [0mpassing argument to parameter 'palg' here[0m > const X509_ALGOR **palg, const X509 *x); >[0;1;32m ^ >[0m37 warnings generated. >cc -shared -L/usr/lib -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.o -L/usr/local/lib -lssl -lcrypto -lpython2.7 -o build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_openssl.so >building '_constant_time' extension >cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.c -o build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.o >cc -shared -L/usr/lib -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.o -L/usr/local/lib -lpython2.7 -o build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_constant_time.so >building '_padding' extension >cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.c -o build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.o >cc -shared -L/usr/lib -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native -I/usr/include -fstack-protector build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.o -L/usr/local/lib -lpython2.7 -o build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_padding.so >===> Staging for py27-cryptography-2.1.4 >===> py27-cryptography-2.1.4 depends on package: py27-six>=1.4.1 - found >===> py27-cryptography-2.1.4 depends on package: py27-asn1crypto>=0.21.0 - found >===> py27-cryptography-2.1.4 depends on package: py27-cffi>=1.7 - found >===> py27-cryptography-2.1.4 depends on package: py27-enum34>0 - found >===> py27-cryptography-2.1.4 depends on package: py27-ipaddress>0 - found >===> py27-cryptography-2.1.4 depends on package: py27-idna>=2.1 - found >===> py27-cryptography-2.1.4 depends on package: py27-setuptools>0 - found >===> py27-cryptography-2.1.4 depends on file: /usr/local/bin/python2.7 - found >===> Generating temporary packing list >running install >running build >running build_py >running egg_info >writing requirements to src/cryptography.egg-info/requires.txt >writing src/cryptography.egg-info/PKG-INFO >writing top-level names to src/cryptography.egg-info/top_level.txt >writing dependency_links to src/cryptography.egg-info/dependency_links.txt >reading manifest file 'src/cryptography.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >no previously-included directories found matching 'docs/_build' >warning: no previously-included files matching '*' found under directory 'vectors' >writing manifest file 'src/cryptography.egg-info/SOURCES.txt' >running build_ext >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.c' >already up-to-date >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.c' >already up-to-date >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c' >already up-to-date >running install_lib >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7 >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/utils.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/exceptions.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/__about__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/fernet.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/base.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/certificate_transparency.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/name.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/general_name.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/oid.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/x509/extensions.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509 >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/interfaces.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/hmac.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/dh.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/x25519.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/dsa.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/encode_asn1.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/ciphers.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/ec.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/decode_asn1.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/aead.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/utils.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/backend.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/cmac.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/rsa.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/hashes.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/backends/openssl/x509.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_constant_time.so -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl/_conditional.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/openssl/binding.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_openssl.so -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_padding.so -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/serialization.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/hmac.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers/base.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers/modes.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers/aead.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers/algorithms.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/ciphers/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/mac.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/constant_time.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/keywrap.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/padding.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor/totp.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor/hotp.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/twofactor/utils.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/hashes.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/rsa.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/ec.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/utils.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/padding.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/dh.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/dsa.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/asymmetric/x25519.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric >creating /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/scrypt.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/kbkdf.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/concatkdf.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/hkdf.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/pbkdf2.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/kdf/x963kdf.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/primitives/cmac.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/__init__.py -> /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/utils.py to utils.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/exceptions.py to exceptions.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/__about__.py to __about__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/fernet.py to fernet.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/base.py to base.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/certificate_transparency.py to certificate_transparency.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/name.py to name.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/general_name.py to general_name.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/oid.py to oid.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/x509/extensions.py to extensions.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/interfaces.py to interfaces.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/hmac.py to hmac.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/dh.py to dh.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/x25519.py to x25519.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/dsa.py to dsa.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py to encode_asn1.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/ciphers.py to ciphers.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/ec.py to ec.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py to decode_asn1.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/aead.py to aead.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/utils.py to utils.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py to backend.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/cmac.py to cmac.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/rsa.py to rsa.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/hashes.py to hashes.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/x509.py to x509.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py to _conditional.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py to binding.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/serialization.py to serialization.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/hmac.py to hmac.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/base.py to base.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/modes.py to modes.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/aead.py to aead.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py to algorithms.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/mac.py to mac.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py to constant_time.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/keywrap.py to keywrap.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/padding.py to padding.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor/totp.py to totp.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py to hotp.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/twofactor/utils.py to utils.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/hashes.py to hashes.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py to rsa.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py to ec.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py to utils.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py to padding.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py to dh.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py to dsa.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py to x25519.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py to scrypt.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py to kbkdf.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py to concatkdf.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py to hkdf.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/__init__.py to __init__.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py to pbkdf2.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py to x963kdf.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/cmac.py to cmac.pyc >byte-compiling /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/__init__.py to __init__.pyc >writing byte-compilation script '/tmp/tmpB9EWA6.py' >/usr/local/bin/python2.7 -O /tmp/tmpB9EWA6.py >removing /tmp/tmpB9EWA6.py >running install_egg_info >Copying src/cryptography.egg-info to /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography-2.1.4-py2.7.egg-info >running install_scripts >writing list of installed files to '/usr/ports/security/py-cryptography/work-py27/.PLIST.pymodtmp' >/usr/bin/strip /usr/ports/security/py-cryptography/work-py27/stage/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/*.so >===> Creating unique files: Move MAN files needing SUFFIX >===> Creating unique files: Move files needing SUFFIX >====> Compressing man pages (compress-man) >====> Running Q/A tests (stage-qa) >===> Testing for py27-cryptography-2.1.4 >===> py27-cryptography-2.1.4 depends on package: py27-pytest>=2.9.0 - found >===> py27-cryptography-2.1.4 depends on package: py27-iso8601>0 - found >===> py27-cryptography-2.1.4 depends on file: /usr/local/bin/python2.7 - found >running test >Searching for cryptography_vectors==2.1.4 >Reading https://pypi.python.org/simple/cryptography_vectors/ >Downloading https://files.pythonhosted.org/packages/ec/41/fead557eacec43f1e2af0c68a71443acb203634cbf5c2045213c3efd83c9/cryptography_vectors-2.1.4-py2.py3-none-any.whl#sha256=673e8ddf8d87eb16424c22416271108b9502ae02b2b739b6da6b51f325e94749 >Best match: cryptography-vectors 2.1.4 >Processing cryptography_vectors-2.1.4-py2.py3-none-any.whl >Installing cryptography_vectors-2.1.4-py2.py3-none-any.whl to /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs > >Installed /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/cryptography_vectors-2.1.4-py2.7.egg >Searching for hypothesis>=1.11.4 >Reading https://pypi.python.org/simple/hypothesis/ >Downloading https://files.pythonhosted.org/packages/87/a6/03c5e482624a29431998b736235b84742baa64168e3c02845add6e405169/hypothesis-3.56.9.tar.gz#sha256=a7da62992515f345b9b977bd519309d0f1ba15b99a7703964482c68ad8714434 >Best match: hypothesis 3.56.9 >Processing hypothesis-3.56.9.tar.gz >Writing /tmp/easy_install-Hh0FFK/hypothesis-3.56.9/setup.cfg >Running hypothesis-3.56.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Hh0FFK/hypothesis-3.56.9/egg-dist-tmp-FmhG5F >creating /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/hypothesis-3.56.9-py2.7.egg >Extracting hypothesis-3.56.9-py2.7.egg to /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs > >Installed /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/hypothesis-3.56.9-py2.7.egg >Searching for pytz >Reading https://pypi.python.org/simple/pytz/ >Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl#sha256=65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555 >Best match: pytz 2018.4 >Processing pytz-2018.4-py2.py3-none-any.whl >Installing pytz-2018.4-py2.py3-none-any.whl to /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs > >Installed /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/pytz-2018.4-py2.7.egg >Searching for pretend >Reading https://pypi.python.org/simple/pretend/ >Downloading https://files.pythonhosted.org/packages/49/1f/3d4f0579913edd3ad5b23ad52fcc42531cb736ad52af2ba6c057da8785b6/pretend-1.0.9-py2.py3-none-any.whl#sha256=e389b12b7073604be67845dbe32bf8297360ad9a609b24846fe15d86e0b7dc01 >Best match: pretend 1.0.9 >Processing pretend-1.0.9-py2.py3-none-any.whl >Installing pretend-1.0.9-py2.py3-none-any.whl to /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs > >Installed /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/pretend-1.0.9-py2.7.egg >Searching for coverage >Reading https://pypi.python.org/simple/coverage/ >Downloading https://files.pythonhosted.org/packages/35/fe/e7df7289d717426093c68d156e0fd9117c8f4872b6588e8a8928a0f68424/coverage-4.5.1.tar.gz#sha256=56e448f051a201c5ebbaa86a5efd0ca90d327204d8b059ab25ad0f35fbfd79f1 >Best match: coverage 4.5.1 >Processing coverage-4.5.1.tar.gz >Writing /tmp/easy_install-rhErhC/coverage-4.5.1/setup.cfg >Running coverage-4.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rhErhC/coverage-4.5.1/egg-dist-tmp-gEld78 >warning: no previously-included files found matching 'ci/appveyor.token' >no previously-included directories found matching 'doc/_build' >no previously-included directories found matching 'tests/eggsrc/build' >no previously-included directories found matching 'tests/eggsrc/dist' >no previously-included directories found matching 'tests/eggsrc/*.egg-info' >warning: no previously-included files matching '*.py[co]' found anywhere in distribution >creating /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/coverage-4.5.1-py2.7-freebsd-11.1-RELEASE-p8-amd64.egg >Extracting coverage-4.5.1-py2.7-freebsd-11.1-RELEASE-p8-amd64.egg to /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs > >Installed /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4/.eggs/coverage-4.5.1-py2.7-freebsd-11.1-RELEASE-p8-amd64.egg >running egg_info >writing requirements to src/cryptography.egg-info/requires.txt >writing src/cryptography.egg-info/PKG-INFO >writing top-level names to src/cryptography.egg-info/top_level.txt >writing dependency_links to src/cryptography.egg-info/dependency_links.txt >reading manifest file 'src/cryptography.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >no previously-included directories found matching 'docs/_build' >warning: no previously-included files matching '*' found under directory 'vectors' >writing manifest file 'src/cryptography.egg-info/SOURCES.txt' >running build_ext >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_padding.c' >already up-to-date >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_constant_time.c' >already up-to-date >generating cffi module 'build/temp.freebsd-11.1-RELEASE-p8-amd64-2.7/_openssl.c' >already up-to-date >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_openssl.so -> src/cryptography/hazmat/bindings >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_constant_time.so -> src/cryptography/hazmat/bindings >copying build/lib.freebsd-11.1-RELEASE-p8-amd64-2.7/cryptography/hazmat/bindings/_padding.so -> src/cryptography/hazmat/bindings >[1m============================================================================================================ test session starts ============================================================================================================[0m >platform freebsd11 -- Python 2.7.14, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 >OpenSSL: LibreSSL 2.7.3 >rootdir: /usr/ports/security/py-cryptography/work-py27/cryptography-2.1.4, inifile: >plugins: hypothesis-3.56.9 >[1m collecting 0 items [0m[1m collecting 2 items [0m[1m collecting 2 items [0m[1m collecting 3 items [0m[1m collecting 22 items [0m[1m collecting 22 items [0m[1m collecting 26 items [0m[1m collecting 26 items [0m[1m collecting 27 items [0m[1m collecting 30 items [0m[1m collecting 30 items [0m[1m collecting 32 items [0m[1m collecting 69 items [0m[1m collecting 71 items [0m[1m collecting 71 items [0m[1m collecting 71 items [0m[1m collecting 73 items [0m[1m collecting 73 items [0m[1m collecting 90 items [0m[1m collecting 90 items [0m[1m collecting 97 items [0m[1m collecting 97 items [0m[1m collecting 110 items [0m[1m collecting 110 items [0m[1m collecting 111 items [0m[1m collecting 111 items [0m[1m collecting 112 items [0m[1m collecting 112 items [0m[1m collecting 113 items [0m[1m collecting 113 items [0m[1m collecting 114 items [0m[1m collecting 114 items [0m[1m collecting 118 items [0m[1m collecting 118 items [0m[1m collecting 119 items [0m[1m collecting 119 items [0m[1m collecting 120 items [0m[1m collecting 120 items [0m[1m collecting 121 items [0m[1m collecting 121 items [0m[1m collecting 128 items [0m[1m collecting 128 items [0m[1m collecting 128 items [0m[1m collecting 133 items [0m[1m collecting 133 items [0m[1m collecting 135 items [0m[1m collecting 135 items [0m[1m collecting 135 items [0m[1m collecting 144 items [0m[1m collecting 144 items [0m[1m collecting 144 items [0m[1m collecting 674 items [0m[1m collecting 674 items [0m[1m collecting 1204 items [0m[1m collecting 1204 items [0m[1m collecting 1734 items [0m[1m collecting 1734 items [0m[1m collecting 2264 items [0m[1m collecting 2264 items [0m[1m collecting 2794 items [0m[1m collecting 2794 items [0m[1m collecting 2794 items [0m[1m collecting 2873 items [0m[1m collecting 2873 items [0m[1m collecting 5555 items [0m[1m collecting 5555 items [0m[1m collecting 12311 items [0m[1m collecting 12311 items [0m[1m collecting 12313 items [0m[1m collecting 13713 items [0m[1m collecting 13713 items [0m[1m collecting 15851 items [0m[1m collecting 15851 items [0m[1m collecting 17989 items [0m[1m collecting 17989 items [0m[1m collecting 20127 items [0m[1m collecting 20127 items [0m[1m collecting 22265 items [0m[1m collecting 22265 items [0m[1m collecting 24403 items [0m[1m collecting 24403 items [0m[1m collecting 24412 items [0m[1m collecting 24412 items [0m[1m collecting 71671 items [0m[1m collecting 71671 items [0m[1m collecting 71671 items [0m[1m collecting 71959 items [0m[1m collecting 71959 items [0m[1m collecting 71959 items [0m[1m collecting 71965 items [0m[1m collecting 71968 items [0m[1m collecting 71968 items [0m[1m collecting 71974 items [0m[1m collecting 71974 items [0m[1m collecting 71976 items [0m[1m collecting 71976 items [0m[1m collecting 71981 items [0m[1m collecting 71981 items [0m[1m collecting 71988 items [0m[1m collecting 71988 items [0m[1m collecting 71988 items [0m[1m collecting 72043 items [0m[1m collecting 72043 items [0m[1m collecting 72044 items [0m[1m collecting 72044 items [0m[1m collecting 72045 items [0m[1m collecting 72045 items [0m[1m collecting 72046 items [0m[1m collecting 72046 items [0m[1m collecting 72046 items [0m[1m collecting 75886 items [0m[1m collecting 75886 items [0m[1m collecting 75898 items [0m[1m collecting 75898 items [0m[1m collecting 75910 items [0m[1m collecting 75910 items [0m[1m collecting 75922 items [0m[1m collecting 75922 items [0m[1m collecting 75922 items [0m[1m collecting 75925 items [0m[1m collecting 75925 items [0m[1m collecting 75945 items [0m[1m collecting 75945 items [0m[1m collecting 75965 items [0m[1m collecting 75965 items [0m[1m collecting 75985 items [0m[1m collecting 75985 items [0m[1m collecting 75985 items [0m[1m collecting 75991 items [0m[1m collecting 75991 items [0m[1m collecting 75991 items [0m[1m collecting 75995 items [0m[1m collecting 75995 items [0m[1m collecting 76003 items [0m[1m collecting 76003 items [0m[1m collecting 76007 items [0m[1m collecting 76007 items [0m[1m collecting 76011 items [0m[1m collecting 76011 items [0m[1m collecting 76065 items [0m[1m collecting 76065 items [0m[1m collecting 76078 items [0m[1m collecting 76078 items [0m[1m collecting 76086 items [0m[1m collecting 76086 items [0m[1m collecting 76088 items [0m[1m collecting 76088 items [0m[1m collecting 76090 items [0m[1m collecting 76090 items [0m[1m collecting 76122 items [0m[1m collecting 76122 items [0m[1m collecting 76123 items [0m[1m collecting 76168 items [0m[1m collecting 76168 items [0m[1m collecting 76169 items [0m[1m collecting 76175 items [0m[1m collecting 76175 items [0m[1m collecting 76182 items [0m[1m collecting 76182 items [0m[1m collecting 76183 items [0m[1m collecting 76185 items [0m[1m collecting 76185 items [0m[1m collecting 76185 items [0m[1m collecting 76215 items [0m[1m collecting 76215 items [0m[1m collecting 76230 items [0m[1m collecting 76230 items [0m[1m collecting 76242 items [0m[1m collecting 76242 items [0m[1m collecting 76255 items [0m[1m collecting 76255 items [0m[1m collecting 76260 items [0m[1m collecting 76296 items [0m[1m collecting 76296 items [0m[1m collecting 76529 items [0m[1m collecting 76529 items [0m[1m collecting 76758 items [0m[1m collecting 76758 items [0m[1m collecting 76765 items [0m[1m collecting 76765 items [0m[1m collecting 76771 items [0m[1m collecting 76771 items [0m[1m collecting 76794 items [0m[1m collecting 76794 items [0m[1m collecting 76800 items [0m[1m collecting 76800 items [0m[1m collecting 76801 items [0m[1m collecting 77551 items [0m[1m collecting 77551 items [0m[1m collecting 81706 items [0m[1m collecting 81706 items [0m[1m collecting 81710 items [0m[1m collecting 81710 items [0m[1m collecting 81734 items [0m[1m collecting 81734 items [0m[1m collecting 81740 items [0m[1m collecting 81740 items [0m[1m collecting 81741 items [0m[1m collecting 81741 items [0m[1m collecting 81893 items [0m[1m collecting 81893 items [0m[1m collecting 81908 items [0m[1m collecting 82037 items [0m[1m collecting 82037 items [0m[1m collecting 82166 items [0m[1m collecting 82166 items [0m[1m collecting 82295 items [0m[1m collecting 82295 items [0m[1m collecting 82552 items [0m[1m collecting 82552 items [0m[1m collecting 82809 items [0m[1m collecting 82809 items [0m[1m collecting 82816 items [0m[1m collecting 82816 items [0m[1m collecting 82823 items [0m[1m collecting 82823 items [0m[1m collecting 82830 items [0m[1m collecting 82830 items [0m[1m collecting 82830 items [0m[1m collecting 82834 items [0m[1m collecting 82834 items [0m[1m collecting 82835 items [0m[1m collecting 82835 items [0m[1m collecting 82836 items [0m[1m collecting 82836 items [0m[1m collecting 82837 items [0m[1m collecting 82837 items [0m[1m collecting 82838 items [0m[1m collecting 82838 items [0m[1m collecting 82839 items [0m[1m collecting 82839 items [0m[1m collecting 82840 items [0m[1m collecting 82840 items [0m[1m collecting 82842 items [0m[1m collecting 82842 items [0m[1m collecting 82844 items [0m[1m collecting 82844 items [0m[1m collecting 82845 items [0m[1m collecting 82851 items [0m[1m collecting 82851 items [0m[1m collecting 82856 items [0m[1m collecting 82856 items [0m[1m collecting 82857 items [0m[1m collecting 82869 items [0m[1m collecting 82869 items [0m[1m collecting 82878 items [0m[1m collecting 82878 items [0m[1m collecting 82878 items [0m[1m collecting 82879 items [0m[1m collecting 82879 items [0m[1m collecting 82886 items [0m[1m collecting 82886 items [0m[1m collecting 82887 items [0m[1m collecting 82894 items [0m[1m collecting 82894 items [0m[1m collecting 82901 items [0m[1m collecting 82901 items [0m[1m collecting 82907 items [0m[1m collecting 82907 items [0m[1m collecting 82913 items [0m[1m collecting 82913 items [0m[1m collecting 82919 items [0m[1m collecting 82919 items [0m[1m collecting 82925 items [0m[1m collecting 82925 items [0m[1m collecting 82927 items [0m[1m collecting 82927 items [0m[1m collecting 82927 items [0m[1m collecting 83827 items [0m[1m collecting 83827 items [0m[1m collecting 83847 items [0m[1m collecting 83847 items [0m[1m collecting 83867 items [0m[1m collecting 83867 items [0m[1m collecting 83887 items [0m[1m collecting 83887 items [0m[1m collecting 83887 items [0m[1m collecting 83903 items [0m[1m collecting 83903 items [0m[1m collecting 83903 items [0m[1m collecting 88703 items [0m[1m collecting 88703 items [0m[1m collecting 88703 items [0m[1m collecting 91707 items [0m[1m collecting 91707 items [0m[1m collecting 91707 items [0m[1m collecting 91725 items [0m[1m collecting 91725 items [0m[1m collecting 91743 items [0m[1m collecting 91743 items [0m[1m collecting 91743 items [0m[1m collecting 91748 items [0m[1m collecting 91748 items [0m[1m collecting 91749 items [0m[1m collecting 91755 items [0m[1m collecting 91755 items [0m[1m collecting 91755 items [0m[1m collecting 91804 items [0m[1m collecting 91804 items [0m[1m collecting 92182 items [0m[1m collecting 92182 items [0m[1m collecting 92557 items [0m[1m collecting 92557 items [0m[1m collecting 93507 items [0m[1m collecting 93507 items [0m[1m collecting 94457 items [0m[1m collecting 94457 items [0m[1m collecting 94462 items [0m[1m collecting 94462 items [0m[1m collecting 94464 items [0m[1m collecting 94464 items [0m[1m collecting 94465 items [0m[1m collecting 94465 items [0m[1m collecting 96128 items [0m[1m collecting 96128 items [0m[1m collecting 96195 items [0m[1m collecting 96195 items [0m[1m collecting 96204 items [0m[1m collecting 96204 items [0m[1m collecting 96210 items [0m[1m collecting 96210 items [0m[1m collecting 96511 items [0m[1m collecting 96511 items [0m[1m collecting 96534 items [0m[1m collecting 96534 items [0m[1m collecting 96541 items [0m[1m collecting 96541 items [0m[1m collecting 96545 items [0m[1m collecting 96561 items [0m[1m collecting 96561 items [0m[1m collecting 96562 items [0m[1m collecting 96566 items [0m[1m collecting 96566 items [0m[1m collecting 96568 items [0m[1m collecting 96568 items [0m[1m collecting 96588 items [0m[1m collecting 96588 items [0m[1m collecting 96608 items [0m[1m collecting 96608 items [0m[1m collecting 96608 items [0m[1m collecting 96634 items [0m[1m collecting 96634 items [0m[1m collecting 96690 items [0m[1m collecting 96690 items [0m[1m collecting 96698 items [0m[1m collecting 96698 items [0m[1m collecting 96703 items [0m[1m collecting 96703 items [0m[1m collecting 96710 items [0m[1m collecting 96710 items [0m[1m collecting 96712 items [0m[1m collecting 96712 items [0m[1m collecting 96712 items [0m[1m collecting 96720 items [0m[1m collecting 96720 items [0m[1m collecting 96721 items [0m[1m collecting 96822 items [0m[1m collecting 96822 items [0m[1m collecting 96822 items [0m[1m collecting 96828 items [0m[1m collecting 96828 items [0m[1m collecting 96829 items [0m[1m collecting 96866 items [0m[1m collecting 96866 items [0m[1m collecting 96867 items [0m[1m collecting 96906 items [0m[1m collecting 96906 items [0m[1m collecting 96907 items [0m[1m collecting 96908 items [0m[1m collecting 96910 items [0m[1m collecting 96932 items [0m[1m collecting 96932 items [0m[1m collecting 96940 items [0m[1m collecting 96940 items [0m[1m collecting 96974 items [0m[1m collecting 96974 items [0m[1m collecting 96999 items [0m[1m collecting 96999 items [0m[1m collecting 97069 items [0m[1m collecting 97069 items [0m[1m collecting 97099 items [0m[1m collecting 97099 items [0m[1m collecting 97102 items [0m[1m collecting 97102 items [0m[1m collecting 97106 items [0m[1m collecting 97106 items [0m[1m collecting 97110 items [0m[1m collecting 97110 items [0m[1m collecting 97114 items [0m[1m collecting 97114 items [0m[1m collecting 97115 items [0m[1m collecting 97115 items [0m[1m collecting 97125 items [0m[1m collecting 97125 items [0m[1m collecting 97133 items [0m[1m collecting 97133 items [0m[1m collecting 97142 items [0m[1m collecting 97142 items [0m[1m collecting 97150 items [0m[1m collecting 97150 items [0m[1m collecting 97151 items [0m[1m collecting 97184 items [0m[1m collecting 97184 items [0m[1m collecting 97184 items [0m[1m collecting 97190 items [0m[1m collecting 97190 items [0m[1m collecting 97198 items [0m[1m collecting 97198 items [0m[1m collecting 97203 items [0m[1m collecting 97203 items [0m[1m collecting 97210 items [0m[1m collecting 97210 items [0m[1m collecting 97215 items [0m[1m collecting 97215 items [0m[1m collecting 97220 items [0m[1m collecting 97220 items [0m[1m collecting 97225 items [0m[1m collecting 97225 items [0m[1m collecting 97232 items [0m[1m collecting 97232 items [0m[1m collecting 97238 items [0m[1m collecting 97238 items [0m[1m collecting 97247 items [0m[1m collecting 97247 items [0m[1m collecting 97256 items [0m[1m collecting 97256 items [0m[1m collecting 97260 items [0m[1m collecting 97260 items [0m[1m collecting 97269 items [0m[1m collecting 97269 items [0m[1m collecting 97274 items [0m[1m collecting 97274 items [0m[1m collecting 97285 items [0m[1m collecting 97285 items [0m[1m collecting 97293 items [0m[1m collecting 97293 items [0m[1m collecting 97300 items [0m[1m collecting 97300 items [0m[1m collecting 97310 items [0m[1m collecting 97310 items [0m[1m collecting 97316 items [0m[1m collecting 97316 items [0m[1m collecting 97321 items [0m[1m collecting 97321 items [0m[1m collecting 97324 items [0m[1m collecting 97324 items [0m[1m collecting 97327 items [0m[1m collecting 97327 items [0m[1m collecting 97332 items [0m[1m collecting 97332 items [0m[1m collecting 97339 items [0m[1m collecting 97339 items [0m[1m collecting 97349 items [0m[1m collecting 97349 items [0m[1m collecting 97354 items [0m[1m collecting 97354 items [0m[1m collecting 97359 items [0m[1m collecting 97359 items [0m[1m collecting 97364 items [0m[1m collecting 97364 items [0m[1m collecting 97373 items [0m[1m collecting 97373 items [0m[1m collecting 97381 items [0m[1m collecting 97381 items [0m[1m collecting 97382 items [0m[1m collecting 97382 items [0m[1m collecting 97387 items [0m[1m collecting 97387 items [0m[1m collecting 97395 items [0m[1m collecting 97395 items [0m[1m collecting 97411 items [0m[1m collecting 97411 items [0m[1m collecting 97412 items [0m[1m collecting 97412 items [0m[1m collecting 97419 items [0m[1m collecting 97419 items [0m[1m collecting 97426 items [0m[1m collecting 97426 items [0m[1m collecting 97428 items [0m[1m collecting 97428 items [0m[1m collecting 97436 items [0m[1m collecting 97436 items [0m[1m collecting 97440 items [0m[1m collecting 97440 items [0m[1m collecting 97445 items [0m[1m collecting 97445 items [0m[1m collecting 97457 items [0m[1m collecting 97457 items [0m[1m collecting 97465 items [0m[1m collecting 97465 items [0m[1m collecting 97478 items [0m[1m collecting 97478 items [0m[1m collecting 97486 items [0m[1m collecting 97486 items [0m[1m collecting 97494 items [0m[1m collecting 97494 items [0m[1m collecting 97501 items [0m[1m collecting 97501 items [0m[1m collecting 97502 items [0m[1m collecting 97502 items [0m[1m collecting 97503 items [0m[1m collecting 97503 items [0m[1m collecting 97509 items [0m[1m collecting 97509 items [0m[1m collecting 97510 items [0m[1m collecting 97510 items [0m[1m collecting 97514 items [0m[1m collecting 97514 items [0m[1m collecting 97515 items [0m[1m collecting 97515 items [0m[1m collecting 97515 items [0m[1m collecting 97535 items [0m[1m collecting 97535 items [0m[1m collecting 97535 items [0m[1m collected 97535 items [0m > >tests/test_cryptography_utils.py ...[36m [ 0%][0m >tests/test_fernet.py ........................[36m [ 0%][0m >tests/test_interfaces.py .....[36m [ 0%][0m >tests/test_utils.py .....................................[36m [ 0%][0m >tests/test_warnings.py ..[36m [ 0%][0m >tests/hazmat/backends/test_openssl.py ..................................s..............FFFF....[36m [ 0%][0m >tests/hazmat/backends/test_openssl_memleak.py FFFF.FF[36m [ 0%][0m >tests/hazmat/bindings/test_openssl.py .s....F..[36m [ 0%][0m >tests/hazmat/primitives/test_3des.py ................................................................................................................................................................................................[36m [ 0%] >[0m.....................................................................................................................................................................................................................................[36m [ 0%] >[0m.....................................................................................................................................................................................................................................[36m [ 0%] >[0m.....................................................................................................................................................................................................................................[36m [ 1%] >[0m.....................................................................................................................................................................................................................................[36m [ 1%] >[0m.....................................................................................................................................................................................................................................[36m [ 1%] >[0m.....................................................................................................................................................................................................................................[36m [ 1%] >[0m.....................................................................................................................................................................................................................................[36m [ 1%] >[0m.....................................................................................................................................................................................................................................[36m [ 2%] >[0m.....................................................................................................................................................................................................................................[36m [ 2%] >[0m.....................................................................................................................................................................................................................................[36m [ 2%] >[0m........................................................................................................................................................................[36m [ 2%][0m >tests/hazmat/primitives/test_aead.py .sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 3%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 3%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 3%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 3%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 4%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 4%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 4%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 4%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 4%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 5%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 5%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 5%] >[0mssssssssssssssssssssssssssssssssssssssssssssssssssss.................................................................................................................................................................................[36m [ 5%] >[0m.....................................................................................................................................................................................................................................[36m [ 6%] >[0m.....................................................................................................................................................................................................................................[36m [ 6%] >[0m.....................................................................................................................................................................................................................................[36m [ 6%] >[0m.....................................................................................................................................................................................................................................[36m [ 6%] >[0m.....................................................................................................................................................................................................................................[36m [ 7%] >[0m.....................................................................................................................................................................................................................................[36m [ 7%] >[0m.....................................................................................................................................................................................................................................[36m [ 7%] >[0m.....................................................................................................................................................................................................................................[36m [ 7%] >[0m.....................................................................................................................................................................................................................................[36m [ 7%] >[0m.....................................................................................................................................................................................................................................[36m [ 8%] >[0m.....................................................................................................................................................................................................................................[36m [ 8%] >[0m.....................................................................................................................................................................................................................................[36m [ 8%] >[0m.....................................................................................................................................................................................................................................[36m [ 8%] >[0m.....................................................................................................................................................................................................................................[36m [ 9%] >[0m.....................................................................................................................................................................................................................................[36m [ 9%] >[0m.....................................................................................................................................................................................................................................[36m [ 9%] >[0m.....................................................................................................................................................................................................................................[36m [ 9%] >[0m.....................................................................................................................................................................................................................................[36m [ 10%] >[0m.....................................................................................................................................................................................................................................[36m [ 10%] >[0m.....................................................................................................................................................................................................................................[36m [ 10%] >[0m.....................................................................................................................................................................................................................................[36m [ 10%] >[0m.....................................................................................................................................................................................................................................[36m [ 11%] >[0m.....................................................................................................................................................................................................................................[36m [ 11%] >[0m.....................................................................................................................................................................................................................................[36m [ 11%] >[0m.....................................................................................................................................................................................................................................[36m [ 11%] >[0m.....................................................................................................................................................................................................................................[36m [ 11%] >[0m.....................................................................................................................................................................................................................................[36m [ 12%] >[0m.....................................................................................................................................................................................................................................[36m [ 12%] >[0m.......................................................................................................................................................................[36m [ 12%][0m >tests/hazmat/primitives/test_aes.py .................................................................................................................................................................................................[36m [ 12%] >[0m.....................................................................................................................................................................................................................................[36m [ 13%] >[0m.....................................................................................................................................................................................................................................[36m [ 13%] >[0m.....................................................................................................................................................................................................................................[36m [ 13%] >[0m.....................................................................................................................................................................................................................................[36m [ 13%] >[0m.....................................................................................................................................................................................................................................[36m [ 13%] >[0m.....................................................................................................................................................................................................................................[36m [ 14%] >[0m.....................................................................................................................................................................................................................................[36m [ 14%] >[0m.....................................................................................................................................................................................................................................[36m [ 14%] >[0m.....................................................................................................................................................................................................................................[36m [ 14%] >[0m.....................................................................................................................................................................................................................................[36m [ 15%] >[0m.....................................................................................................................................................................................................................................[36m [ 15%] >[0m.....................................................................................................................................................................................................................................[36m [ 15%] >[0m.....................................................................................................................................................................................................................................[36m [ 15%] >[0m.....................................................................................................................................................................................................................................[36m [ 16%] >[0m.....................................................................................................................................................................................................................................[36m [ 16%] >[0m.....................................................................................................................................................................................................................................[36m [ 16%] >[0m.....................................................................................................................................................................................................................................[36m [ 16%] >[0m.....................................................................................................................................................................................................................................[36m [ 17%] >[0m.....................................................................................................................................................................................................................................[36m [ 17%] >[0m.....................................................................................................................................................................................................................................[36m [ 17%] >[0m.....................................................................................................................................................................................................................................[36m [ 17%] >[0m.....................................................................................................................................................................................................................................[36m [ 17%] >[0m.....................................................................................................................................................................................................................................[36m [ 18%] >[0m.....................................................................................................................................................................................................................................[36m [ 18%] >[0m.....................................................................................................................................................................................................................................[36m [ 18%] >[0m.....................................................................................................................................................................................................................................[36m [ 18%] >[0m.....................................................................................................................................................................................................................................[36m [ 19%] >[0m.....................................................................................................................................................................................................................................[36m [ 19%] >[0m.....................................................................................................................................................................................................................................[36m [ 19%] >[0m.....................................................................................................................................................................................................................................[36m [ 19%] >[0m.....................................................................................................................................................................................................................................[36m [ 20%] >[0m.....................................................................................................................................................................................................................................[36m [ 20%] >[0m.....................................................................................................................................................................................................................................[36m [ 20%] >[0m.....................................................................................................................................................................................................................................[36m [ 20%] >[0m.....................................................................................................................................................................................................................................[36m [ 21%] >[0m.....................................................................................................................................................................................................................................[36m [ 21%] >[0m.....................................................................................................................................................................................................................................[36m [ 21%] >[0m.....................................................................................................................................................................................................................................[36m [ 21%] >[0m.....................................................................................................................................................................................................................................[36m [ 21%] >[0m.....................................................................................................................................................................................................................................[36m [ 22%] >[0m.....................................................................................................................................................................................................................................[36m [ 22%] >[0m.....................................................................................................................................................................................................................................[36m [ 22%] >[0m.....................................................................................................................................................................................................................................[36m [ 22%] >[0m.....................................................................................................................................................................................................................................[36m [ 23%] >[0m.....................................................................................................................................................................................................................................[36m [ 23%] >[0m.....................................................................................................................................................................................................................................[36m [ 23%] >[0m.....................................................................................................................................................................................................................................[36m [ 23%] >[0m.....................................................................................................................................................................................................................................[36m [ 24%] >[0m.....................................................................................................................................................................................................................................[36m [ 24%] >[0m.....................................................................................................................................................................................................................................[36m [ 24%] >[0m.....................................................................................................................................................................................................................................[36m [ 24%] >[0m.....................................................................................................................................................................................................................................[36m [ 25%] >[0m.....................................................................................................................................................................................................................................[36m [ 25%] >[0m.....................................................................................................................................................................................................................................[36m [ 25%] >[0m.....................................................................................................................................................................................................................................[36m [ 25%] >[0m.....................................................................................................................................................................................................................................[36m [ 25%] >[0m.....................................................................................................................................................................................................................................[36m [ 26%] >[0m.....................................................................................................................................................................................................................................[36m [ 26%] >[0m.....................................................................................................................................................................................................................................[36m [ 26%] >[0m.....................................................................................................................................................................................................................................[36m [ 26%] >[0m.....................................................................................................................................................................................................................................[36m [ 27%] >[0m.....................................................................................................................................................................................................................................[36m [ 27%] >[0m.....................................................................................................................................................................................................................................[36m [ 27%] >[0m.....................................................................................................................................................................................................................................[36m [ 27%] >[0m.....................................................................................................................................................................................................................................[36m [ 28%] >[0m.....................................................................................................................................................................................................................................[36m [ 28%] >[0m.....................................................................................................................................................................................................................................[36m [ 28%] >[0m.....................................................................................................................................................................................................................................[36m [ 28%] >[0m.....................................................................................................................................................................................................................................[36m [ 29%] >[0m.....................................................................................................................................................................................................................................[36m [ 29%] >[0m.....................................................................................................................................................................................................................................[36m [ 29%] >[0m.....................................................................................................................................................................................................................................[36m [ 29%] >[0m.....................................................................................................................................................................................................................................[36m [ 29%] >[0m.....................................................................................................................................................................................................................................[36m [ 30%] >[0m.....................................................................................................................................................................................................................................[36m [ 30%] >[0m.....................................................................................................................................................................................................................................[36m [ 30%] >[0m.....................................................................................................................................................................................................................................[36m [ 30%] >[0m.....................................................................................................................................................................................................................................[36m [ 31%] >[0m.....................................................................................................................................................................................................................................[36m [ 31%] >[0m.....................................................................................................................................................................................................................................[36m [ 31%] >[0m.....................................................................................................................................................................................................................................[36m [ 31%] >[0m.....................................................................................................................................................................................................................................[36m [ 32%] >[0m.....................................................................................................................................................................................................................................[36m [ 32%] >[0m.....................................................................................................................................................................................................................................[36m [ 32%] >[0m.....................................................................................................................................................................................................................................[36m [ 32%] >[0m.....................................................................................................................................................................................................................................[36m [ 33%] >[0m.....................................................................................................................................................................................................................................[36m [ 33%] >[0m.....................................................................................................................................................................................................................................[36m [ 33%] >[0m.....................................................................................................................................................................................................................................[36m [ 33%] >[0m.....................................................................................................................................................................................................................................[36m [ 33%] >[0m.....................................................................................................................................................................................................................................[36m [ 34%] >[0m.....................................................................................................................................................................................................................................[36m [ 34%] >[0m.....................................................................................................................................................................................................................................[36m [ 34%] >[0m.....................................................................................................................................................................................................................................[36m [ 34%] >[0m.....................................................................................................................................................................................................................................[36m [ 35%] >[0m.....................................................................................................................................................................................................................................[36m [ 35%] >[0m.....................................................................................................................................................................................................................................[36m [ 35%] >[0m.....................................................................................................................................................................................................................................[36m [ 35%] >[0m.....................................................................................................................................................................................................................................[36m [ 36%] >[0m.....................................................................................................................................................................................................................................[36m [ 36%] >[0m.....................................................................................................................................................................................................................................[36m [ 36%] >[0m.....................................................................................................................................................................................................................................[36m [ 36%] >[0m.....................................................................................................................................................................................................................................[36m [ 37%] >[0m.....................................................................................................................................................................................................................................[36m [ 37%] >[0m.....................................................................................................................................................................................................................................[36m [ 37%] >[0m.....................................................................................................................................................................................................................................[36m [ 37%] >[0m.....................................................................................................................................................................................................................................[36m [ 37%] >[0m.....................................................................................................................................................................................................................................[36m [ 38%] >[0m.....................................................................................................................................................................................................................................[36m [ 38%] >[0m.....................................................................................................................................................................................................................................[36m [ 38%] >[0m.....................................................................................................................................................................................................................................[36m [ 38%] >[0m.....................................................................................................................................................................................................................................[36m [ 39%] >[0m.....................................................................................................................................................................................................................................[36m [ 39%] >[0m.....................................................................................................................................................................................................................................[36m [ 39%] >[0m.....................................................................................................................................................................................................................................[36m [ 39%] >[0m.....................................................................................................................................................................................................................................[36m [ 40%] >[0m.....................................................................................................................................................................................................................................[36m [ 40%] >[0m.....................................................................................................................................................................................................................................[36m [ 40%] >[0m.....................................................................................................................................................................................................................................[36m [ 40%] >[0m.....................................................................................................................................................................................................................................[36m [ 40%] >[0m.....................................................................................................................................................................................................................................[36m [ 41%] >[0m.....................................................................................................................................................................................................................................[36m [ 41%] >[0m.....................................................................................................................................................................................................................................[36m [ 41%] >[0m.....................................................................................................................................................................................................................................[36m [ 41%] >[0m.....................................................................................................................................................................................................................................[36m [ 42%] >[0m.....................................................................................................................................................................................................................................[36m [ 42%] >[0m.....................................................................................................................................................................................................................................[36m [ 42%] >[0m.....................................................................................................................................................................................................................................[36m [ 42%] >[0m.....................................................................................................................................................................................................................................[36m [ 43%] >[0m.....................................................................................................................................................................................................................................[36m [ 43%] >[0m.....................................................................................................................................................................................................................................[36m [ 43%] >[0m.....................................................................................................................................................................................................................................[36m [ 43%] >[0m.....................................................................................................................................................................................................................................[36m [ 44%] >[0m.....................................................................................................................................................................................................................................[36m [ 44%] >[0m.....................................................................................................................................................................................................................................[36m [ 44%] >[0m.....................................................................................................................................................................................................................................[36m [ 44%] >[0m.....................................................................................................................................................................................................................................[36m [ 44%] >[0m.....................................................................................................................................................................................................................................[36m [ 45%] >[0m.....................................................................................................................................................................................................................................[36m [ 45%] >[0m.....................................................................................................................................................................................................................................[36m [ 45%] >[0m.....................................................................................................................................................................................................................................[36m [ 45%] >[0m.....................................................................................................................................................................................................................................[36m [ 46%] >[0m.....................................................................................................................................................................................................................................[36m [ 46%] >[0m.....................................................................................................................................................................................................................................[36m [ 46%] >[0m.....................................................................................................................................................................................................................................[36m [ 46%] >[0m.....................................................................................................................................................................................................................................[36m [ 47%] >[0m.....................................................................................................................................................................................................................................[36m [ 47%] >[0m.....................................................................................................................................................................................................................................[36m [ 47%] >[0m.....................................................................................................................................................................................................................................[36m [ 47%] >[0m.....................................................................................................................................................................................................................................[36m [ 48%] >[0m.....................................................................................................................................................................................................................................[36m [ 48%] >[0m.....................................................................................................................................................................................................................................[36m [ 48%] >[0m.....................................................................................................................................................................................................................................[36m [ 48%] >[0m.....................................................................................................................................................................................................................................[36m [ 48%] >[0m.....................................................................................................................................................................................................................................[36m [ 49%] >[0m.....................................................................................................................................................................................................................................[36m [ 49%] >[0m.....................................................................................................................................................................................................................................[36m [ 49%] >[0m.....................................................................................................................................................................................................................................[36m [ 49%] >[0m.....................................................................................................................................................................................................................................[36m [ 50%] >[0m.....................................................................................................................................................................................................................................[36m [ 50%] >[0m.....................................................................................................................................................................................................................................[36m [ 50%] >[0m.....................................................................................................................................................................................................................................[36m [ 50%] >[0m.....................................................................................................................................................................................................................................[36m [ 51%] >[0m.....................................................................................................................................................................................................................................[36m [ 51%] >[0m.....................................................................................................................................................................................................................................[36m [ 51%] >[0m.....................................................................................................................................................................................................................................[36m [ 51%] >[0m.....................................................................................................................................................................................................................................[36m [ 52%] >[0m.....................................................................................................................................................................................................................................[36m [ 52%] >[0m.....................................................................................................................................................................................................................................[36m [ 52%] >[0m.....................................................................................................................................................................................................................................[36m [ 52%] >[0m.....................................................................................................................................................................................................................................[36m [ 52%] >[0m.....................................................................................................................................................................................................................................[36m [ 53%] >[0m.....................................................................................................................................................................................................................................[36m [ 53%] >[0m.....................................................................................................................................................................................................................................[36m [ 53%] >[0m.....................................................................................................................................................................................................................................[36m [ 53%] >[0m.....................................................................................................................................................................................................................................[36m [ 54%] >[0m.....................................................................................................................................................................................................................................[36m [ 54%] >[0m.....................................................................................................................................................................................................................................[36m [ 54%] >[0m.....................................................................................................................................................................................................................................[36m [ 54%] >[0m.....................................................................................................................................................................................................................................[36m [ 55%] >[0m.....................................................................................................................................................................................................................................[36m [ 55%] >[0m.....................................................................................................................................................................................................................................[36m [ 55%] >[0m.....................................................................................................................................................................................................................................[36m [ 55%] >[0m.....................................................................................................................................................................................................................................[36m [ 56%] >[0m.....................................................................................................................................................................................................................................[36m [ 56%] >[0m.....................................................................................................................................................................................................................................[36m [ 56%] >[0m.....................................................................................................................................................................................................................................[36m [ 56%] >[0m.....................................................................................................................................................................................................................................[36m [ 56%] >[0m.....................................................................................................................................................................................................................................[36m [ 57%] >[0m.....................................................................................................................................................................................................................................[36m [ 57%] >[0m.....................................................................................................................................................................................................................................[36m [ 57%] >[0m.....................................................................................................................................................................................................................................[36m [ 57%] >[0m.....................................................................................................................................................................................................................................[36m [ 58%] >[0m.....................................................................................................................................................................................................................................[36m [ 58%] >[0m.....................................................................................................................................................................................................................................[36m [ 58%] >[0m.....................................................................................................................................................................................................................................[36m [ 58%] >[0m.....................................................................................................................................................................................................................................[36m [ 59%] >[0m.....................................................................................................................................................................................................................................[36m [ 59%] >[0m.....................................................................................................................................................................................................................................[36m [ 59%] >[0m.....................................................................................................................................................................................................................................[36m [ 59%] >[0m.....................................................................................................................................................................................................................................[36m [ 60%] >[0m.....................................................................................................................................................................................................................................[36m [ 60%] >[0m.....................................................................................................................................................................................................................................[36m [ 60%] >[0m.....................................................................................................................................................................................................................................[36m [ 60%] >[0m.....................................................................................................................................................................................................................................[36m [ 60%] >[0m.....................................................................................................................................................................................................................................[36m [ 61%] >[0m.....................................................................................................................................................................................................................................[36m [ 61%] >[0m.....................................................................................................................................................................................................................................[36m [ 61%] >[0m.....................................................................................................................................................................................................................................[36m [ 61%] >[0m.....................................................................................................................................................................................................................................[36m [ 62%] >[0m.....................................................................................................................................................................................................................................[36m [ 62%] >[0m.....................................................................................................................................................................................................................................[36m [ 62%] >[0m.....................................................................................................................................................................................................................................[36m [ 62%] >[0m.....................................................................................................................................................................................................................................[36m [ 63%] >[0m.....................................................................................................................................................................................................................................[36m [ 63%] >[0m.....................................................................................................................................................................................................................................[36m [ 63%] >[0m.....................................................................................................................................................................................................................................[36m [ 63%] >[0m.....................................................................................................................................................................................................................................[36m [ 64%] >[0m.....................................................................................................................................................................................................................................[36m [ 64%] >[0m.....................................................................................................................................................................................................................................[36m [ 64%] >[0m.....................................................................................................................................................................................................................................[36m [ 64%] >[0m.....................................................................................................................................................................................................................................[36m [ 64%] >[0m.....................................................................................................................................................................................................................................[36m [ 65%] >[0m.....................................................................................................................................................................................................................................[36m [ 65%] >[0m.....................................................................................................................................................................................................................................[36m [ 65%] >[0m.....................................................................................................................................................................................................................................[36m [ 65%] >[0m.....................................................................................................................................................................................................................................[36m [ 66%] >[0m.....................................................................................................................................................................................................................................[36m [ 66%] >[0m.....................................................................................................................................................................................................................................[36m [ 66%] >[0m.....................................................................................................................................................................................................................................[36m [ 66%] >[0m.....................................................................................................................................................................................................................................[36m [ 67%] >[0m.....................................................................................................................................................................................................................................[36m [ 67%] >[0m.....................................................................................................................................................................................................................................[36m [ 67%] >[0m.....................................................................................................................................................................................................................................[36m [ 67%] >[0m.....................................................................................................................................................................................................................................[36m [ 67%] >[0m.....................................................................................................................................................................................................................................[36m [ 68%] >[0m.....................................................................................................................................................................................................................................[36m [ 68%] >[0m.....................................................................................................................................................................................................................................[36m [ 68%] >[0m.....................................................................................................................................................................................................................................[36m [ 68%] >[0m.....................................................................................................................................................................................................................................[36m [ 69%] >[0m.....................................................................................................................................................................................................................................[36m [ 69%] >[0m.....................................................................................................................................................................................................................................[36m [ 69%] >[0m.....................................................................................................................................................................................................................................[36m [ 69%] >[0m.....................................................................................................................................................................................................................................[36m [ 70%] >[0m.....................................................................................................................................................................................................................................[36m [ 70%] >[0m.....................................................................................................................................................................................................................................[36m [ 70%] >[0m.....................................................................................................................................................................................................................................[36m [ 70%] >[0m.....................................................................................................................................................................................................................................[36m [ 71%] >[0m.....................................................................................................................................................................................................................................[36m [ 71%] >[0m.....................................................................................................................................................................................................................................[36m [ 71%] >[0m.....................................................................................................................................................................................................................................[36m [ 71%] >[0m.....................................................................................................................................................................................................................................[36m [ 71%] >[0m.....................................................................................................................................................................................................................................[36m [ 72%] >[0m.....................................................................................................................................................................................................................................[36m [ 72%] >[0m.....................................................................................................................................................................................................................................[36m [ 72%] >[0m.....................................................................................................................................................................................................................................[36m [ 72%] >[0m.....................................................................................................................................................................................................................................[36m [ 73%] >[0m.....................................................................................................................................................................................................................................[36m [ 73%] >[0m...................................................................................[36m [ 73%][0m >tests/hazmat/primitives/test_arc4.py ................................................................................................................................................................................................[36m [ 73%] >[0m................................................................................................[36m [ 73%][0m >tests/hazmat/primitives/test_asym_utils.py ......[36m [ 73%][0m >tests/hazmat/primitives/test_block.py .......................[36m [ 73%][0m >tests/hazmat/primitives/test_blowfish.py ..........................................................[36m [ 73%][0m >tests/hazmat/primitives/test_camellia.py ............................................................................................................................................................................................[36m [ 74%] >[0m.....................................................................................................................................................................................................................................[36m [ 74%] >[0m.....................................................................................................................................................................................................................................[36m [ 74%] >[0m.....................................................................................................................................................................................................................................[36m [ 74%] >[0m.....................................................................................................................................................................................................................................[36m [ 74%] >[0m.....................................................................................................................................................................................................................................[36m [ 75%] >[0m.....................................................................................................................................................................................................................................[36m [ 75%] >[0m.....................................................................................................................................................................................................................................[36m [ 75%] >[0m.....................................................................................................................................................................................................................................[36m [ 75%] >[0m.....................................................................................................................................................................................................................................[36m [ 76%] >[0m.....................................................................................................................................................................................................................................[36m [ 76%] >[0m.....................................................................................................................................................................................................................................[36m [ 76%] >[0m.....................................................................................................................................................................................................................................[36m [ 76%] >[0m.....................................................................................................................................................................................................................................[36m [ 77%] >[0m.....................................................................................................................................................................................................................................[36m [ 77%] >[0m.....................................................................................................................................................................................................................................[36m [ 77%] >[0m.....................................................................................................................................................................................................................................[36m [ 77%] >[0m........................[36m [ 77%][0m >tests/hazmat/primitives/test_cast5.py ...............................................................[36m [ 77%][0m >tests/hazmat/primitives/test_chacha20.py sss...[36m [ 77%][0m >tests/hazmat/primitives/test_ciphers.py ....................................................................................................................................[36m [ 78%][0m >tests/hazmat/primitives/test_cmac.py ..............................................[36m [ 78%][0m >tests/hazmat/primitives/test_concatkdf.py ..............[36m [ 78%][0m >tests/hazmat/primitives/test_constant_time.py ..[36m [ 78%][0m >tests/hazmat/primitives/test_dh.py ..............FFF.F.............FFF....ss..ss.........ss..ss......ss..ss...[36m [ 78%][0m >tests/hazmat/primitives/test_dsa.py .................................................................................................................................................................................................[36m [ 78%] >[0m.....................................................................................................................................................................................................................................[36m [ 78%] >[0m.......................................................................................................................[36m [ 78%][0m >tests/hazmat/primitives/test_ec.py ..................................................................................................................................................................................................[36m [ 78%] >[0m.....................................................................................................................................................................................................................................[36m [ 79%] >[0m.....................................................................................................................................................................................................................................[36m [ 79%] >[0m.....................................................................................................................................................................................................................................[36m [ 79%] >[0m.....................................................................................................................................................................................................................................[36m [ 79%] >[0m.....................................................................................................................................................................................................................................[36m [ 80%] >[0m.....................................................................................................................................................................................................................................[36m [ 80%] >[0m.....................................................................................................................................................................................................................................[36m [ 80%] >[0m.....................................................................................................................................................................................................................................[36m [ 80%] >[0m.....................................................................................................................................................................................................................................[36m [ 81%] >[0m.....................................................................................................................................................................................................................................[36m [ 81%] >[0m.....................................................................................................................................................................................................................................[36m [ 81%] >[0m.....................................................................................................................................................................................................................................[36m [ 81%] >[0m.....................................................................................................................................................................................................................................[36m [ 81%] >[0m.....................................................................................................................................................................................................................................[36m [ 82%] >[0m.....................................................................................................................................................................................................................................[36m [ 82%] >[0m.....................................................................................................................................................................................................................................[36m [ 82%] >[0m.....................................................................................................................................................................................................................................[36m [ 82%] >[0m.....................................................................................................................................................................................................................................[36m [ 83%] >[0m.....................................................................................................................................................................................................................................[36m [ 83%] >[0m.....................................................................................................................................................................................................................................[36m [ 83%] >[0m.....................................................................................................................................................................................................................................[36m [ 83%] >[0m........................................................................................................[36m [ 83%][0m >tests/hazmat/primitives/test_hash_vectors.py ........................................................................................................................................................................................[36m [ 84%] >[0m.....................................................................................................................................................................................................................................[36m [ 84%] >[0m.....................................................................................................................................................................................................................................[36m [ 84%] >[0m.....................................................................................................................................................................................................................................[36m [ 84%] >[0m.....................................ssssssssssssss[36m [ 84%][0m >tests/hazmat/primitives/test_hashes.py ..........ssss.[36m [ 84%][0m >tests/hazmat/primitives/test_hkdf.py ............[36m [ 84%][0m >tests/hazmat/primitives/test_hkdf_vectors.py .....................[36m [ 84%][0m >tests/hazmat/primitives/test_hmac.py .........[36m [ 84%][0m >tests/hazmat/primitives/test_hmac_vectors.py ......................................ss[36m [ 85%][0m >tests/hazmat/primitives/test_idea.py ................................................................................................................................................................................................[36m [ 85%] >[0m.....................................................................................................................................................................................................................................[36m [ 85%] >[0m.....................................................................................................................................................................................................................................[36m [ 85%] >[0m.....................................................................................................................................................................................................................................[36m [ 85%] >[0m.................................................................................[36m [ 86%][0m >tests/hazmat/primitives/test_kbkdf.py ................[36m [ 86%][0m >tests/hazmat/primitives/test_kbkdf_vectors.py sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 86%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 86%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 86%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 86%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 87%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 87%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 87%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 87%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 88%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 88%] >[0mssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.........................................................................[36m [ 88%] >[0m.....................................................................................................................................................................................................................................[36m [ 88%] >[0m..................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...................................................[36m [ 89%] >[0m.....................................................................................................................................................................................................................................[36m [ 89%] >[0m........................................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.............................[36m [ 89%] >[0m.....................................................................................................................................................................................................................................[36m [ 89%] >[0m..............................................................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.......[36m [ 89%] >[0m.....................................................................................................................................................................................................................................[36m [ 90%] >[0m....................................................................................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 90%] >[0msssssssssssssss......................................................................................................................................................................................................................[36m [ 90%] >[0m..........................................................................................................sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 90%] >[0msssssssssssssssssssssssssssssssssssss[36m [ 90%][0m >tests/hazmat/primitives/test_keywrap.py .............................................................................................................................................................................................[36m [ 91%] >[0m.....................................................................................................................................................................................................................................[36m [ 91%] >[0m.....................................................................................................................................................................................................................................[36m [ 91%] >[0m.....................................................................................................................................................................................................................................[36m [ 91%] >[0m.....................................................................................................................................................................................................................................[36m [ 92%] >[0m.....................................................................................................................................................................................................................................[36m [ 92%] >[0m.....................................................................................................................................................................................................................................[36m [ 92%] >[0m.....................................................................................................................................................................................................................................[36m [ 92%] >[0m.....................................................................................................................................................................................................................................[36m [ 93%] >[0m.....................................................................................................................................................................................................................................[36m [ 93%] >[0m.....................................................................................................................................................................................................................................[36m [ 93%] >[0m.....................................................................................................................................................................................................................................[36m [ 93%] >[0m.....................................................................................................................................................................................................................................[36m [ 93%] >[0m...................................................................[36m [ 94%][0m >tests/hazmat/primitives/test_padding.py ....................................[36m [ 94%][0m >tests/hazmat/primitives/test_pbkdf2hmac.py ......[36m [ 94%][0m >tests/hazmat/primitives/test_pbkdf2hmac_vectors.py ......[36m [ 94%][0m >tests/hazmat/primitives/test_rsa.py .............................................ssssss..............................................................................................................................................[36m [ 94%] >[0m.....................................................................................................................................................................................................................................[36m [ 94%] >[0m.....................................................................................................................................................................................................................................[36m [ 94%] >[0m.....................................................................................................................................................................................................................................[36m [ 94%] >[0m.....................................................................................................................................................................................................................................[36m [ 95%] >[0m.....................................................................................................................................................................................................................................[36m [ 95%] >[0m.....................................................................................................................................................................................................................................[36m [ 95%] >[0m.....................................................................................................................................................................................................................................[36m [ 95%] >[0m.....................................................................................................................................................................................................................................[36m [ 96%] >[0m.....................................................................................................................................................................................................................................[36m [ 96%] >[0m.....................................................................................................................................................................................................................................[36m [ 96%] >[0m.....................................................................................................................................................................................................................................[36m [ 96%] >[0m.....................................................................................................................................................................................................................................[36m [ 97%] >[0m.........................................................................................................................................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 97%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 97%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 97%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 98%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 98%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss[36m [ 98%] >[0msssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.............sssssssssssssssssssssssss....................................................................................................................................[36m [ 98%] >[0m.....................................................................................................................................................................................................................................[36m [ 98%] >[0m.................[36m [ 98%][0m >tests/hazmat/primitives/test_scrypt.py .ssss.sssssssssss[36m [ 99%][0m >tests/hazmat/primitives/test_seed.py ssssssssssssssssssssssssssssssssssssssssssssss[36m [ 99%][0m >tests/hazmat/primitives/test_serialization.py ........................................................................................................[36m [ 99%][0m >tests/hazmat/primitives/test_x25519.py sFFFFFFFF[36m [ 99%][0m >tests/hazmat/primitives/test_x963_vectors.py .....................................................................................................[36m [ 99%][0m >tests/hazmat/primitives/test_x963kdf.py .......[36m [ 99%][0m >tests/hazmat/primitives/twofactor/test_hotp.py ......................................[36m [ 99%][0m >tests/hazmat/primitives/twofactor/test_totp.py ........................................[36m [ 99%][0m >tests/hypothesis/test_fernet.py .[36m [ 99%][0m >tests/hypothesis/test_padding.py ..[36m [ 99%][0m >tests/x509/test_x509.py ...........................................................................................ss................................................................................................................[36m [ 99%] >[0m....................................[36m [ 99%][0m >tests/x509/test_x509_crlbuilder.py .................................[36m [ 99%][0m >tests/x509/test_x509_ext.py .........................................................................................................................................................................................................[36m [ 99%] >[0m...............................................................................................................................Fs.[36m [ 99%][0m >tests/x509/test_x509_revokedcertbuilder.py ....................[36m [100%][0m > >================================================================================================================= FAILURES ================================================================================================================== >[1m[31m__________________________________________________________________________________________ TestGOSTCertificate.test_numeric_string_x509_name_entry __________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl.TestGOSTCertificate object at 0x846a39890> > >[1m def test_numeric_string_x509_name_entry(self):[0m >[1m cert = _load_cert([0m >[1m os.path.join("x509", "e-trust.ru.der"),[0m >[1m x509.load_der_x509_certificate,[0m >[1m backend[0m >[1m )[0m >[1m if backend._lib.CRYPTOGRAPHY_OPENSSL_LESS_THAN_102I:[0m >[1m with pytest.raises(ValueError) as exc:[0m >[1m cert.subject[0m >[1m [0m >[1m # We assert on the message in this case because if the certificate[0m >[1m # fails to load it will also raise a ValueError and this test could[0m >[1m # erroneously pass.[0m >[1m assert str(exc.value) == "Unsupported ASN1 string type. Type: 18"[0m >[1m else:[0m >[1m> assert cert.subject.get_attributes_for_oid([0m >[1m x509.ObjectIdentifier("1.2.643.3.131.1.1")[0m >[1m )[0].value == "007710474375"[0m > >[1m[31mtests/hazmat/backends/test_openssl.py[0m:543: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/backends/openssl/x509.py[0m:108: in subject >[1m return _decode_x509_name(self._backend, subject)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/decode_asn1.py[0m:66: in _decode_x509_name >[1m attribute = _decode_x509_name_entry(backend, entry)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/decode_asn1.py[0m:53: in _decode_x509_name_entry >[1m value = _asn1_string_to_utf8(backend, data)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, asn1_string = <cdata 'struct asn1_string_st *' 0x844453600> > >[1m def _asn1_string_to_utf8(backend, asn1_string):[0m >[1m buf = backend._ffi.new("unsigned char **")[0m >[1m res = backend._lib.ASN1_STRING_to_UTF8(buf, asn1_string)[0m >[1m if res == -1:[0m >[1m raise ValueError([0m >[1m> "Unsupported ASN1 string type. Type: {0}".format(asn1_string.type)[0m >[1m )[0m >[1m[31mE ValueError: Unsupported ASN1 string type. Type: 18[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/decode_asn1.py[0m:722: ValueError >[1m[31m_______________________________________________________________________________ TestOpenSSLDHSerialization.test_dh_serialization_with_q_unsupported[vector0] ________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl.TestOpenSSLDHSerialization object at 0x846bf6210>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'A4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507FD6406CFF14266D31266FEA1E5C41564B777E690F5504F213160217B4B01B886...65E68CFDA76D4DA708DF1FB2BC2E4A4371', 'q': 'F518AA8781A8DF278ABA4E7D64B7CB9D49462353', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_serialization_with_q_unsupported(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public)[0m >[1m> private_key = private.private_key(backend)[0m > >[1m[31mtests/hazmat/backends/test_openssl.py[0m:565: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x846bf6610> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m_______________________________________________________________________________ TestOpenSSLDHSerialization.test_dh_serialization_with_q_unsupported[vector1] ________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl.TestOpenSSLDHSerialization object at 0x846bf5b10>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'AC4032EF4F2D9AE39DF30B5C8FFDAC506CDEBE7B89998CAF74866A08CFE4FFE3A6824A4E10B9A6F0DD921F01A70C4AFAAB739D7700C29F5...1C0AC4DFFE0C10E64F', 'q': '801C0D34C58D93FE997177101F80535A4738CEBCBF389A99B36371EB', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_serialization_with_q_unsupported(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public)[0m >[1m> private_key = private.private_key(backend)[0m > >[1m[31mtests/hazmat/backends/test_openssl.py[0m:565: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x846bf5510> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m_______________________________________________________________________________ TestOpenSSLDHSerialization.test_dh_serialization_with_q_unsupported[vector2] ________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl.TestOpenSSLDHSerialization object at 0x846cdd350>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': '3FB32C9B73134D0B2E77506660EDBD484CA7B18F21EF205407F4793A1A0BA12510DBC15077BE463FFF4FED4AAC0BB555BE3A6C1B0C6B47B...E91E1A1597', 'q': '8CF83642A709A097B447997640129DA299B1A47D1EB3750BA308B0FE64F5FBD3', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_serialization_with_q_unsupported(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public)[0m >[1m> private_key = private.private_key(backend)[0m > >[1m[31mtests/hazmat/backends/test_openssl.py[0m:565: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x846cdd550> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m______________________________________________________________________________________________ TestAssertNoMemoryLeaks.test_no_leak_no_malloc _______________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestAssertNoMemoryLeaks object at 0x846a45e10> > >[1m def test_no_leak_no_malloc(self):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func():[0m >[1m pass[0m >[1m> """))[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:133: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = '\ndef func():\n pass\n' >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func():\n pass\n\n\n\nimport sys\n\n\ndef main(argv):\n import gc\n ...n for ptr in remaining\n )))\n sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 75, in <module>\n File "<string>", line 39, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m_________________________________________________________________________________________________ TestAssertNoMemoryLeaks.test_no_leak_free _________________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestAssertNoMemoryLeaks object at 0x846a391d0> > >[1m def test_no_leak_free(self):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func():[0m >[1m from cryptography.hazmat.bindings.openssl.binding import Binding[0m >[1m b = Binding()[0m >[1m name = b.lib.X509_NAME_new()[0m >[1m b.lib.X509_NAME_free(name)[0m >[1m> """))[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:142: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import Binding\n b = Binding()\n name = b.lib.X509_NAME_new()\n b.lib.X509_NAME_free(name)\n' >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import Bindin...n for ptr in remaining\n )))\n sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 78, in <module>\n File "<string>", line 42, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m__________________________________________________________________________________________________ TestAssertNoMemoryLeaks.test_no_leak_gc __________________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestAssertNoMemoryLeaks object at 0x846bf60d0> > >[1m def test_no_leak_gc(self):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func():[0m >[1m from cryptography.hazmat.bindings.openssl.binding import Binding[0m >[1m b = Binding()[0m >[1m name = b.lib.X509_NAME_new()[0m >[1m b.ffi.gc(name, b.lib.X509_NAME_free)[0m >[1m> """))[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:151: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import Binding\n b = Binding()\n name = b.lib.X509_NAME_new()\n b.ffi.gc(name, b.lib.X509_NAME_free)\n' >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import Bindin...n for ptr in remaining\n )))\n sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 78, in <module>\n File "<string>", line 42, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m_____________________________________________________________________________________________________ TestAssertNoMemoryLeaks.test_leak _____________________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestAssertNoMemoryLeaks object at 0x846a979d0> > >[1m def test_leak(self):[0m >[1m with pytest.raises(AssertionError):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func():[0m >[1m from cryptography.hazmat.bindings.openssl.binding import ([0m >[1m Binding[0m >[1m )[0m >[1m b = Binding()[0m >[1m b.lib.X509_NAME_new()[0m >[1m> """))[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:162: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import (\n Binding\n )\n b = Binding()\n b.lib.X509_NAME_new()\n' >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func():\n from cryptography.hazmat.bindings.openssl.binding import (\n ...n for ptr in remaining\n )))\n sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 79, in <module>\n File "<string>", line 43, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m_______________________________________________________________________ TestOpenSSLMemoryLeaks.test_x509_extensions[x509/PKITS_data/certs/ValidcRLIssuerTest28EE.crt] _______________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestOpenSSLMemoryLeaks object at 0x846a7cf10>, path = 'x509/PKITS_data/certs/ValidcRLIssuerTest28EE.crt' > >[1m @pytest.mark.parametrize("path", [[0m >[1m "x509/PKITS_data/certs/ValidcRLIssuerTest28EE.crt",[0m >[1m ])[0m >[1m def test_x509_extensions(self, path):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func(path):[0m >[1m from cryptography import x509[0m >[1m from cryptography.hazmat.backends.openssl import backend[0m >[1m [0m >[1m import cryptography_vectors[0m >[1m [0m >[1m with cryptography_vectors.open_vector_file(path, "rb") as f:[0m >[1m cert = x509.load_der_x509_certificate([0m >[1m f.read(), backend[0m >[1m )[0m >[1m [0m >[1m cert.extensions[0m >[1m> """), [path])[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:191: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = '\ndef func(path):\n from cryptography import x509\n from cryptography.hazmat.backends.openssl import backend\n\... f:\n cert = x509.load_der_x509_certificate(\n f.read(), backend\n )\n\n cert.extensions\n' >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func(path):\n from cryptography import x509\n from cryptography.hazmat... sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n', 'x509/PKITS_data/certs/ValidcRLIssuerTest28EE.crt'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 85, in <module>\n File "<string>", line 49, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m________________________________________________________________________________________ TestOpenSSLMemoryLeaks.test_ec_private_numbers_private_key _________________________________________________________________________________________[0m > >self = <tests.hazmat.backends.test_openssl_memleak.TestOpenSSLMemoryLeaks object at 0x846c041d0> > >[1m def test_ec_private_numbers_private_key(self):[0m >[1m assert_no_memory_leaks(textwrap.dedent("""[0m >[1m def func():[0m >[1m from cryptography.hazmat.backends.openssl import backend[0m >[1m from cryptography.hazmat.primitives.asymmetric import ec[0m >[1m [0m >[1m ec.EllipticCurvePrivateNumbers([0m >[1m private_value=int([0m >[1m '280814107134858470598753916394807521398239633534281633982576099083'[0m >[1m '35787109896602102090002196616273211495718603965098'[0m >[1m ),[0m >[1m public_numbers=ec.EllipticCurvePublicNumbers([0m >[1m curve=ec.SECP384R1(),[0m >[1m x=int([0m >[1m '10036914308591746758780165503819213553101287571902957054148542'[0m >[1m '504671046744460374996612408381962208627004841444205030'[0m >[1m ),[0m >[1m y=int([0m >[1m '17337335659928075994560513699823544906448896792102247714689323'[0m >[1m '575406618073069185107088229463828921069465902299522926'[0m >[1m )[0m >[1m )[0m >[1m ).private_key(backend)[0m >[1m> """))[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:216: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >s = "\ndef func():\n from cryptography.hazmat.backends.openssl import backend\n from cryptography.hazmat.primitives.... '575406618073069185107088229463828921069465902299522926'\n )\n )\n ).private_key(backend)\n" >argv = ['/usr/local/bin/python2.7', '-c', '\ndef func():\n from cryptography.hazmat.backends.openssl import backend\n f...n for ptr in remaining\n )))\n sys.stdout.flush()\n sys.exit(255)\n\nmain(sys.argv)\n'] > >[1m def assert_no_memory_leaks(s, argv=[]):[0m >[1m env = os.environ.copy()[0m >[1m env["PYTHONPATH"] = os.pathsep.join(sys.path)[0m >[1m argv = [[0m >[1m sys.executable, "-c", "{0}\n\n{1}".format(s, MEMORY_LEAK_SCRIPT)[0m >[1m ] + argv[0m >[1m # Shell out to a fresh Python process because OpenSSL does not allow you to[0m >[1m # install new memory hooks after the first malloc/free occurs.[0m >[1m proc = subprocess.Popen([0m >[1m argv,[0m >[1m env=env,[0m >[1m stdout=subprocess.PIPE,[0m >[1m stderr=subprocess.PIPE,[0m >[1m )[0m >[1m try:[0m >[1m proc.wait()[0m >[1m if proc.returncode == 255:[0m >[1m # 255 means there was a leak, load the info about what mallocs[0m >[1m # weren't freed.[0m >[1m out = json.loads(proc.stdout.read().decode())[0m >[1m raise AssertionError(out)[0m >[1m elif proc.returncode != 0:[0m >[1m # Any exception type will do to be honest[0m >[1m> raise ValueError(proc.stdout.read(), proc.stderr.read())[0m >[1m[31mE ValueError: ('', 'Traceback (most recent call last):\n File "<string>", line 94, in <module>\n File "<string>", line 58, in main\nAssertionError\n')[0m > >[1m[31mtests/hazmat/backends/test_openssl_memleak.py[0m:114: ValueError >[1m[31m___________________________________________________________________________________________________ TestOpenSSL.test_conditional_removal ____________________________________________________________________________________________________[0m > >self = <test_openssl.TestOpenSSL object at 0x846bf5390> > >[1m def test_conditional_removal(self):[0m >[1m b = Binding()[0m >[1m [0m >[1m if b.lib.CRYPTOGRAPHY_OPENSSL_110_OR_GREATER:[0m >[1m> assert b.lib.TLS_ST_OK[0m >[1m[31mE AttributeError: 'module' object has no attribute 'TLS_ST_OK'[0m > >[1m[31mtests/hazmat/bindings/test_openssl.py[0m:80: AttributeError >[1m[31m____________________________________________________________________________________________ TestDH.test_dh_parameters_supported_with_q[vector0] ____________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x86554af50>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'A4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507FD6406CFF14266D31266FEA1E5C41564B777E690F5504F213160217B4B01B886...65E68CFDA76D4DA708DF1FB2BC2E4A4371', 'q': 'F518AA8781A8DF278ABA4E7D64B7CB9D49462353', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_parameters_supported_with_q(self, backend, vector):[0m >[1m> assert backend.dh_parameters_supported(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m[31mE AssertionError: assert False[0m >[1m[31mE + where False = <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>>(124325339146889384...748016154805420913L, 115740200527109164...487552135890973413L, 139925281193568059...014275474696840019L)[0m >[1m[31mE + where <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>> = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>.dh_parameters_supported[0m >[1m[31mE + and 124325339146889384...748016154805420913L = int('B10B8F96A080E01DDE92DE5EAE5D54EC52C99FBCFB06A3C69A6A9DCA52D23B616073E28675A23D189838EF1E2EE652C013ECB4AEA906112324975...C4BD7098488E9C219A73724EFFD6FAE5644738FAA31A4FF55BCCC0A151AF5F0DC8B4BD45BF37DF365C1A65E68CFDA76D4DA708DF1FB2BC2E4A4371', 16)[0m >[1m[31mE + and 115740200527109164...487552135890973413L = int('A4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507FD6406CFF14266D31266FEA1E5C41564B777E690F5504F213160217B4B01B886A5E915...A92EE1909D0D2263F80A76A6A24C087A091F531DBF0A0169B6A28AD662A4D18E73AFA32D779D5918D08BC8858F4DCEF97C2A24855E6EEB22B3B2E5', 16)[0m >[1m[31mE + and 139925281193568059...014275474696840019L = int('F518AA8781A8DF278ABA4E7D64B7CB9D49462353', 16)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:186: AssertionError >[1m[31m____________________________________________________________________________________________ TestDH.test_dh_parameters_supported_with_q[vector1] ____________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x865546d90>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'AC4032EF4F2D9AE39DF30B5C8FFDAC506CDEBE7B89998CAF74866A08CFE4FFE3A6824A4E10B9A6F0DD921F01A70C4AFAAB739D7700C29F5...1C0AC4DFFE0C10E64F', 'q': '801C0D34C58D93FE997177101F80535A4738CEBCBF389A99B36371EB', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_parameters_supported_with_q(self, backend, vector):[0m >[1m> assert backend.dh_parameters_supported(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m[31mE AssertionError: assert False[0m >[1m[31mE + where False = <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>>(218473595898882084...831079801857828431L, 217446461432432160...016720953265564666L, 134915130869244203...828635542747312619L)[0m >[1m[31mE + where <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>> = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>.dh_parameters_supported[0m >[1m[31mE + and 218473595898882084...831079801857828431L = int('AD107E1E9123A9D0D660FAA79559C51FA20D64E5683B9FD1B54B1597B61D0A75E6FA141DF95A56DBAF9A3C407BA1DF15EB3D688A309C180E1DE6B...28B2B9C52172E413042E9B23F10B0E16E79763C9B53DCF4BA80A29E3FB73C16B8E75B97EF363E2FFA31F71CF9DE5384E71B81C0AC4DFFE0C10E64F', 16)[0m >[1m[31mE + and 217446461432432160...016720953265564666L = int('AC4032EF4F2D9AE39DF30B5C8FFDAC506CDEBE7B89998CAF74866A08CFE4FFE3A6824A4E10B9A6F0DD921F01A70C4AFAAB739D7700C29F52C57DB...9D13CD566AFBB48D6C019181E1BCFE94B30269EDFE72FE9B6AA4BD7B5A0F1C71CFFF4C19C418E1F6EC017981BC087F2A7065B384B890D3191F2BFA', 16)[0m >[1m[31mE + and 134915130869244203...828635542747312619L = int('801C0D34C58D93FE997177101F80535A4738CEBCBF389A99B36371EB', 16)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:186: AssertionError >[1m[31m____________________________________________________________________________________________ TestDH.test_dh_parameters_supported_with_q[vector2] ____________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x865552150>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': '3FB32C9B73134D0B2E77506660EDBD484CA7B18F21EF205407F4793A1A0BA12510DBC15077BE463FFF4FED4AAC0BB555BE3A6C1B0C6B47B...E91E1A1597', 'q': '8CF83642A709A097B447997640129DA299B1A47D1EB3750BA308B0FE64F5FBD3', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_parameters_supported_with_q(self, backend, vector):[0m >[1m> assert backend.dh_parameters_supported(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m[31mE AssertionError: assert False[0m >[1m[31mE + where False = <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>>(171254583176141379...454389104774092183L, 804136732704618930...894908468466292313L, 637623513649726535...631363277932854227L)[0m >[1m[31mE + where <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>> = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>.dh_parameters_supported[0m >[1m[31mE + and 171254583176141379...454389104774092183L = int('87A8E61DB4B6663CFFBBD19C651959998CEEF608660DD0F25D2CEED4435E3B00E00DF8F1D61957D4FAF7DF4561B2AA3016C3D91134096FAA3BF42...962856DED4010ABD0BE621C3A3960A54E710C375F26375D7014103A4B54330C198AF126116D2276E11715F693877FAD7EF09CADB094AE91E1A1597', 16)[0m >[1m[31mE + and 804136732704618930...894908468466292313L = int('3FB32C9B73134D0B2E77506660EDBD484CA7B18F21EF205407F4793A1A0BA12510DBC15077BE463FFF4FED4AAC0BB555BE3A6C1B0C6B47B1BC377...E0EC377FD028370DF92B52C7891428CDC67EB6184B523D1DB246C32F63078490F00EF8D647D148D47954515E2327CFEF98C582664B4C0F6CC41659', 16)[0m >[1m[31mE + and 637623513649726535...631363277932854227L = int('8CF83642A709A097B447997640129DA299B1A47D1EB3750BA308B0FE64F5FBD3', 16)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:186: AssertionError >[1m[31m___________________________________________________________________________________________________ TestDH.test_convert_to_numbers[True] ____________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x865552c50>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, with_q = True > >[1m @pytest.mark.parametrize("with_q", [False, True])[0m >[1m def test_convert_to_numbers(self, backend, with_q):[0m >[1m if with_q:[0m >[1m vector = load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors)[0][0m >[1m p = int(vector["p"], 16)[0m >[1m g = int(vector["g"], 16)[0m >[1m q = int(vector["q"], 16)[0m >[1m else:[0m >[1m parameters = backend.generate_dh_private_key_and_parameters(2, 512)[0m >[1m [0m >[1m private = parameters.private_numbers()[0m >[1m [0m >[1m p = private.public_numbers.parameter_numbers.p[0m >[1m g = private.public_numbers.parameter_numbers.g[0m >[1m q = None[0m >[1m [0m >[1m params = dh.DHParameterNumbers(p, g, q)[0m >[1m public = dh.DHPublicNumbers(1, params)[0m >[1m private = dh.DHPrivateNumbers(2, public)[0m >[1m [0m >[1m deserialized_params = params.parameters(backend)[0m >[1m deserialized_public = public.public_key(backend)[0m >[1m> deserialized_private = private.private_key(backend)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:214: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x8655529d0> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m__________________________________________________________________________________________________ TestDH.test_dh_vectors_with_q[vector0] ___________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x865573150>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'A4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507FD6406CFF14266D31266FEA1E5C41564B777E690F5504F213160217B4B01B886...65E68CFDA76D4DA708DF1FB2BC2E4A4371', 'q': 'F518AA8781A8DF278ABA4E7D64B7CB9D49462353', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_vectors_with_q(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public1 = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private1 = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public1)[0m >[1m public2 = dh.DHPublicNumbers(int(vector["ystatiut"], 16), parameters)[0m >[1m private2 = dh.DHPrivateNumbers(int(vector["xstatiut"], 16), public2)[0m >[1m> key1 = private1.private_key(backend)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:387: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x86556e250> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m__________________________________________________________________________________________________ TestDH.test_dh_vectors_with_q[vector1] ___________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x86556e0d0>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': 'AC4032EF4F2D9AE39DF30B5C8FFDAC506CDEBE7B89998CAF74866A08CFE4FFE3A6824A4E10B9A6F0DD921F01A70C4AFAAB739D7700C29F5...1C0AC4DFFE0C10E64F', 'q': '801C0D34C58D93FE997177101F80535A4738CEBCBF389A99B36371EB', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_vectors_with_q(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public1 = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private1 = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public1)[0m >[1m public2 = dh.DHPublicNumbers(int(vector["ystatiut"], 16), parameters)[0m >[1m private2 = dh.DHPrivateNumbers(int(vector["xstatiut"], 16), public2)[0m >[1m> key1 = private1.private_key(backend)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:387: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x86556ee10> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m__________________________________________________________________________________________________ TestDH.test_dh_vectors_with_q[vector2] ___________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_dh.TestDH object at 0x86556e050>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> >vector = {'g': '3FB32C9B73134D0B2E77506660EDBD484CA7B18F21EF205407F4793A1A0BA12510DBC15077BE463FFF4FED4AAC0BB555BE3A6C1B0C6B47B...E91E1A1597', 'q': '8CF83642A709A097B447997640129DA299B1A47D1EB3750BA308B0FE64F5FBD3', 'result': 'P (0 - Correct)', ...} > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "DH", "RFC5114.txt"),[0m >[1m load_nist_vectors))[0m >[1m def test_dh_vectors_with_q(self, backend, vector):[0m >[1m parameters = dh.DHParameterNumbers(int(vector["p"], 16),[0m >[1m int(vector["g"], 16),[0m >[1m int(vector["q"], 16))[0m >[1m public1 = dh.DHPublicNumbers(int(vector["ystatcavs"], 16), parameters)[0m >[1m private1 = dh.DHPrivateNumbers(int(vector["xstatcavs"], 16), public1)[0m >[1m public2 = dh.DHPublicNumbers(int(vector["ystatiut"], 16), parameters)[0m >[1m private2 = dh.DHPrivateNumbers(int(vector["xstatiut"], 16), public2)[0m >[1m> key1 = private1.private_key(backend)[0m > >[1m[31mtests/hazmat/primitives/test_dh.py[0m:387: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/dh.py[0m:43: in private_key >[1m return backend.load_dh_private_numbers(self)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, numbers = <cryptography.hazmat.primitives.asymmetric.dh.DHPrivateNumbers object at 0x86557a450> > >[1m def load_dh_private_numbers(self, numbers):[0m >[1m parameter_numbers = numbers.public_numbers.parameter_numbers[0m >[1m [0m >[1m dh_cdata = self._lib.DH_new()[0m >[1m self.openssl_assert(dh_cdata != self._ffi.NULL)[0m >[1m dh_cdata = self._ffi.gc(dh_cdata, self._lib.DH_free)[0m >[1m [0m >[1m p = self._int_to_bn(parameter_numbers.p)[0m >[1m g = self._int_to_bn(parameter_numbers.g)[0m >[1m [0m >[1m if parameter_numbers.q is not None:[0m >[1m q = self._int_to_bn(parameter_numbers.q)[0m >[1m else:[0m >[1m q = self._ffi.NULL[0m >[1m [0m >[1m pub_key = self._int_to_bn(numbers.public_numbers.y)[0m >[1m priv_key = self._int_to_bn(numbers.x)[0m >[1m [0m >[1m res = self._lib.DH_set0_pqg(dh_cdata, p, q, g)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m res = self._lib.DH_set0_key(dh_cdata, pub_key, priv_key)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m codes = self._ffi.new("int[]", 1)[0m >[1m res = self._lib.Cryptography_DH_check(dh_cdata, codes)[0m >[1m self.openssl_assert(res == 1)[0m >[1m [0m >[1m # DH_check will return DH_NOT_SUITABLE_GENERATOR if p % 24 does not[0m >[1m # equal 11 when the generator is 2 (a quadratic nonresidue).[0m >[1m # We want to ignore that error because p % 24 == 23 is also fine.[0m >[1m # Specifically, g is then a quadratic residue. Within the context of[0m >[1m # Diffie-Hellman this means it can only generate half the possible[0m >[1m # values. That sounds bad, but quadratic nonresidues leak a bit of[0m >[1m # the key to the attacker in exchange for having the full key space[0m >[1m # available. See: https://crypto.stackexchange.com/questions/12961[0m >[1m if codes[0] != 0 and not ([0m >[1m parameter_numbers.g == 2 and[0m >[1m codes[0] ^ self._lib.DH_NOT_SUITABLE_GENERATOR == 0[0m >[1m ):[0m >[1m raise ValueError([0m >[1m> "DH private numbers did not pass safety checks."[0m >[1m )[0m >[1m[31mE ValueError: DH private numbers did not pass safety checks.[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1801: ValueError >[1m[31m_________________________________________________________________________________________________ TestX25519Exchange.test_rfc7748[vector0] __________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873307910> >vector = {'input_scalar': 'a546e36bf0527c9d3b16154b82465edd62144c0ac1fc5a18506a2244ba449ac4', 'input_u': 'e6db6867583030db3594c...15f7c726624ec26b3353b10a903a6d0ab1c4c', 'output_u': 'c3da55379de9c6908e94ea4df28d084f32eccf03491c71f754b4075577a28552'} >backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "X25519", "rfc7748.txt"),[0m >[1m load_nist_vectors[0m >[1m )[0m >[1m )[0m >[1m def test_rfc7748(self, vector, backend):[0m >[1m private = binascii.unhexlify(vector["input_scalar"])[0m >[1m public = binascii.unhexlify(vector["input_u"])[0m >[1m shared_key = binascii.unhexlify(vector["output_u"])[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m_________________________________________________________________________________________________ TestX25519Exchange.test_rfc7748[vector1] __________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873309450> >vector = {'input_scalar': '4b66e9d4d1b4673c5ad22691957d6af5c11b6421e0ea01d42ca4169e7918ba0d', 'input_u': 'e5210f12786811d3f4b79...8ae2c31dbe7106fc03c3efc4cd549c715a493', 'output_u': '95cbde9476e8907d7aade45cb4b873f88b595a68799fa152e6f8f7647aac7957'} >backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "X25519", "rfc7748.txt"),[0m >[1m load_nist_vectors[0m >[1m )[0m >[1m )[0m >[1m def test_rfc7748(self, vector, backend):[0m >[1m private = binascii.unhexlify(vector["input_scalar"])[0m >[1m public = binascii.unhexlify(vector["input_u"])[0m >[1m shared_key = binascii.unhexlify(vector["output_u"])[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m_________________________________________________________________________________________________ TestX25519Exchange.test_rfc7748[vector2] __________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x8733231d0> >vector = {'input_scalar': '0900000000000000000000000000000000000000000000000000000000000000', 'input_u': '090000000000000000000...0000000000000000000000000000000000000', 'output_u': '422c8e7a6227d7bca1350b3e2bb7279f7897b87bb6854b783c60e80311ae3079'} >backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.parametrize([0m >[1m "vector",[0m >[1m load_vectors_from_file([0m >[1m os.path.join("asymmetric", "X25519", "rfc7748.txt"),[0m >[1m load_nist_vectors[0m >[1m )[0m >[1m )[0m >[1m def test_rfc7748(self, vector, backend):[0m >[1m private = binascii.unhexlify(vector["input_scalar"])[0m >[1m public = binascii.unhexlify(vector["input_u"])[0m >[1m shared_key = binascii.unhexlify(vector["output_u"])[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m______________________________________________________________________________________________ TestX25519Exchange.test_rfc7748_1000_iteration _______________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x87332b550>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m def test_rfc7748_1000_iteration(self, backend):[0m >[1m old_private = private = public = binascii.unhexlify([0m >[1m b"090000000000000000000000000000000000000000000000000000000000"[0m >[1m b"0000"[0m >[1m )[0m >[1m shared_key = binascii.unhexlify([0m >[1m b"684cf59ba83309552800ef566f2f4d3c1c3887c49360e3875f2eb94d9953"[0m >[1m b"2c51"[0m >[1m )[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:67: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m______________ TestX25519Exchange.test_public_bytes[w\x07m\ns\x18\xa5}<\x16\xc1rQ\xb2fE\xdfL/\x87\xeb\xc0\x99*\xb1w\xfb\xa5\x1d\xb9,*-\x85 \xf0\t\x890\xa7Tt\x8b}\xdc\xb4>\xf7Z\r\xbf:\r&8\x1a\xf4\xeb\xa4\xa9\x8e\xaa\x9bNj] _______________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873307fd0>, private_bytes = 'w\x07m\ns\x18\xa5}<\x16\xc1rQ\xb2fE\xdfL/\x87\xeb\xc0\x99*\xb1w\xfb\xa5\x1d\xb9,*' >public_bytes = '\x85 \xf0\t\x890\xa7Tt\x8b}\xdc\xb4>\xf7Z\r\xbf:\r&8\x1a\xf4\xeb\xa4\xa9\x8e\xaa\x9bNj', backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.parametrize([0m >[1m ("private_bytes", "public_bytes"),[0m >[1m [[0m >[1m ([0m >[1m binascii.unhexlify([0m >[1m b"77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba"[0m >[1m b"51db92c2a"[0m >[1m ),[0m >[1m binascii.unhexlify([0m >[1m b"8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98"[0m >[1m b"eaa9b4e6a"[0m >[1m )[0m >[1m ),[0m >[1m ([0m >[1m binascii.unhexlify([0m >[1m b"5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b2"[0m >[1m b"7ff88e0eb"[0m >[1m ),[0m >[1m binascii.unhexlify([0m >[1m b"de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e1"[0m >[1m b"46f882b4f"[0m >[1m )[0m >[1m )[0m >[1m ][0m >[1m )[0m >[1m def test_public_bytes(self, private_bytes, public_bytes, backend):[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private_bytes)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:107: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m_____________ TestX25519Exchange.test_public_bytes[]\xab\x08~bJ\x8aKy\xe1\x7f\x8b\x83\x80\x0e\xe6o;\xb1)&\x18\xb6\xfd\x1c/\x8b\'\xff\x88\xe0\xeb-\xde\x9e\xdb}{}\xc1\xb4\xd3[a\xc2\xec\xe457?\x83C\xc8[xgM\xad\xfc~\x14o\x88+O] _____________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873330210>, private_bytes = "]\xab\x08~bJ\x8aKy\xe1\x7f\x8b\x83\x80\x0e\xe6o;\xb1)&\x18\xb6\xfd\x1c/\x8b'\xff\x88\xe0\xeb" >public_bytes = '\xde\x9e\xdb}{}\xc1\xb4\xd3[a\xc2\xec\xe457?\x83C\xc8[xgM\xad\xfc~\x14o\x88+O', backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.parametrize([0m >[1m ("private_bytes", "public_bytes"),[0m >[1m [[0m >[1m ([0m >[1m binascii.unhexlify([0m >[1m b"77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba"[0m >[1m b"51db92c2a"[0m >[1m ),[0m >[1m binascii.unhexlify([0m >[1m b"8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98"[0m >[1m b"eaa9b4e6a"[0m >[1m )[0m >[1m ),[0m >[1m ([0m >[1m binascii.unhexlify([0m >[1m b"5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b2"[0m >[1m b"7ff88e0eb"[0m >[1m ),[0m >[1m binascii.unhexlify([0m >[1m b"de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e1"[0m >[1m b"46f882b4f"[0m >[1m )[0m >[1m )[0m >[1m ][0m >[1m )[0m >[1m def test_public_bytes(self, private_bytes, public_bytes, backend):[0m >[1m> private_key = X25519PrivateKey._from_private_bytes(private_bytes)[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:107: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:46: in _from_private_bytes >[1m return backend.x25519_load_private_bytes(data)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1916: in x25519_load_private_bytes >[1m self.openssl_assert(evp_pkey != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm'), _OpenSSLErrorWithText(code=117436534L, lib=6, func=4095, reason=118, reason_text='error:06FFF076:digital envelope routines:CRYPTO_internal:unsupported private key algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m_____________________________________________________________________________________________________ TestX25519Exchange.test_generate ______________________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873314c90>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m def test_generate(self, backend):[0m >[1m> key = X25519PrivateKey.generate()[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:113: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:41: in generate >[1m return backend.x25519_generate_key()[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1924: in x25519_generate_key >[1m self.openssl_assert(evp_pkey_ctx != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m_______________________________________________________________________________________________ TestX25519Exchange.test_invalid_type_exchange _______________________________________________________________________________________________[0m > >self = <tests.hazmat.primitives.test_x25519.TestX25519Exchange object at 0x873309b50>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m def test_invalid_type_exchange(self, backend):[0m >[1m> key = X25519PrivateKey.generate()[0m > >[1m[31mtests/hazmat/primitives/test_x25519.py[0m:118: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/hazmat/primitives/asymmetric/x25519.py[0m:41: in generate >[1m return backend.x25519_generate_key()[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:1924: in x25519_generate_key >[1m self.openssl_assert(evp_pkey_ctx != self._ffi.NULL)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/backend.py[0m:106: in openssl_assert >[1m return binding._openssl_assert(self._lib, ok)[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >lib = <module 'lib' (built-in)>, ok = False > >[1m def _openssl_assert(lib, ok):[0m >[1m if not ok:[0m >[1m errors = _consume_errors(lib)[0m >[1m errors_with_text = [][0m >[1m for err in errors:[0m >[1m err_text_reason = ffi.string([0m >[1m lib.ERR_error_string(err.code, ffi.NULL)[0m >[1m )[0m >[1m errors_with_text.append([0m >[1m _OpenSSLErrorWithText([0m >[1m err.code, err.lib, err.func, err.reason, err_text_reason[0m >[1m )[0m >[1m )[0m >[1m [0m >[1m raise InternalError([0m >[1m "Unknown OpenSSL error. This error is commonly encountered when "[0m >[1m "another library is not cleaning up the OpenSSL error stack. If "[0m >[1m "you are using cryptography with another library that uses "[0m >[1m "OpenSSL try disabling it before reporting a bug. Otherwise "[0m >[1m "please file an issue at https://github.com/pyca/cryptography/"[0m >[1m "issues with information on how to reproduce "[0m >[1m "this. ({0!r})".format(errors_with_text),[0m >[1m> errors_with_text[0m >[1m )[0m >[1m[31mE InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=117436572L, lib=6, func=4095, reason=156, reason_text='error:06FFF09C:digital envelope routines:CRYPTO_internal:unsupported algorithm')])[0m > >[1m[31msrc/cryptography/hazmat/bindings/openssl/binding.py[0m:75: InternalError >[1m[31m____________________________________________________________________________________ TestPrecertificateSignedCertificateTimestampsExtension.test_simple _____________________________________________________________________________________[0m > >self = <tests.x509.test_x509_ext.TestPrecertificateSignedCertificateTimestampsExtension object at 0x8737e8bd0>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750> > >[1m @pytest.mark.supported([0m >[1m only_if=lambda backend: ([0m >[1m backend._lib.CRYPTOGRAPHY_OPENSSL_110F_OR_GREATER),[0m >[1m skip_message="Requires OpenSSL 1.1.0f+",[0m >[1m )[0m >[1m def test_simple(self, backend):[0m >[1m cert = _load_cert([0m >[1m os.path.join("x509", "badssl-sct.pem"),[0m >[1m x509.load_pem_x509_certificate,[0m >[1m backend[0m >[1m )[0m >[1m> scts = cert.extensions.get_extension_for_class([0m >[1m x509.PrecertificateSignedCertificateTimestamps[0m >[1m ).value[0m > >[1m[31mtests/x509/test_x509_ext.py[0m:4466: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31msrc/cryptography/utils.py[0m:159: in inner >[1m result = func(instance)[0m >[1m[31msrc/cryptography/hazmat/backends/openssl/x509.py[0m:134: in extensions >[1m self._backend, self._x509[0m >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <cryptography.hazmat.backends.openssl.decode_asn1._X509ExtensionParser object at 0x8084205d0>, backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x806e2f750>, x509_obj = <cdata 'X509 *' 0x807929380> > >[1m def parse(self, backend, x509_obj):[0m >[1m extensions = [][0m >[1m seen_oids = set()[0m >[1m for i in range(self.ext_count(backend, x509_obj)):[0m >[1m ext = self.get_ext(backend, x509_obj, i)[0m >[1m backend.openssl_assert(ext != backend._ffi.NULL)[0m >[1m crit = backend._lib.X509_EXTENSION_get_critical(ext)[0m >[1m critical = crit == 1[0m >[1m oid = x509.ObjectIdentifier([0m >[1m _obj2txt(backend, backend._lib.X509_EXTENSION_get_object(ext))[0m >[1m )[0m >[1m if oid in seen_oids:[0m >[1m raise x509.DuplicateExtension([0m >[1m "Duplicate {0} extension found".format(oid), oid[0m >[1m )[0m >[1m [0m >[1m # This OID is only supported in OpenSSL 1.1.0+ but we want[0m >[1m # to support it in all versions of OpenSSL so we decode it[0m >[1m # ourselves.[0m >[1m if oid == ExtensionOID.TLS_FEATURE:[0m >[1m data = backend._lib.X509_EXTENSION_get_data(ext)[0m >[1m parsed = _Integers.load(_asn1_string_to_bytes(backend, data))[0m >[1m value = x509.TLSFeature([0m >[1m [_TLS_FEATURE_TYPE_TO_ENUM[x.native] for x in parsed][0m >[1m )[0m >[1m extensions.append(x509.Extension(oid, critical, value))[0m >[1m seen_oids.add(oid)[0m >[1m continue[0m >[1m [0m >[1m try:[0m >[1m handler = self.handlers[oid][0m >[1m except KeyError:[0m >[1m # Dump the DER payload into an UnrecognizedExtension object[0m >[1m data = backend._lib.X509_EXTENSION_get_data(ext)[0m >[1m backend.openssl_assert(data != backend._ffi.NULL)[0m >[1m der = backend._ffi.buffer(data.data, data.length)[:][0m >[1m unrecognized = x509.UnrecognizedExtension(oid, der)[0m >[1m extensions.append([0m >[1m x509.Extension(oid, critical, unrecognized)[0m >[1m )[0m >[1m else:[0m >[1m ext_data = backend._lib.X509V3_EXT_d2i(ext)[0m >[1m if ext_data == backend._ffi.NULL:[0m >[1m backend._consume_errors()[0m >[1m raise ValueError([0m >[1m "The {0} extension is invalid and can't be "[0m >[1m> "parsed".format(oid)[0m >[1m )[0m >[1m[31mE ValueError: The <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.2, name=Unknown OID)> extension is invalid and can't be parsed[0m > >[1m[31msrc/cryptography/hazmat/backends/openssl/decode_asn1.py[0m:235: ValueError >[1m[31m========================================================================================== 27 failed, 90118 passed, 7390 skipped in 428.18 seconds ==========================================================================================[0m >*** Error code 1 > >Stop. >make: stopped in /usr/ports/security/py-cryptography > [m[23m[24m[J[builder@build py-cryptography]$ [K[?2004haag [?2004l > [m[23m[24m[J[builder@build py-cryptography]$ [K[?2004h[?2004l > >Script done on Sun May 13 13:14:01 2018
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 226906
:
191799
|
192331
|
192933
|
193350
|
193351
|
193887
|
193965
|
195386