+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pycryptodome-3.20.0-2.fc36.x86_64/usr/lib64/python3.9/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pycryptodome-3.20.0-2.fc36.x86_64/usr/lib/python3.9/site-packages + /usr/bin/pytest -ra -m 'not network' --import-mode=importlib ============================= test session starts ============================== platform linux -- Python 3.9.18, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0 configfile: pyproject.toml collected 1889 items lib/Crypto/SelfTest/Cipher/test_AES.py ... [ 0%] lib/Crypto/SelfTest/Cipher/test_ARC2.py ... [ 0%] lib/Crypto/SelfTest/Cipher/test_ARC4.py .... [ 0%] lib/Crypto/SelfTest/Cipher/test_Blowfish.py .. [ 0%] lib/Crypto/SelfTest/Cipher/test_CAST.py .. [ 0%] lib/Crypto/SelfTest/Cipher/test_CBC.py FFFFFFFFFFFFFFFFFFFFF............ [ 2%] ..................................... [ 4%] lib/Crypto/SelfTest/Cipher/test_CCM.py ................................. [ 6%] ...... [ 6%] lib/Crypto/SelfTest/Cipher/test_CFB.py FFFFFFFFFFFFFFFFFFFFF............ [ 8%] ............................................................ [ 11%] lib/Crypto/SelfTest/Cipher/test_CTR.py ......................... [ 12%] lib/Crypto/SelfTest/Cipher/test_ChaCha20.py ................. [ 13%] lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py ................... [ 14%] ............... [ 15%] lib/Crypto/SelfTest/Cipher/test_DES.py .. [ 15%] lib/Crypto/SelfTest/Cipher/test_DES3.py ..... [ 15%] lib/Crypto/SelfTest/Cipher/test_EAX.py ................................. [ 17%] ........................................................................ [ 21%] ........................................................................ [ 25%] ................................................... [ 27%] lib/Crypto/SelfTest/Cipher/test_GCM.py ................................. [ 29%] ...E [ 29%] lib/Crypto/SelfTest/Cipher/test_OCB.py ................................. [ 31%] ... [ 31%] lib/Crypto/SelfTest/Cipher/test_OFB.py FFFFFFFFFFFFFFFFFFFFF............ [ 33%] ..................................... [ 35%] lib/Crypto/SelfTest/Cipher/test_OpenPGP.py FFFFFFFFFFFFFFFFFFFFF........ [ 37%] ............... [ 37%] lib/Crypto/SelfTest/Cipher/test_SIV.py ...........................EEEE [ 39%] lib/Crypto/SelfTest/Cipher/test_Salsa20.py ...... [ 39%] lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py .........E [ 40%] lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py ..........E [ 40%] lib/Crypto/SelfTest/Hash/test_BLAKE2.py FFFFFFFFFFFFF................... [ 42%] .......F..F..F.. [ 43%] lib/Crypto/SelfTest/Hash/test_CMAC.py ...... [ 43%] lib/Crypto/SelfTest/Hash/test_HMAC.py F... [ 43%] lib/Crypto/SelfTest/Hash/test_KMAC.py FFFFFFFFFFFFF..................... [ 45%] ...... [ 46%] lib/Crypto/SelfTest/Hash/test_KangarooTwelve.py ........................ [ 47%] .. [ 47%] lib/Crypto/SelfTest/Hash/test_MD5.py . [ 47%] lib/Crypto/SelfTest/Hash/test_Poly1305.py .............. [ 48%] lib/Crypto/SelfTest/Hash/test_SHA256.py . [ 48%] lib/Crypto/SelfTest/Hash/test_SHA3_224.py . [ 48%] lib/Crypto/SelfTest/Hash/test_SHA3_256.py . [ 48%] lib/Crypto/SelfTest/Hash/test_SHA3_384.py . [ 48%] lib/Crypto/SelfTest/Hash/test_SHA3_512.py . [ 48%] lib/Crypto/SelfTest/Hash/test_SHAKE.py FFFFF.......... [ 49%] lib/Crypto/SelfTest/Hash/test_TupleHash.py FFFFFFFFFF................... [ 50%] .. [ 50%] lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py FFFFFFF..................... [ 52%] ........................ [ 53%] lib/Crypto/SelfTest/Hash/test_cSHAKE.py .F.FFFFF................ [ 54%] lib/Crypto/SelfTest/Hash/test_keccak.py ........ [ 55%] lib/Crypto/SelfTest/IO/test_PBES.py .......... [ 55%] lib/Crypto/SelfTest/IO/test_PKCS8.py ..... [ 56%] lib/Crypto/SelfTest/Math/test_Numbers.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 57%] FFFFFFFFFFFFFFFFFFF..................................................... [ 61%] . [ 61%] lib/Crypto/SelfTest/Math/test_Primality.py E...... [ 62%] lib/Crypto/SelfTest/Math/test_modexp.py ............ [ 62%] lib/Crypto/SelfTest/Math/test_modmult.py .... [ 62%] lib/Crypto/SelfTest/Protocol/test_KDF.py ......................... [ 64%] lib/Crypto/SelfTest/Protocol/test_SecretSharing.py ........... [ 64%] lib/Crypto/SelfTest/Protocol/test_ecdh.py F............ [ 65%] lib/Crypto/SelfTest/Protocol/test_rfc1751.py .. [ 65%] lib/Crypto/SelfTest/PublicKey/test_DSA.py .......... [ 66%] lib/Crypto/SelfTest/PublicKey/test_ECC_25519.py .................... [ 67%] lib/Crypto/SelfTest/PublicKey/test_ECC_448.py .................... [ 68%] lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py ......................... [ 69%] ....................................................................... [ 73%] lib/Crypto/SelfTest/PublicKey/test_ElGamal.py ....... [ 73%] lib/Crypto/SelfTest/PublicKey/test_RSA.py ................. [ 74%] lib/Crypto/SelfTest/PublicKey/test_import_DSA.py ....................... [ 75%] ... [ 75%] lib/Crypto/SelfTest/PublicKey/test_import_ECC.py ..EEEEEEEEEEEEEEEEEEEEE [ 77%] EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 80%] EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 84%] EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 87%] lib/Crypto/SelfTest/PublicKey/test_import_RSA.py ....................... [ 88%] ................. [ 89%] lib/Crypto/SelfTest/Random/test_random.py . [ 89%] lib/Crypto/SelfTest/Signature/test_dss.py .......................EE [ 91%] lib/Crypto/SelfTest/Signature/test_eddsa.py .......FF [ 91%] lib/Crypto/SelfTest/Signature/test_pkcs1_15.py ...... [ 91%] lib/Crypto/SelfTest/Signature/test_pss.py ........ [ 92%] lib/Crypto/SelfTest/Util/test_Counter.py ...... [ 92%] lib/Crypto/SelfTest/Util/test_Padding.py ................. [ 93%] lib/Crypto/SelfTest/Util/test_asn1.py .................................. [ 95%] ..................................................... [ 98%] lib/Crypto/SelfTest/Util/test_number.py ........ [ 98%] lib/Crypto/SelfTest/Util/test_rfc1751.py .. [ 98%] lib/Crypto/SelfTest/Util/test_strxor.py .......................... [100%] ==================================== ERRORS ==================================== _________________ ERROR at setup of TestVariableLength.runTest _________________ cls = func = . at 0x7f1841fb9550> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() takes 1 positional argument but 2 were given /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError _____________ ERROR at setup of TestVectorsWycheproof.test_decrypt _____________ cls = func = . at 0x7f1841fb9550> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() takes 1 positional argument but 2 were given /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError _____________ ERROR at setup of TestVectorsWycheproof.test_encrypt _____________ cls = func = . at 0x7f1841b5a8b0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() takes 1 positional argument but 2 were given /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError ____________ ERROR at setup of TestVectorsWycheproof2.test_decrypt _____________ cls = func = . at 0x7f1841fb9af0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() takes 1 positional argument but 2 were given /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError ____________ ERROR at setup of TestVectorsWycheproof2.test_encrypt _____________ cls = func = . at 0x7f1841b5ac10> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() takes 1 positional argument but 2 were given /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError _____________ ERROR at setup of TestVectorsWycheproof.test_decrypt _____________ cls = func = . at 0x7f1841c6f4c0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() missing 1 required positional argument: 'skip_slow_tests' /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError _____________ ERROR at setup of TestVectorsWycheproof.test_decrypt _____________ cls = func = . at 0x7f1841b5a1f0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() missing 1 required positional argument: 'skip_slow_tests' /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError ____________________ ERROR at setup of test_probable_prime _____________________ file /home/tkloczko/rpmbuild/BUILDROOT/python-pycryptodome-3.20.0-2.fc36.x86_64/usr/lib64/python3.9/site-packages/Crypto/Math/Primality.py, line 222 def test_probable_prime(candidate, randfunc=None): E fixture 'candidate' not found > available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILDROOT/python-pycryptodome-3.20.0-2.fc36.x86_64/usr/lib64/python3.9/site-packages/Crypto/Math/Primality.py:222 __________ ERROR at setup of TestImport_P192.test_import_private_pem ___________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P192.test_import_private_pem_encrypted ______ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestImport_P192.test_import_private_pkcs8_clear _______ self = args = ('test_import_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P192.test_import_private_pkcs8_encrypted_1 ____ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P192.test_import_private_pkcs8_encrypted_2 ____ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P192.test_import_private_pkcs8_in_pem_clear ___ self = args = ('test_import_private_pkcs8_in_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P192.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P192.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P192.test_import_rfc5915_der ___________ self = args = ('test_import_rfc5915_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________ ERROR at setup of TestImport_P192.test_import_sec1_compressed _________ self = args = ('test_import_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_P192.test_import_sec1_uncompressed ________ self = args = ('test_import_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P192.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P192.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P224.test_import_private_pem ___________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P224.test_import_private_pem_encrypted ______ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestImport_P224.test_import_private_pkcs8_clear _______ self = args = ('test_import_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P224.test_import_private_pkcs8_encrypted_1 ____ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P224.test_import_private_pkcs8_encrypted_2 ____ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P224.test_import_private_pkcs8_encrypted_3 ____ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P224.test_import_private_pkcs8_in_pem_clear ___ self = args = ('test_import_private_pkcs8_in_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P224.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P224.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P224.test_import_rfc5915_der ___________ self = args = ('test_import_rfc5915_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________ ERROR at setup of TestImport_P224.test_import_sec1_compressed _________ self = args = ('test_import_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_P224.test_import_sec1_uncompressed ________ self = args = ('test_import_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P224.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P224.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P256.test_import_openssh_private_clear ______ self = args = ('test_import_openssh_private_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestImport_P256.test_import_openssh_private_password ____ self = args = ('test_import_openssh_private_password',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_P256.test_import_openssh_public _________ self = args = ('test_import_openssh_public',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P256.test_import_private_pem ___________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P256.test_import_private_pem_encrypted ______ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P256.test_import_private_pem_with_ecparams ____ self = args = ('test_import_private_pem_with_ecparams',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestImport_P256.test_import_private_pkcs8_clear _______ self = args = ('test_import_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P256.test_import_private_pkcs8_encrypted_1 ____ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P256.test_import_private_pkcs8_encrypted_2 ____ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P256.test_import_private_pkcs8_encrypted_3 ____ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P256.test_import_private_pkcs8_in_pem_clear ___ self = args = ('test_import_private_pkcs8_in_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P256.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P256.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P256.test_import_rfc5915_der ___________ self = args = ('test_import_rfc5915_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________ ERROR at setup of TestImport_P256.test_import_sec1_compressed _________ self = args = ('test_import_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_P256.test_import_sec1_uncompressed ________ self = args = ('test_import_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P256.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P256.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P384.test_import_openssh_private_clear ______ self = args = ('test_import_openssh_private_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestImport_P384.test_import_openssh_private_password ____ self = args = ('test_import_openssh_private_password',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_P384.test_import_openssh_public _________ self = args = ('test_import_openssh_public',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P384.test_import_private_pem ___________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P384.test_import_private_pem_encrypted ______ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestImport_P384.test_import_private_pkcs8_clear _______ self = args = ('test_import_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P384.test_import_private_pkcs8_encrypted_1 ____ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P384.test_import_private_pkcs8_encrypted_2 ____ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P384.test_import_private_pkcs8_encrypted_3 ____ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P384.test_import_private_pkcs8_in_pem_clear ___ self = args = ('test_import_private_pkcs8_in_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P384.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P384.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P384.test_import_rfc5915_der ___________ self = args = ('test_import_rfc5915_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________ ERROR at setup of TestImport_P384.test_import_sec1_compressed _________ self = args = ('test_import_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_P384.test_import_sec1_uncompressed ________ self = args = ('test_import_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P384.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P384.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P521.test_import_openssh_private_clear ______ self = args = ('test_import_openssh_private_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestImport_P521.test_import_openssh_private_password ____ self = args = ('test_import_openssh_private_password',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_P521.test_import_openssh_public _________ self = args = ('test_import_openssh_public',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P521.test_import_private_pem ___________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_P521.test_import_private_pem_encrypted ______ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestImport_P521.test_import_private_pkcs8_clear _______ self = args = ('test_import_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P521.test_import_private_pkcs8_encrypted_1 ____ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P521.test_import_private_pkcs8_encrypted_2 ____ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P521.test_import_private_pkcs8_encrypted_3 ____ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_P521.test_import_private_pkcs8_in_pem_clear ___ self = args = ('test_import_private_pkcs8_in_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P521.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_P521.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_P521.test_import_rfc5915_der ___________ self = args = ('test_import_rfc5915_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________ ERROR at setup of TestImport_P521.test_import_sec1_compressed _________ self = args = ('test_import_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_P521.test_import_sec1_uncompressed ________ self = args = ('test_import_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P521.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestImport_P521.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P192.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_P192.test_compressed_curve ____________ self = args = ('test_compressed_curve',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_P192.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P192.test_export_private_pem_clear ________ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P192.test_export_private_pem_encrypted ______ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_private_pkcs8_and_pem_1 _____ self = args = ('test_export_private_pkcs8_and_pem_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_private_pkcs8_and_pem_2 _____ self = args = ('test_export_private_pkcs8_and_pem_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P192.test_export_private_pkcs8_clear _______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_private_pkcs8_encrypted _____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P192.test_export_public_der_compressed ______ self = args = ('test_export_public_der_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_public_der_uncompressed _____ self = args = ('test_export_public_der_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P192.test_export_public_pem_compressed ______ self = args = ('test_export_public_pem_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_public_pem_uncompressed _____ self = args = ('test_export_public_pem_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P192.test_export_public_sec1_compressed _____ self = args = ('test_export_public_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P192.test_export_public_sec1_uncompressed ____ self = args = ('test_export_public_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P192.test_export_rfc5915_private_der _______ self = args = ('test_export_rfc5915_private_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_P192.test_prng __________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P192, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p192() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: in create_ref_keys_p192 key_lines = load_file("ecc_p192.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p192.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p192.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P224.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_P224.test_compressed_curve ____________ self = args = ('test_compressed_curve',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_P224.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P224.test_export_private_pem_clear ________ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P224.test_export_private_pem_encrypted ______ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_private_pkcs8_and_pem_1 _____ self = args = ('test_export_private_pkcs8_and_pem_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_private_pkcs8_and_pem_2 _____ self = args = ('test_export_private_pkcs8_and_pem_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P224.test_export_private_pkcs8_clear _______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_private_pkcs8_encrypted _____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P224.test_export_public_der_compressed ______ self = args = ('test_export_public_der_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_public_der_uncompressed _____ self = args = ('test_export_public_der_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P224.test_export_public_pem_compressed ______ self = args = ('test_export_public_pem_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_public_pem_uncompressed _____ self = args = ('test_export_public_pem_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P224.test_export_public_sec1_compressed _____ self = args = ('test_export_public_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P224.test_export_public_sec1_uncompressed ____ self = args = ('test_export_public_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P224.test_export_rfc5915_private_der _______ self = args = ('test_export_rfc5915_private_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_P224.test_prng __________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P224, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p224() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: in create_ref_keys_p224 key_lines = load_file("ecc_p224.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p224.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p224.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P256.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_P256.test_compressed_curve ____________ self = args = ('test_compressed_curve',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_P256.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P256.test_export_openssh_compressed _______ self = args = ('test_export_openssh_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P256.test_export_openssh_uncompressed ______ self = args = ('test_export_openssh_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P256.test_export_private_pem_clear ________ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P256.test_export_private_pem_encrypted ______ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_private_pkcs8_and_pem_1 _____ self = args = ('test_export_private_pkcs8_and_pem_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_private_pkcs8_and_pem_2 _____ self = args = ('test_export_private_pkcs8_and_pem_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P256.test_export_private_pkcs8_clear _______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_private_pkcs8_encrypted _____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P256.test_export_public_der_compressed ______ self = args = ('test_export_public_der_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_public_der_uncompressed _____ self = args = ('test_export_public_der_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P256.test_export_public_pem_compressed ______ self = args = ('test_export_public_pem_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_public_pem_uncompressed _____ self = args = ('test_export_public_pem_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P256.test_export_public_sec1_compressed _____ self = args = ('test_export_public_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P256.test_export_public_sec1_uncompressed ____ self = args = ('test_export_public_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P256.test_export_rfc5915_private_der _______ self = args = ('test_export_rfc5915_private_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_P256.test_prng __________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P256, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p256() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: in create_ref_keys_p256 key_lines = load_file("ecc_p256.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p256.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p256.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P384.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_P384.test_compressed_curve ____________ self = args = ('test_compressed_curve',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_P384.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P384.test_export_openssh_compressed _______ self = args = ('test_export_openssh_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P384.test_export_openssh_uncompressed ______ self = args = ('test_export_openssh_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P384.test_export_private_pem_clear ________ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P384.test_export_private_pem_encrypted ______ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_private_pkcs8_and_pem_1 _____ self = args = ('test_export_private_pkcs8_and_pem_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_private_pkcs8_and_pem_2 _____ self = args = ('test_export_private_pkcs8_and_pem_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P384.test_export_private_pkcs8_clear _______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_private_pkcs8_encrypted _____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P384.test_export_public_der_compressed ______ self = args = ('test_export_public_der_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_public_der_uncompressed _____ self = args = ('test_export_public_der_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P384.test_export_public_pem_compressed ______ self = args = ('test_export_public_pem_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_public_pem_uncompressed _____ self = args = ('test_export_public_pem_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P384.test_export_public_sec1_compressed _____ self = args = ('test_export_public_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P384.test_export_public_sec1_uncompressed ____ self = args = ('test_export_public_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P384.test_export_rfc5915_private_der _______ self = args = ('test_export_rfc5915_private_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_P384.test_prng __________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P384, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p384() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: in create_ref_keys_p384 key_lines = load_file("ecc_p384.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p384.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p384.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P521.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_P521.test_compressed_curve ____________ self = args = ('test_compressed_curve',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_P521.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P521.test_export_openssh_compressed _______ self = args = ('test_export_openssh_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P521.test_export_openssh_uncompressed ______ self = args = ('test_export_openssh_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_P521.test_export_private_pem_clear ________ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P521.test_export_private_pem_encrypted ______ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_private_pkcs8_and_pem_1 _____ self = args = ('test_export_private_pkcs8_and_pem_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_private_pkcs8_and_pem_2 _____ self = args = ('test_export_private_pkcs8_and_pem_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P521.test_export_private_pkcs8_clear _______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_private_pkcs8_encrypted _____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P521.test_export_public_der_compressed ______ self = args = ('test_export_public_der_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_public_der_uncompressed _____ self = args = ('test_export_public_der_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P521.test_export_public_pem_compressed ______ self = args = ('test_export_public_pem_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_public_pem_uncompressed _____ self = args = ('test_export_public_pem_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_P521.test_export_public_sec1_compressed _____ self = args = ('test_export_public_sec1_compressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_P521.test_export_public_sec1_uncompressed ____ self = args = ('test_export_public_sec1_uncompressed',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_P521.test_export_rfc5915_private_der _______ self = args = ('test_export_rfc5915_private_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_P521.test_prng __________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_P521, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_p521() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: in create_ref_keys_p521 key_lines = load_file("ecc_p521.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_p521.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_p521.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestImport_Ed25519.test_import_openssh_private_clear ____ self = args = ('test_import_openssh_private_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __ ERROR at setup of TestImport_Ed25519.test_import_openssh_private_password ___ self = args = ('test_import_openssh_private_password',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestImport_Ed25519.test_import_openssh_public ________ self = args = ('test_import_openssh_public',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed25519.test_import_pkcs8_der __________ self = args = ('test_import_pkcs8_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_Ed25519.test_import_private_pem _________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestImport_Ed25519.test_import_private_pem_encrypted ____ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __ ERROR at setup of TestImport_Ed25519.test_import_private_pkcs8_encrypted_1 __ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __ ERROR at setup of TestImport_Ed25519.test_import_private_pkcs8_encrypted_2 __ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __ ERROR at setup of TestImport_Ed25519.test_import_private_pkcs8_encrypted_3 __ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_Ed25519.test_import_public_der __________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestImport_Ed25519.test_import_public_pem __________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed25519.test_import_x509_der ___________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed25519.test_import_x509_pem ___________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_Ed25519.test_byte_or_string_passphrase ______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_Ed25519.test_error_params1 ____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestExport_Ed25519.test_export_openssh ___________ self = args = ('test_export_openssh',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_Ed25519.test_export_private_pem_clear ______ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_Ed25519.test_export_private_pem_encrypted ____ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_Ed25519.test_export_private_pkcs8_clear _____ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestExport_Ed25519.test_export_private_pkcs8_encrypted ___ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestExport_Ed25519.test_export_public_der __________ self = args = ('test_export_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestExport_Ed25519.test_export_public_pem __________ self = args = ('test_export_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________ ERROR at setup of TestExport_Ed25519.test_export_public_sec1 _________ self = args = ('test_export_public_sec1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____________ ERROR at setup of TestExport_Ed25519.test_export_raw _____________ self = args = ('test_export_raw',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ________________ ERROR at setup of TestExport_Ed25519.test_prng ________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed25519, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed25519() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: in create_ref_keys_ed25519 key_lines = load_file("ecc_ed25519.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed25519.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed25519.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_Ed448.test_import_pkcs8_der ___________ self = args = ('test_import_pkcs8_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed448.test_import_private_pem __________ self = args = ('test_import_private_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestImport_Ed448.test_import_private_pem_encrypted _____ self = args = ('test_import_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_Ed448.test_import_private_pkcs8_encrypted_1 ___ self = args = ('test_import_private_pkcs8_encrypted_1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_Ed448.test_import_private_pkcs8_encrypted_2 ___ self = args = ('test_import_private_pkcs8_encrypted_2',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___ ERROR at setup of TestImport_Ed448.test_import_private_pkcs8_encrypted_3 ___ self = args = ('test_import_private_pkcs8_encrypted_3',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed448.test_import_public_der ___________ self = args = ('test_import_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestImport_Ed448.test_import_public_pem ___________ self = args = ('test_import_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_Ed448.test_import_x509_der ____________ self = args = ('test_import_x509_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ___________ ERROR at setup of TestImport_Ed448.test_import_x509_pem ____________ self = args = ('test_import_x509_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestImport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_Ed448.test_byte_or_string_passphrase _______ self = args = ('test_byte_or_string_passphrase',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestExport_Ed448.test_error_params1 _____________ self = args = ('test_error_params1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestExport_Ed448.test_export_openssh ____________ self = args = ('test_export_openssh',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _______ ERROR at setup of TestExport_Ed448.test_export_private_pem_clear _______ self = args = ('test_export_private_pem_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _____ ERROR at setup of TestExport_Ed448.test_export_private_pem_encrypted _____ self = args = ('test_export_private_pem_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______ ERROR at setup of TestExport_Ed448.test_export_private_pkcs8_clear ______ self = args = ('test_export_private_pkcs8_clear',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____ ERROR at setup of TestExport_Ed448.test_export_private_pkcs8_encrypted ____ self = args = ('test_export_private_pkcs8_encrypted',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestExport_Ed448.test_export_public_der ___________ self = args = ('test_export_public_der',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestExport_Ed448.test_export_public_pem ___________ self = args = ('test_export_public_pem',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException __________ ERROR at setup of TestExport_Ed448.test_export_public_sec1 __________ self = args = ('test_export_public_sec1',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ______________ ERROR at setup of TestExport_Ed448.test_export_raw ______________ self = args = ('test_export_raw',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException _________________ ERROR at setup of TestExport_Ed448.test_prng _________________ self = args = ('test_prng',), kwargs = {} def __init__(self, *args, **kwargs): super(TestExport_Ed448, self).__init__(*args, **kwargs) > self.ref_private, self.ref_public = create_ref_keys_ed448() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: in create_ref_keys_ed448 key_lines = load_file("ecc_ed448.txt").splitlines() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ file_name = 'ecc_ed448.txt', mode = 'rb' def load_file(file_name, mode="rb"): results = None try: if not test_vectors_available: raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_name) dir_comps = ("PublicKey", "ECC") init_dir = os.path.dirname(pycryptodome_test_vectors.__file__) full_file_name = os.path.join(os.path.join(init_dir, *dir_comps), file_name) with open(full_file_name, mode) as file_in: results = file_in.read() except FileNotFoundError: warnings.warn("Warning: skipping extended tests for ECC", UserWarning, stacklevel=2) if results is None: > raise MissingTestVectorException("Missing %s" % file_name) E Crypto.SelfTest.PublicKey.test_import_ECC.MissingTestVectorException: Missing ecc_ed448.txt lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:77: MissingTestVectorException ____________ ERROR at setup of TestVectorsDSAWycheproof.test_verify ____________ cls = func = . at 0x7f184157da60> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() missing 1 required positional argument: 'slow_tests' /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError ___________ ERROR at setup of TestVectorsECDSAWycheproof.test_verify ___________ cls = func = . at 0x7f1841636ca0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.9/site-packages/_pytest/runner.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/site-packages/_pytest/runner.py:240: in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.9/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.9/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/logging.py:843: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3.9/site-packages/_pytest/logging.py:832: in _runtest_for yield /usr/lib/python3.9/site-packages/_pytest/capture.py:878: in pytest_runtest_setup return (yield) /usr/lib/python3.9/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3.9/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3.9/site-packages/_pytest/runner.py:158: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.9/site-packages/_pytest/runner.py:515: in setup raise exc /usr/lib/python3.9/site-packages/_pytest/runner.py:512: in setup col.setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self) -> None: # A bound method to be called during teardown() if set (see 'runtest()'). self._explicit_tearDown: Optional[Callable[[], None]] = None assert self.parent is not None > self._testcase = self.parent.obj(self.name) # type: ignore[attr-defined] E TypeError: __init__() missing 1 required positional argument: 'slow_tests' /usr/lib/python3.9/site-packages/_pytest/unittest.py:187: TypeError =================================== FAILURES =================================== ___________________ BlockChainingTests.test_IV_iv_attributes ___________________ self = def test_IV_iv_attributes(self): data = get_tag_random("data", 16 * 100) for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:135: AttributeError ____________________ BlockChainingTests.test_block_size_128 ____________________ self = def test_block_size_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:107: AttributeError ____________________ BlockChainingTests.test_block_size_64 _____________________ self = def test_block_size_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:111: AttributeError ______________________ BlockChainingTests.test_bytearray _______________________ self = def test_bytearray(self): data = b"1" * 128 data_ba = bytearray(data) # Encrypt key_ba = bytearray(self.key_128) iv_ba = bytearray(self.iv_128) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:178: AttributeError __________________ BlockChainingTests.test_data_must_be_bytes __________________ self = def test_data_must_be_bytes(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:164: AttributeError ______________ BlockChainingTests.test_either_encrypt_or_decrypt _______________ self = def test_either_encrypt_or_decrypt(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:155: AttributeError __________________________ BlockChainingTests.test_iv __________________________ self = def test_iv(self): # If not passed, the iv is created randomly > cipher = AES.new(self.key_128, self.aes_mode) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:72: AttributeError ___________________ BlockChainingTests.test_iv_must_be_bytes ___________________ self = def test_iv_must_be_bytes(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv = u'test1234567890-*') E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:90: AttributeError _______________ BlockChainingTests.test_iv_with_matching_length ________________ self = def test_iv_with_matching_length(self): > self.assertRaises(ValueError, AES.new, self.key_128, self.aes_mode, b"") E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:99: AttributeError _____________________ BlockChainingTests.test_loopback_128 _____________________ self = def test_loopback_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:53: AttributeError _____________________ BlockChainingTests.test_loopback_64 ______________________ self = def test_loopback_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:62: AttributeError ______________________ BlockChainingTests.test_memoryview ______________________ self = def test_memoryview(self): data = b"1" * 128 data_mv = memoryview(bytearray(data)) # Encrypt key_mv = memoryview(bytearray(self.key_128)) iv_mv = memoryview(bytearray(self.iv_128)) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:211: AttributeError ______________ BlockChainingTests.test_null_encryption_decryption ______________ self = def test_null_encryption_decryption(self): for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:150: AttributeError _____________________ BlockChainingTests.test_only_one_iv ______________________ self = def test_only_one_iv(self): # Only one IV/iv keyword allowed > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv=self.iv_128, IV=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:95: AttributeError _____________________ BlockChainingTests.test_output_param _____________________ self = def test_output_param(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:239: AttributeError _______________ BlockChainingTests.test_output_param_memoryview ________________ self = def test_output_param_memoryview(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:276: AttributeError ___________________ BlockChainingTests.test_output_param_neg ___________________ self = def test_output_param_neg(self): LEN_PT = 128 pt = b'5' * LEN_PT > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:292: AttributeError _______________ BlockChainingTests.test_output_param_same_buffer _______________ self = def test_output_param_same_buffer(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:257: AttributeError __________________ BlockChainingTests.test_unaligned_data_128 __________________ self = def test_unaligned_data_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:115: AttributeError __________________ BlockChainingTests.test_unaligned_data_64 ___________________ self = def test_unaligned_data_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:124: AttributeError __________________ BlockChainingTests.test_unknown_parameters __________________ self = def test_unknown_parameters(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, self.iv_128, 7) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:141: AttributeError ___________________ BlockChainingTests.test_IV_iv_attributes ___________________ self = def test_IV_iv_attributes(self): data = get_tag_random("data", 16 * 100) for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:135: AttributeError ____________________ BlockChainingTests.test_block_size_128 ____________________ self = def test_block_size_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:107: AttributeError ____________________ BlockChainingTests.test_block_size_64 _____________________ self = def test_block_size_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:111: AttributeError ______________________ BlockChainingTests.test_bytearray _______________________ self = def test_bytearray(self): data = b"1" * 128 data_ba = bytearray(data) # Encrypt key_ba = bytearray(self.key_128) iv_ba = bytearray(self.iv_128) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:178: AttributeError __________________ BlockChainingTests.test_data_must_be_bytes __________________ self = def test_data_must_be_bytes(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:164: AttributeError ______________ BlockChainingTests.test_either_encrypt_or_decrypt _______________ self = def test_either_encrypt_or_decrypt(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:155: AttributeError __________________________ BlockChainingTests.test_iv __________________________ self = def test_iv(self): # If not passed, the iv is created randomly > cipher = AES.new(self.key_128, self.aes_mode) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:72: AttributeError ___________________ BlockChainingTests.test_iv_must_be_bytes ___________________ self = def test_iv_must_be_bytes(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv = u'test1234567890-*') E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:90: AttributeError _______________ BlockChainingTests.test_iv_with_matching_length ________________ self = def test_iv_with_matching_length(self): > self.assertRaises(ValueError, AES.new, self.key_128, self.aes_mode, b"") E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:99: AttributeError _____________________ BlockChainingTests.test_loopback_128 _____________________ self = def test_loopback_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:53: AttributeError _____________________ BlockChainingTests.test_loopback_64 ______________________ self = def test_loopback_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:62: AttributeError ______________________ BlockChainingTests.test_memoryview ______________________ self = def test_memoryview(self): data = b"1" * 128 data_mv = memoryview(bytearray(data)) # Encrypt key_mv = memoryview(bytearray(self.key_128)) iv_mv = memoryview(bytearray(self.iv_128)) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:211: AttributeError ______________ BlockChainingTests.test_null_encryption_decryption ______________ self = def test_null_encryption_decryption(self): for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:150: AttributeError _____________________ BlockChainingTests.test_only_one_iv ______________________ self = def test_only_one_iv(self): # Only one IV/iv keyword allowed > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv=self.iv_128, IV=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:95: AttributeError _____________________ BlockChainingTests.test_output_param _____________________ self = def test_output_param(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:239: AttributeError _______________ BlockChainingTests.test_output_param_memoryview ________________ self = def test_output_param_memoryview(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:276: AttributeError ___________________ BlockChainingTests.test_output_param_neg ___________________ self = def test_output_param_neg(self): LEN_PT = 128 pt = b'5' * LEN_PT > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:292: AttributeError _______________ BlockChainingTests.test_output_param_same_buffer _______________ self = def test_output_param_same_buffer(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:257: AttributeError __________________ BlockChainingTests.test_unaligned_data_128 __________________ self = def test_unaligned_data_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:115: AttributeError __________________ BlockChainingTests.test_unaligned_data_64 ___________________ self = def test_unaligned_data_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:124: AttributeError __________________ BlockChainingTests.test_unknown_parameters __________________ self = def test_unknown_parameters(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, self.iv_128, 7) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:141: AttributeError ___________________ BlockChainingTests.test_IV_iv_attributes ___________________ self = def test_IV_iv_attributes(self): data = get_tag_random("data", 16 * 100) for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:135: AttributeError ____________________ BlockChainingTests.test_block_size_128 ____________________ self = def test_block_size_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:107: AttributeError ____________________ BlockChainingTests.test_block_size_64 _____________________ self = def test_block_size_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:111: AttributeError ______________________ BlockChainingTests.test_bytearray _______________________ self = def test_bytearray(self): data = b"1" * 128 data_ba = bytearray(data) # Encrypt key_ba = bytearray(self.key_128) iv_ba = bytearray(self.iv_128) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:178: AttributeError __________________ BlockChainingTests.test_data_must_be_bytes __________________ self = def test_data_must_be_bytes(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:164: AttributeError ______________ BlockChainingTests.test_either_encrypt_or_decrypt _______________ self = def test_either_encrypt_or_decrypt(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:155: AttributeError __________________________ BlockChainingTests.test_iv __________________________ self = def test_iv(self): # If not passed, the iv is created randomly > cipher = AES.new(self.key_128, self.aes_mode) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:72: AttributeError ___________________ BlockChainingTests.test_iv_must_be_bytes ___________________ self = def test_iv_must_be_bytes(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv = u'test1234567890-*') E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:90: AttributeError _______________ BlockChainingTests.test_iv_with_matching_length ________________ self = def test_iv_with_matching_length(self): > self.assertRaises(ValueError, AES.new, self.key_128, self.aes_mode, b"") E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:99: AttributeError _____________________ BlockChainingTests.test_loopback_128 _____________________ self = def test_loopback_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:53: AttributeError _____________________ BlockChainingTests.test_loopback_64 ______________________ self = def test_loopback_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:62: AttributeError ______________________ BlockChainingTests.test_memoryview ______________________ self = def test_memoryview(self): data = b"1" * 128 data_mv = memoryview(bytearray(data)) # Encrypt key_mv = memoryview(bytearray(self.key_128)) iv_mv = memoryview(bytearray(self.iv_128)) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:211: AttributeError ______________ BlockChainingTests.test_null_encryption_decryption ______________ self = def test_null_encryption_decryption(self): for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:150: AttributeError _____________________ BlockChainingTests.test_only_one_iv ______________________ self = def test_only_one_iv(self): # Only one IV/iv keyword allowed > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv=self.iv_128, IV=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:95: AttributeError _____________________ BlockChainingTests.test_output_param _____________________ self = def test_output_param(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:239: AttributeError _______________ BlockChainingTests.test_output_param_memoryview ________________ self = def test_output_param_memoryview(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:276: AttributeError ___________________ BlockChainingTests.test_output_param_neg ___________________ self = def test_output_param_neg(self): LEN_PT = 128 pt = b'5' * LEN_PT > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:292: AttributeError _______________ BlockChainingTests.test_output_param_same_buffer _______________ self = def test_output_param_same_buffer(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:257: AttributeError __________________ BlockChainingTests.test_unaligned_data_128 __________________ self = def test_unaligned_data_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:115: AttributeError __________________ BlockChainingTests.test_unaligned_data_64 ___________________ self = def test_unaligned_data_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:124: AttributeError __________________ BlockChainingTests.test_unknown_parameters __________________ self = def test_unknown_parameters(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, self.iv_128, 7) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:141: AttributeError ___________________ BlockChainingTests.test_IV_iv_attributes ___________________ self = def test_IV_iv_attributes(self): data = get_tag_random("data", 16 * 100) for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:135: AttributeError ____________________ BlockChainingTests.test_block_size_128 ____________________ self = def test_block_size_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:107: AttributeError ____________________ BlockChainingTests.test_block_size_64 _____________________ self = def test_block_size_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:111: AttributeError ______________________ BlockChainingTests.test_bytearray _______________________ self = def test_bytearray(self): data = b"1" * 128 data_ba = bytearray(data) # Encrypt key_ba = bytearray(self.key_128) iv_ba = bytearray(self.iv_128) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:178: AttributeError __________________ BlockChainingTests.test_data_must_be_bytes __________________ self = def test_data_must_be_bytes(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:164: AttributeError ______________ BlockChainingTests.test_either_encrypt_or_decrypt _______________ self = def test_either_encrypt_or_decrypt(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:155: AttributeError __________________________ BlockChainingTests.test_iv __________________________ self = def test_iv(self): # If not passed, the iv is created randomly > cipher = AES.new(self.key_128, self.aes_mode) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:72: AttributeError ___________________ BlockChainingTests.test_iv_must_be_bytes ___________________ self = def test_iv_must_be_bytes(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv = u'test1234567890-*') E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:90: AttributeError _______________ BlockChainingTests.test_iv_with_matching_length ________________ self = def test_iv_with_matching_length(self): > self.assertRaises(ValueError, AES.new, self.key_128, self.aes_mode, b"") E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:99: AttributeError _____________________ BlockChainingTests.test_loopback_128 _____________________ self = def test_loopback_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:53: AttributeError _____________________ BlockChainingTests.test_loopback_64 ______________________ self = def test_loopback_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:62: AttributeError ______________________ BlockChainingTests.test_memoryview ______________________ self = def test_memoryview(self): data = b"1" * 128 data_mv = memoryview(bytearray(data)) # Encrypt key_mv = memoryview(bytearray(self.key_128)) iv_mv = memoryview(bytearray(self.iv_128)) > cipher1 = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:211: AttributeError ______________ BlockChainingTests.test_null_encryption_decryption ______________ self = def test_null_encryption_decryption(self): for func in "encrypt", "decrypt": > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:150: AttributeError _____________________ BlockChainingTests.test_only_one_iv ______________________ self = def test_only_one_iv(self): # Only one IV/iv keyword allowed > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, iv=self.iv_128, IV=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:95: AttributeError _____________________ BlockChainingTests.test_output_param _____________________ self = def test_output_param(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:239: AttributeError _______________ BlockChainingTests.test_output_param_memoryview ________________ self = def test_output_param_memoryview(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:276: AttributeError ___________________ BlockChainingTests.test_output_param_neg ___________________ self = def test_output_param_neg(self): LEN_PT = 128 pt = b'5' * LEN_PT > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:292: AttributeError _______________ BlockChainingTests.test_output_param_same_buffer _______________ self = def test_output_param_same_buffer(self): pt = b'5' * 128 > cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:257: AttributeError __________________ BlockChainingTests.test_unaligned_data_128 __________________ self = def test_unaligned_data_128(self): > cipher = AES.new(self.key_128, self.aes_mode, self.iv_128) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:115: AttributeError __________________ BlockChainingTests.test_unaligned_data_64 ___________________ self = def test_unaligned_data_64(self): > cipher = DES3.new(self.key_192, self.des3_mode, self.iv_64) E AttributeError: 'BlockChainingTests' object has no attribute 'des3_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:124: AttributeError __________________ BlockChainingTests.test_unknown_parameters __________________ self = def test_unknown_parameters(self): > self.assertRaises(TypeError, AES.new, self.key_128, self.aes_mode, self.iv_128, 7) E AttributeError: 'BlockChainingTests' object has no attribute 'aes_mode' lib/Crypto/SelfTest/Cipher/test_CBC.py:141: AttributeError __________________________ Blake2Test.test_bytearray ___________________________ self = def test_bytearray(self): key = b'0' * 16 data = b"\x00\x01\x02" # Data and key can be a bytearray (during initialization) key_ba = bytearray(key) data_ba = bytearray(data) > h1 = self.BLAKE2.new(data=data, key=key) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:182: AttributeError _____________________ Blake2Test.test_default_digest_size ______________________ self = def test_default_digest_size(self): > digest = self.BLAKE2.new(data=b'abc').digest() E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:90: AttributeError ____________________________ Blake2Test.test_digest ____________________________ self = def test_digest(self): > h = self.BLAKE2.new(digest_bytes=self.max_bytes) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:107: AttributeError __________________________ Blake2Test.test_hex_digest __________________________ self = def test_hex_digest(self): > mac = self.BLAKE2.new(digest_bits=self.max_bits) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:133: AttributeError __________________________ Blake2Test.test_hexverify ___________________________ self = def test_hexverify(self): > h = self.BLAKE2.new(digest_bytes=self.max_bytes, key=b"4") E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:152: AttributeError __________________________ Blake2Test.test_memoryview __________________________ self = def test_memoryview(self): key = b'0' * 16 data = b"\x00\x01\x02" def get_mv_ro(data): return memoryview(data) def get_mv_rw(data): return memoryview(bytearray(data)) for get_mv in (get_mv_ro, get_mv_rw): # Data and key can be a memoryview (during initialization) key_mv = get_mv(key) data_mv = get_mv(data) > h1 = self.BLAKE2.new(data=data, key=key) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:217: AttributeError _________________________ Blake2Test.test_new_negative _________________________ self = def test_new_negative(self): > h = self.BLAKE2.new(digest_bits=self.max_bits) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:70: AttributeError _________________________ Blake2Test.test_new_positive _________________________ self = def test_new_positive(self): > h = self.BLAKE2.new(digest_bits=self.max_bits) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:48: AttributeError _____________________________ Blake2Test.test_oid ______________________________ self = def test_oid(self): > prefix = "1.3.6.1.4.1.1722.12.2." + self.oid_variant + "." E AttributeError: 'Blake2Test' object has no attribute 'oid_variant' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:159: AttributeError ____________________________ Blake2Test.test_update ____________________________ self = def test_update(self): pieces = [b"\x0A" * 200, b"\x14" * 300] > h = self.BLAKE2.new(digest_bytes=self.max_bytes) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:95: AttributeError _____________________ Blake2Test.test_update_after_digest ______________________ self = def test_update_after_digest(self): msg = b"rrrrttt" # Normally, update() cannot be done after digest() > h = self.BLAKE2.new(digest_bits=256, data=msg[:4]) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:119: AttributeError _______________________ Blake2Test.test_update_negative ________________________ self = def test_update_negative(self): > h = self.BLAKE2.new(digest_bytes=self.max_bytes) E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:103: AttributeError ____________________________ Blake2Test.test_verify ____________________________ self = def test_verify(self): > h = self.BLAKE2.new(digest_bytes=self.max_bytes, key=b"4") E AttributeError: 'Blake2Test' object has no attribute 'BLAKE2' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:145: AttributeError _______________________ Blake2OfficialTestVector.runTest _______________________ self = def setUp(self): > dir_comps = ("Hash", self.name) E AttributeError: 'Blake2OfficialTestVector' object has no attribute 'name' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:298: AttributeError __________________________ Blake2TestVector1.runTest ___________________________ self = def setUp(self): > dir_comps = ("Hash", self.name) E AttributeError: 'Blake2TestVector1' object has no attribute 'name' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:356: AttributeError __________________________ Blake2TestVector2.runTest ___________________________ self = def setUp(self): > dir_comps = ("Hash", self.name) E AttributeError: 'Blake2TestVector2' object has no attribute 'name' lib/Crypto/SelfTest/Hash/test_BLAKE2.py:416: AttributeError ____________________ HMAC_Module_and_Instance_Test.runTest _____________________ self = def runTest(self): key = b"\x90\x91\x92\x93" * 4 payload = b"\x00" * 100 > for hashname, hashmod in self.hashmods.items(): E AttributeError: 'str' object has no attribute 'items' lib/Crypto/SelfTest/Hash/test_HMAC.py:434: AttributeError ___________________________ KMACTest.test_bytearray ____________________________ self = def test_bytearray(self): key = b'0' * 32 data = b"\x00\x01\x02" # Data and key can be a bytearray (during initialization) key_ba = bytearray(key) data_ba = bytearray(data) > h1 = self.KMAC.new(data=data, key=key) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:123: AttributeError ______________________ KMACTest.test_default_digest_size _______________________ self = def test_default_digest_size(self): > digest = self.new(data=b'abc').digest() lib/Crypto/SelfTest/Hash/test_KMAC.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {'data': b'abc'} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError _____________________________ KMACTest.test_digest _____________________________ self = def test_digest(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ___________________________ KMACTest.test_hex_digest ___________________________ self = def test_hex_digest(self): > mac = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ___________________________ KMACTest.test_hexverify ____________________________ self = def test_hexverify(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ___________________________ KMACTest.test_memoryview ___________________________ self = def test_memoryview(self): key = b'0' * 32 data = b"\x00\x01\x02" def get_mv_ro(data): return memoryview(data) def get_mv_rw(data): return memoryview(bytearray(data)) for get_mv in (get_mv_ro, get_mv_rw): # Data and key can be a memoryview (during initialization) key_mv = get_mv(key) data_mv = get_mv(data) > h1 = self.KMAC.new(data=data, key=key) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:158: AttributeError __________________________ KMACTest.test_new_negative __________________________ self = def test_new_negative(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError __________________________ KMACTest.test_new_positive __________________________ self = def test_new_positive(self): key = b'X' * 32 > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ______________________________ KMACTest.test_oid _______________________________ self = def test_oid(self): > oid = "2.16.840.1.101.3.4.2." + self.oid_variant E AttributeError: 'KMACTest' object has no attribute 'oid_variant' lib/Crypto/SelfTest/Hash/test_KMAC.py:110: AttributeError _____________________________ KMACTest.test_update _____________________________ self = def test_update(self): pieces = [b"\x0A" * 200, b"\x14" * 300] > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ______________________ KMACTest.test_update_after_digest _______________________ self = def test_update_after_digest(self): msg = b"rrrrttt" # Normally, update() cannot be done after digest() > h = self.new(mac_len=32, data=msg[:4]) lib/Crypto/SelfTest/Hash/test_KMAC.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {'data': b'rrrr', 'mac_len': 32} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ________________________ KMACTest.test_update_negative _________________________ self = def test_update_negative(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError _____________________________ KMACTest.test_verify _____________________________ self = def test_verify(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_KMAC.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.KMAC.new(key=b'X' * (self.minimum_key_bits // 8), *args, **kwargs) E AttributeError: 'KMACTest' object has no attribute 'KMAC' lib/Crypto/SelfTest/Hash/test_KMAC.py:14: AttributeError ____________________________ SHAKETest.test_digest _____________________________ self = def test_digest(self): > h = self.shake.new() E AttributeError: 'SHAKETest' object has no attribute 'shake' lib/Crypto/SelfTest/Hash/test_SHAKE.py:68: AttributeError _________________________ SHAKETest.test_new_positive __________________________ self = def test_new_positive(self): > xof1 = self.shake.new() E AttributeError: 'SHAKETest' object has no attribute 'shake' lib/Crypto/SelfTest/Hash/test_SHAKE.py:46: AttributeError ____________________________ SHAKETest.test_update _____________________________ self = def test_update(self): pieces = [bchr(10) * 200, bchr(20) * 300] > h = self.shake.new() E AttributeError: 'SHAKETest' object has no attribute 'shake' lib/Crypto/SelfTest/Hash/test_SHAKE.py:56: AttributeError _______________________ SHAKETest.test_update_after_read _______________________ self = def test_update_after_read(self): > mac = self.shake.new() E AttributeError: 'SHAKETest' object has no attribute 'shake' lib/Crypto/SelfTest/Hash/test_SHAKE.py:76: AttributeError ________________________ SHAKETest.test_update_negative ________________________ self = def test_update_negative(self): > h = self.shake.new() E AttributeError: 'SHAKETest' object has no attribute 'shake' lib/Crypto/SelfTest/Hash/test_SHAKE.py:64: AttributeError _________________________ TupleHashTest.test_bytearray _________________________ self = def test_bytearray(self): data = b"\x00\x01\x02" # Data can be a bytearray (during operation) data_ba = bytearray(data) > h1 = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ____________________ TupleHashTest.test_default_digest_size ____________________ self = def test_default_digest_size(self): > digest = self.new().digest() lib/Crypto/SelfTest/Hash/test_TupleHash.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError __________________________ TupleHashTest.test_digest ___________________________ self = def test_digest(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ________________________ TupleHashTest.test_hex_digest _________________________ self = def test_hex_digest(self): > mac = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ________________________ TupleHashTest.test_memoryview _________________________ self = def test_memoryview(self): data = b"\x00\x01\x02" def get_mv_ro(data): return memoryview(data) def get_mv_rw(data): return memoryview(bytearray(data)) for get_mv in (get_mv_ro, get_mv_rw): # Data can be a memoryview (during operation) data_mv = get_mv(data) > h1 = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError _______________________ TupleHashTest.test_new_negative ________________________ self = def test_new_negative(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError _______________________ TupleHashTest.test_new_positive ________________________ self = def test_new_positive(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError __________________________ TupleHashTest.test_update ___________________________ self = def test_update(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ____________________ TupleHashTest.test_update_after_digest ____________________ self = def test_update_after_digest(self): msg = b"rrrrttt" # Normally, update() cannot be done after digest() > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ______________________ TupleHashTest.test_update_negative ______________________ self = def test_update_negative(self): > h = self.new() lib/Crypto/SelfTest/Hash/test_TupleHash.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {} def new(self, *args, **kwargs): > return self.TupleHash.new(*args, **kwargs) E AttributeError: 'TupleHashTest' object has no attribute 'TupleHash' lib/Crypto/SelfTest/Hash/test_TupleHash.py:13: AttributeError ___________________________ TurboSHAKETest.test_new ____________________________ self = def test_new(self): > xof1 = self.TurboSHAKE.new(domain=0x07) E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:68: AttributeError ________________________ TurboSHAKETest.test_new_domain ________________________ self = def test_new_domain(self): > xof1 = self.TurboSHAKE.new(domain=0x1D) E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:32: AttributeError _______________________ TurboSHAKETest.test_new_positive _______________________ self = def test_new_positive(self): > xof1 = self.TurboSHAKE.new() E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:16: AttributeError ___________________________ TurboSHAKETest.test_read ___________________________ self = def test_read(self): > xof1 = self.TurboSHAKE.new() E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:54: AttributeError __________________________ TurboSHAKETest.test_update __________________________ self = def test_update(self): pieces = [bchr(10) * 200, bchr(20) * 300] > xof1 = self.TurboSHAKE.new() E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:39: AttributeError ____________________ TurboSHAKETest.test_update_after_read _____________________ self = def test_update_after_read(self): > xof1 = self.TurboSHAKE.new() E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:62: AttributeError _____________________ TurboSHAKETest.test_update_negative ______________________ self = def test_update_negative(self): > xof1 = self.TurboSHAKE.new() E AttributeError: 'TurboSHAKETest' object has no attribute 'TurboSHAKE' lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py:50: AttributeError ____________________________ cSHAKETest.test_digest ____________________________ self = def test_digest(self): > h = self.cshake.new() E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:97: AttributeError _________________________ cSHAKETest.test_new_positive _________________________ self = def test_new_positive(self): > xof1 = self.cshake.new() E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:59: AttributeError ____________________________ cSHAKETest.test_shake _____________________________ self = def test_shake(self): # When no customization string is passed, results must match SHAKE for digest_len in range(64): > xof1 = self.cshake.new(b'TEST') E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:113: AttributeError ____________________________ cSHAKETest.test_update ____________________________ self = def test_update(self): pieces = [bchr(10) * 200, bchr(20) * 300] > h = self.cshake.new() E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:85: AttributeError ______________________ cSHAKETest.test_update_after_read _______________________ self = def test_update_after_read(self): > mac = self.cshake.new() E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:105: AttributeError _______________________ cSHAKETest.test_update_negative ________________________ self = def test_update_negative(self): > h = self.cshake.new() E AttributeError: 'cSHAKETest' object has no attribute 'cshake' lib/Crypto/SelfTest/Hash/test_cSHAKE.py:93: AttributeError ___________________________ TestIntegerBase.test_abs ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_addition _________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_and ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________________ TestIntegerBase.test_bool ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________ TestIntegerBase.test_conversion_from_bytes __________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_conversion_to_bytes ___________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestIntegerBase.test_conversion_to_int ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestIntegerBase.test_conversion_to_str ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_equality_with_ints ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________ TestIntegerBase.test_fail_if_divisible_by ___________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_floor_div ________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_gcd ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _________________________ TestIntegerBase.test_get_bit _________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_hex ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_in_place_add _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_in_place_left_shift ___________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestIntegerBase.test_in_place_modulus _____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_in_place_mul _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________ TestIntegerBase.test_in_place_right_shift ___________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_in_place_sub _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _______________________ TestIntegerBase.test_inequality ________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestIntegerBase.test_init_and_equality ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _________________ TestIntegerBase.test_inplace_exponentiation __________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _____________________ TestIntegerBase.test_inplace_inverse _____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _________________________ TestIntegerBase.test_inverse _________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _______________________ TestIntegerBase.test_is_negative _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_jacobi_symbol ______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _________________ TestIntegerBase.test_jacobi_symbol_wikipedia _________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_lcm ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_less_than ________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_less_than_or_equal ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _________________ TestIntegerBase.test_modular_exponentiation __________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_more_than ________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_more_than_or_equal ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestIntegerBase.test_mult_modulo_bytes ____________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _____________________ TestIntegerBase.test_multiplication ______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________ TestIntegerBase.test_multiply_accumulate ___________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_odd_even _________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_or ____________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _____________________ TestIntegerBase.test_perfect_square ______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ________________________ TestIntegerBase.test_remainder ________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________________ TestIntegerBase.test_repr ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _______________________ TestIntegerBase.test_right_shift _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ___________________________ TestIntegerBase.test_set ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________ TestIntegerBase.test_simple_exponentiation __________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_size_in_bits _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ______________________ TestIntegerBase.test_size_in_bytes ______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError __________________________ TestIntegerBase.test_sqrt ___________________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _______________________ TestIntegerBase.test_sqrt_module _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError _______________________ TestIntegerBase.test_subtraction _______________________ self = def setUp(self): > raise NotImplementedError("To be implemented") E NotImplementedError: To be implemented lib/Crypto/SelfTest/Math/test_Numbers.py:49: NotImplementedError ____________________ TestVectorsECDHWycheproof.test_verify _____________________ self = test_case = isTest = True @contextlib.contextmanager def testPartExecutor(self, test_case, isTest=False): old_success = self.success self.success = True try: > yield /usr/lib64/python3.9/unittest/case.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.9/unittest/case.py:592: in run self._callTestMethod(testMethod) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = method = > def _callTestMethod(self, method): > method() E TypeError: test_verify() missing 1 required positional argument: 'tv' /usr/lib64/python3.9/unittest/case.py:550: TypeError _____________________ TestVectorsEdDSAWycheproof.test_sign _____________________ self = test_case = isTest = True @contextlib.contextmanager def testPartExecutor(self, test_case, isTest=False): old_success = self.success self.success = True try: > yield /usr/lib64/python3.9/unittest/case.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.9/unittest/case.py:592: in run self._callTestMethod(testMethod) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = method = > def _callTestMethod(self, method): > method() E TypeError: test_sign() missing 1 required positional argument: 'tv' /usr/lib64/python3.9/unittest/case.py:550: TypeError ____________________ TestVectorsEdDSAWycheproof.test_verify ____________________ self = test_case = isTest = True @contextlib.contextmanager def testPartExecutor(self, test_case, isTest=False): old_success = self.success self.success = True try: > yield /usr/lib64/python3.9/unittest/case.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.9/unittest/case.py:592: in run self._callTestMethod(testMethod) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = method = > def _callTestMethod(self, method): > method() E TypeError: test_verify() missing 1 required positional argument: 'tv' /usr/lib64/python3.9/unittest/case.py:550: TypeError =============================== warnings summary =============================== lib/Crypto/SelfTest/Cipher/test_DES3.py:60 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_DES3.py:60: UserWarning: Warning: skipping extended tests for TDES ECB (TECBMMT2.rsp) test_vectors = load_test_vectors( lib/Crypto/SelfTest/Cipher/test_DES3.py:60 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_DES3.py:60: UserWarning: Warning: skipping extended tests for TDES ECB (TECBMMT3.rsp) test_vectors = load_test_vectors( lib/Crypto/SelfTest/Cipher/test_GCM.py:783 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_GCM.py:783: UserWarning: Warning: skipping extended tests for GCM decrypt test_vectors_nist = load_test_vectors( lib/Crypto/SelfTest/Cipher/test_GCM.py:789 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_GCM.py:789: UserWarning: Warning: skipping extended tests for GCM encrypt test_vectors_nist += load_test_vectors( lib/Crypto/SelfTest/Hash/test_SHAKE.py:94 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_SHAKE.py:94: UserWarning: Warning: skipping extended tests for Short Messages KAT SHAKE128 test_vectors_128 = load_test_vectors(("Hash", "SHA3"), lib/Crypto/SelfTest/Hash/test_SHAKE.py:113 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_SHAKE.py:113: UserWarning: Warning: skipping extended tests for Short Messages KAT SHAKE256 test_vectors_256 = load_test_vectors(("Hash", "SHA3"), lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140: UserWarning: Warning: skipping extended tests for Short Message Samples cSHAKE128 test_vectors = load_test_vectors(("Hash", "SHA3"), file, descr, lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140: UserWarning: Warning: skipping extended tests for Short Message Samples cSHAKE256 test_vectors = load_test_vectors(("Hash", "SHA3"), file, descr, lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140: UserWarning: Warning: skipping extended tests for Custom Message Samples cSHAKE128 test_vectors = load_test_vectors(("Hash", "SHA3"), file, descr, lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_cSHAKE.py:140: UserWarning: Warning: skipping extended tests for Custom Message Samples cSHAKE256 test_vectors = load_test_vectors(("Hash", "SHA3"), file, descr, lib/Crypto/SelfTest/Hash/test_keccak.py:144 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:144: UserWarning: Warning: skipping extended tests for Short Messages KAT 224 test_vectors_224 = load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:149 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:149: UserWarning: Warning: skipping extended tests for Long Messages KAT 224 test_vectors_224 += load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:168 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:168: UserWarning: Warning: skipping extended tests for Short Messages KAT 256 test_vectors_256 = load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:173 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:173: UserWarning: Warning: skipping extended tests for Long Messages KAT 256 test_vectors_256 += load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:193 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:193: UserWarning: Warning: skipping extended tests for Short Messages KAT 384 test_vectors_384 = load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:198 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:198: UserWarning: Warning: skipping extended tests for Long Messages KAT 384 test_vectors_384 += load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:217 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:217: UserWarning: Warning: skipping extended tests for Short Messages KAT 512 test_vectors_512 = load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Hash/test_keccak.py:222 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_keccak.py:222: UserWarning: Warning: skipping extended tests for Long Messages KAT 512 test_vectors_512 += load_test_vectors(("Hash", "keccak"), lib/Crypto/SelfTest/Protocol/test_KDF.py:743 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_KDF.py:743: UserWarning: Warning: skipping extended tests for NIST SP 800 108 KDF Counter Mode test_vectors_sp800_108_counter = load_test_vectors(("Protocol", ), ../../../../../usr/lib64/python3.9/unittest/suite.py:92 /usr/lib64/python3.9/unittest/suite.py:92: PytestCollectionWarning: cannot collect test class 'TestSuite' because it has a __init__ constructor (from: lib/Crypto/SelfTest/Protocol/test_SecretSharing.py) class TestSuite(BaseTestSuite): lib/Crypto/SelfTest/Protocol/test_ecdh.py:19 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:19: UserWarning: Warning: skipping extended tests for ECC CDH Primitive (SP800-56A Section 5.7.1.2) test_vectors_verify = load_test_vectors(("Protocol", ), lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:764 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:764: UserWarning: Warning: skipping extended tests for P-192 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:785 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:785: UserWarning: Warning: skipping extended tests for P-224 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:806 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:806: UserWarning: Warning: skipping extended tests for P-256 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:827 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:827: UserWarning: Warning: skipping extended tests for P-384 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:848 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:848: UserWarning: Warning: skipping extended tests for P-521 tests from point-at-infinity.org tv_pai = load_test_vectors(("PublicKey", "ECC"), lib/Crypto/SelfTest/Signature/test_dss.py:159 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_dss.py:159: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "DSA"), lib/Crypto/SelfTest/Signature/test_dss.py:197 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_dss.py:197: UserWarning: Warning: skipping extended tests for Signature Creation 186-3 test_vectors_sign = load_test_vectors(("Signature", "DSA"), lib/Crypto/SelfTest/Signature/test_dss.py:307 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_dss.py:307: UserWarning: Warning: skipping extended tests for ECDSA Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "ECDSA"), lib/Crypto/SelfTest/Signature/test_dss.py:314 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_dss.py:314: UserWarning: Warning: skipping extended tests for ECDSA Signature Verification 186-3 test_vectors_verify += load_test_vectors(("Signature", "ECDSA"), lib/Crypto/SelfTest/Signature/test_dss.py:357 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_dss.py:357: UserWarning: Warning: skipping extended tests for ECDSA Signature Verification 186-3 test_vectors_sign = load_test_vectors(("Signature", "ECDSA"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:70 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:70: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "PKCS1-v1.5"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:117 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:117: UserWarning: Warning: skipping extended tests for Signature Generation 186-2 test_vectors_sign = load_test_vectors(("Signature", "PKCS1-v1.5"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:122 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:122: UserWarning: Warning: skipping extended tests for Signature Generation 186-3 test_vectors_sign += load_test_vectors(("Signature", "PKCS1-v1.5"), lib/Crypto/SelfTest/Signature/test_pss.py:117 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:117: UserWarning: Warning: skipping extended tests for Signature Verification 186-3 test_vectors_verify = load_test_vectors(("Signature", "PKCS1-PSS"), lib/Crypto/SelfTest/Signature/test_pss.py:169 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:169: UserWarning: Warning: skipping extended tests for Signature Generation 186-2 test_vectors_sign = load_test_vectors(("Signature", "PKCS1-PSS"), lib/Crypto/SelfTest/Signature/test_pss.py:174 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:174: UserWarning: Warning: skipping extended tests for Signature Generation 186-3 test_vectors_sign += load_test_vectors(("Signature", "PKCS1-PSS"), lib/Crypto/SelfTest/Cipher/test_CBC.py: 15 warnings lib/Crypto/SelfTest/Cipher/test_OFB.py: 15 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CBC.py:317: UserWarning: Warning: skipping extended tests for AES CBC KAT test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CBC.py::NistCbcVectors::test_AES_CBCMCT128.rsp lib/Crypto/SelfTest/Cipher/test_CBC.py::NistCbcVectors::test_AES_CBCMCT192.rsp lib/Crypto/SelfTest/Cipher/test_CBC.py::NistCbcVectors::test_AES_CBCMCT256.rsp lib/Crypto/SelfTest/Cipher/test_OFB.py::NistOfbVectors::test_AES_OFBMCT128.rsp lib/Crypto/SelfTest/Cipher/test_OFB.py::NistOfbVectors::test_AES_OFBMCT192.rsp lib/Crypto/SelfTest/Cipher/test_OFB.py::NistOfbVectors::test_AES_OFBMCT256.rsp /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CBC.py:345: UserWarning: Warning: skipping extended tests for AES CBC Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CBC.py: 7 warnings lib/Crypto/SelfTest/Cipher/test_OFB.py: 7 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CBC.py:380: UserWarning: Warning: skipping extended tests for TDES CBC KAT test_vectors = load_test_vectors(("Cipher", "TDES"), lib/Crypto/SelfTest/Cipher/test_CCM.py::TestVectorsWycheproof::test_corrupt_decrypt lib/Crypto/SelfTest/Cipher/test_CCM.py::TestVectorsWycheproof::test_decrypt lib/Crypto/SelfTest/Cipher/test_CCM.py::TestVectorsWycheproof::test_encrypt /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CCM.py:843: UserWarning: Warning: skipping extended tests for Wycheproof AES CCM self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), lib/Crypto/SelfTest/Cipher/test_CFB.py: 15 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CFB.py:106: UserWarning: Warning: skipping extended tests for AES CFB128 KAT test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB128MCT128.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB128MCT192.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB128MCT256.rsp /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CFB.py:134: UserWarning: Warning: skipping extended tests for AES CFB128 Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CFB.py: 15 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CFB.py:106: UserWarning: Warning: skipping extended tests for AES CFB8 KAT test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB8MCT128.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB8MCT192.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_AES_CFB8MCT256.rsp /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CFB.py:134: UserWarning: Warning: skipping extended tests for AES CFB8 Montecarlo test_vectors = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64MMT2.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64MMT3.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64invperm.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64permop.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64subtab.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64varkey.rsp lib/Crypto/SelfTest/Cipher/test_CFB.py::NistCfbVectors::test_TDES_TCFB64vartext.rsp /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_CFB.py:185: UserWarning: Warning: skipping extended tests for TDES CFB64 KAT test_vectors = load_test_vectors(("Cipher", "TDES"), lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py::TestVectorsWycheproof::test_corrupt_decrypt lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py::TestVectorsWycheproof::test_decrypt lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py::TestVectorsWycheproof::test_encrypt /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py:641: UserWarning: Warning: skipping extended tests for Wycheproof ChaCha20-Poly1305 result = load_test_vectors_wycheproof(("Cipher", "wycheproof"), lib/Crypto/SelfTest/Cipher/test_EAX.py::TestVectorsWycheproof::test_corrupt_decrypt lib/Crypto/SelfTest/Cipher/test_EAX.py::TestVectorsWycheproof::test_decrypt lib/Crypto/SelfTest/Cipher/test_EAX.py::TestVectorsWycheproof::test_encrypt /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_EAX.py:660: UserWarning: Warning: skipping extended tests for Wycheproof EAX self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), lib/Crypto/SelfTest/Cipher/test_GCM.py::TestVectorsWycheproof::test_corrupt_decrypt lib/Crypto/SelfTest/Cipher/test_GCM.py::TestVectorsWycheproof::test_decrypt lib/Crypto/SelfTest/Cipher/test_GCM.py::TestVectorsWycheproof::test_encrypt /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_GCM.py:831: UserWarning: Warning: skipping extended tests for Wycheproof GCM self.tv = load_test_vectors_wycheproof(("Cipher", "wycheproof"), lib/Crypto/SelfTest/Cipher/test_OCB.py::OcbDkgTest::test_1_2 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_OCB.py:750: UserWarning: Warning: skipping extended tests for DKG tests, 1, 104 bits tv_file = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Cipher/test_OCB.py::OcbDkgTest::test_1_2 /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Cipher/test_OCB.py:750: UserWarning: Warning: skipping extended tests for DKG tests, 2, 104 bits tv_file = load_test_vectors(("Cipher", "AES"), lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2bOfficialTestVector::runTest /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_BLAKE2.py:305: UserWarning: Warning: skipping extended tests for BLAKE2b warnings.warn("Warning: skipping extended tests for %s" % self.name, lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2sOfficialTestVector::runTest /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_BLAKE2.py:305: UserWarning: Warning: skipping extended tests for BLAKE2s warnings.warn("Warning: skipping extended tests for %s" % self.name, lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2bTestVector1::runTest lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2bTestVector2::runTest /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_BLAKE2.py:363: UserWarning: Warning: skipping extended tests for BLAKE2b warnings.warn("Warning: skipping extended tests for %s" % self.name, lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2sTestVector1::runTest lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2sTestVector2::runTest /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_BLAKE2.py:363: UserWarning: Warning: skipping extended tests for BLAKE2s warnings.warn("Warning: skipping extended tests for %s" % self.name, lib/Crypto/SelfTest/Hash/test_CMAC.py::TestVectorsWycheproof::test_create_mac lib/Crypto/SelfTest/Hash/test_CMAC.py::TestVectorsWycheproof::test_verify_mac /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Hash/test_CMAC.py:373: UserWarning: Warning: skipping extended tests for Wycheproof CMAC self.tv = load_test_vectors_wycheproof(("Hash", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_KDF.py::TestVectorsHKDFWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_KDF.py:672: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_KDF.py::TestVectorsHKDFWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_KDF.py:672: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha256_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_KDF.py::TestVectorsHKDFWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_KDF.py:672: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha384_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_KDF.py::TestVectorsHKDFWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_KDF.py:672: UserWarning: Warning: skipping extended tests for Wycheproof HMAC (hkdf_sha512_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp224r1_ecpoint_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp256r1_ecpoint_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp384r1_ecpoint_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp521r1_ecpoint_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp224r1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp256r1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp384r1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py:85: UserWarning: Warning: skipping extended tests for Wycheproof ECDH (ecdh_secp521r1_test.json) result = load_test_vectors_wycheproof(("Protocol", "wycheproof"), lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 30 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:89: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p192.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 31 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:102: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p224.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 37 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:115: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p256.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 36 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:128: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p384.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 36 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:141: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_p521.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 25 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:153: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_ed25519.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_ECC.py: 22 warnings /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:160: UserWarning: Warning: skipping extended tests for ECC key_lines = load_file("ecc_ed448.txt").splitlines() lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_private_clear /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:575: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_private_openssh.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_private_clear /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:576: UserWarning: Warning: skipping extended tests for RSA key_file_old = load_file("rsa2048_private_openssh_old.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_private_password /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:588: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_private_openssh_pwd.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_private_password /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:589: UserWarning: Warning: skipping extended tests for RSA key_file_old = load_file("rsa2048_private_openssh_pwd_old.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_public /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:563: UserWarning: Warning: skipping extended tests for RSA key_file_ref = load_file("rsa2048_private.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_openssh_public /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:564: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_public_openssh.txt") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_pkcs8_private /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:600: UserWarning: Warning: skipping extended tests for RSA key_file_ref = load_file("rsa2048_private.pem") lib/Crypto/SelfTest/PublicKey/test_import_RSA.py::TestImport_2048::test_import_pkcs8_private /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py:601: UserWarning: Warning: skipping extended tests for RSA key_file = load_file("rsa2048_private_p8.der") lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_sign lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_eddsa.py:524: UserWarning: Warning: skipping extended tests for Wycheproof ECDSA signature (eddsa_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_sign lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_eddsa.py:524: UserWarning: Warning: skipping extended tests for Wycheproof ECDSA signature (ed448_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_sig_gen_misc_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha224_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha384_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha3_224_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha3_256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha3_384_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha3_512_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha512_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha512_224_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_2048_sha512_256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha384_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha3_256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha3_384_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha3_512_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha512_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_3072_sha512_256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_4096_sha384_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_4096_sha512_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_4096_sha512_256_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pkcs1_15.py::TestVectorsWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:293: UserWarning: Warning: skipping extended tests for Wycheproof PKCS#1v1.5 signature (rsa_signature_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_2048_sha1_mgf1_20_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_2048_sha256_mgf1_0_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_2048_sha256_mgf1_32_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_2048_sha512_256_mgf1_28_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_2048_sha512_256_mgf1_32_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_3072_sha256_mgf1_32_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_4096_sha256_mgf1_32_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_4096_sha512_mgf1_32_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), lib/Crypto/SelfTest/Signature/test_pss.py::TestVectorsPSSWycheproof::test_verify /home/tkloczko/rpmbuild/BUILD/pycryptodome-3.20.0/lib/Crypto/SelfTest/Signature/test_pss.py:305: UserWarning: Warning: skipping extended tests for Wycheproof PSS signature (rsa_pss_misc_test.json) result = load_test_vectors_wycheproof(("Signature", "wycheproof"), -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR lib/Crypto/SelfTest/Cipher/test_GCM.py::TestVariableLength::runTest - T... ERROR lib/Crypto/SelfTest/Cipher/test_SIV.py::TestVectorsWycheproof::test_decrypt ERROR lib/Crypto/SelfTest/Cipher/test_SIV.py::TestVectorsWycheproof::test_encrypt ERROR lib/Crypto/SelfTest/Cipher/test_SIV.py::TestVectorsWycheproof2::test_decrypt ERROR lib/Crypto/SelfTest/Cipher/test_SIV.py::TestVectorsWycheproof2::test_encrypt ERROR lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py::TestVectorsWycheproof::test_decrypt ERROR lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py::TestVectorsWycheproof::test_decrypt ERROR lib/Crypto/SelfTest/Math/test_Primality.py::test_probable_prime ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_private_pkcs8_in_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_rfc5915_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P192::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_private_pkcs8_in_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_rfc5915_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P224::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_openssh_private_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_openssh_private_password ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_openssh_public ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pem_with_ecparams ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_private_pkcs8_in_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_rfc5915_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P256::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_openssh_private_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_openssh_private_password ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_openssh_public ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_private_pkcs8_in_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_rfc5915_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P384::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_openssh_private_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_openssh_private_password ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_openssh_public ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_private_pkcs8_in_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_rfc5915_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_P521::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_compressed_curve ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pkcs8_and_pem_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pkcs8_and_pem_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_der_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_der_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_pem_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_pem_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_public_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_export_rfc5915_private_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P192::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_compressed_curve ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pkcs8_and_pem_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pkcs8_and_pem_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_der_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_der_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_pem_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_pem_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_public_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_export_rfc5915_private_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P224::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_compressed_curve ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_openssh_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_openssh_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pkcs8_and_pem_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pkcs8_and_pem_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_der_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_der_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_pem_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_pem_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_public_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_export_rfc5915_private_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P256::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_compressed_curve ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_openssh_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_openssh_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pkcs8_and_pem_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pkcs8_and_pem_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_der_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_der_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_pem_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_pem_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_public_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_export_rfc5915_private_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P384::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_compressed_curve ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_openssh_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_openssh_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pkcs8_and_pem_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pkcs8_and_pem_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_der_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_der_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_pem_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_pem_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_sec1_compressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_public_sec1_uncompressed ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_export_rfc5915_private_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_P521::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_openssh_private_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_openssh_private_password ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_openssh_public ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_pkcs8_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed25519::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_openssh ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_public_sec1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_export_raw ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed25519::test_prng ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_pkcs8_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_private_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_private_pkcs8_encrypted_1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_private_pkcs8_encrypted_2 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_private_pkcs8_encrypted_3 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_x509_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestImport_Ed448::test_import_x509_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_byte_or_string_passphrase ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_error_params1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_openssh ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_private_pem_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_private_pem_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_private_pkcs8_clear ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_private_pkcs8_encrypted ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_public_der ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_public_pem ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_public_sec1 ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_export_raw ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py::TestExport_Ed448::test_prng ERROR lib/Crypto/SelfTest/Signature/test_dss.py::TestVectorsDSAWycheproof::test_verify ERROR lib/Crypto/SelfTest/Signature/test_dss.py::TestVectorsECDSAWycheproof::test_verify FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_IV_iv_attributes FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_block_size_128 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_block_size_64 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_bytearray FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_data_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_either_encrypt_or_decrypt FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_iv - ... FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_iv_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_iv_with_matching_length FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_loopback_128 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_loopback_64 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_null_encryption_decryption FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_only_one_iv FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_output_param FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_output_param_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_output_param_neg FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_output_param_same_buffer FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_unaligned_data_128 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_unaligned_data_64 FAILED lib/Crypto/SelfTest/Cipher/test_CBC.py::BlockChainingTests::test_unknown_parameters FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_IV_iv_attributes FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_block_size_128 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_block_size_64 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_bytearray FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_data_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_either_encrypt_or_decrypt FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_iv - ... FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_iv_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_iv_with_matching_length FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_loopback_128 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_loopback_64 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_null_encryption_decryption FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_only_one_iv FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_output_param FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_output_param_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_output_param_neg FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_output_param_same_buffer FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_unaligned_data_128 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_unaligned_data_64 FAILED lib/Crypto/SelfTest/Cipher/test_CFB.py::BlockChainingTests::test_unknown_parameters FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_IV_iv_attributes FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_block_size_128 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_block_size_64 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_bytearray FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_data_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_either_encrypt_or_decrypt FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_iv - ... FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_iv_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_iv_with_matching_length FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_loopback_128 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_loopback_64 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_null_encryption_decryption FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_only_one_iv FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_output_param FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_output_param_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_output_param_neg FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_output_param_same_buffer FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_unaligned_data_128 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_unaligned_data_64 FAILED lib/Crypto/SelfTest/Cipher/test_OFB.py::BlockChainingTests::test_unknown_parameters FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_IV_iv_attributes FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_block_size_128 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_block_size_64 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_bytearray FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_data_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_either_encrypt_or_decrypt FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_iv FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_iv_must_be_bytes FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_iv_with_matching_length FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_loopback_128 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_loopback_64 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_null_encryption_decryption FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_only_one_iv FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_output_param FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_output_param_memoryview FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_output_param_neg FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_output_param_same_buffer FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_unaligned_data_128 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_unaligned_data_64 FAILED lib/Crypto/SelfTest/Cipher/test_OpenPGP.py::BlockChainingTests::test_unknown_parameters FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_bytearray - ... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_default_digest_size FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_digest - Att... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_hex_digest FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_hexverify - ... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_memoryview FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_new_negative FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_new_positive FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_oid - Attrib... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_update - Att... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_update_after_digest FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_update_negative FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2Test::test_verify - Att... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2OfficialTestVector::runTest FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2TestVector1::runTest - ... FAILED lib/Crypto/SelfTest/Hash/test_BLAKE2.py::Blake2TestVector2::runTest - ... FAILED lib/Crypto/SelfTest/Hash/test_HMAC.py::HMAC_Module_and_Instance_Test::runTest FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_bytearray - Attr... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_default_digest_size FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_digest - Attribu... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_hex_digest - Att... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_hexverify - Attr... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_memoryview - Att... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_new_negative - A... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_new_positive - A... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_oid - AttributeE... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_update - Attribu... FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_update_after_digest FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_update_negative FAILED lib/Crypto/SelfTest/Hash/test_KMAC.py::KMACTest::test_verify - Attribu... FAILED lib/Crypto/SelfTest/Hash/test_SHAKE.py::SHAKETest::test_digest - Attri... FAILED lib/Crypto/SelfTest/Hash/test_SHAKE.py::SHAKETest::test_new_positive FAILED lib/Crypto/SelfTest/Hash/test_SHAKE.py::SHAKETest::test_update - Attri... FAILED lib/Crypto/SelfTest/Hash/test_SHAKE.py::SHAKETest::test_update_after_read FAILED lib/Crypto/SelfTest/Hash/test_SHAKE.py::SHAKETest::test_update_negative FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_bytearray FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_default_digest_size FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_digest FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_hex_digest FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_memoryview FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_new_negative FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_new_positive FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_update FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_update_after_digest FAILED lib/Crypto/SelfTest/Hash/test_TupleHash.py::TupleHashTest::test_update_negative FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_new FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_new_domain FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_new_positive FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_read FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_update FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_update_after_read FAILED lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py::TurboSHAKETest::test_update_negative FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_digest - Att... FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_new_positive FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_shake - Attr... FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_update - Att... FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_update_after_read FAILED lib/Crypto/SelfTest/Hash/test_cSHAKE.py::cSHAKETest::test_update_negative FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_abs - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_addition FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_and - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_bool FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_conversion_from_bytes FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_conversion_to_bytes FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_conversion_to_int FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_conversion_to_str FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_equality_with_ints FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_fail_if_divisible_by FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_floor_div FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_gcd - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_get_bit FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_hex - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_add FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_left_shift FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_modulus FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_mul FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_right_shift FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_in_place_sub FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_inequality FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_init_and_equality FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_inplace_exponentiation FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_inplace_inverse FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_inverse FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_is_negative FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_jacobi_symbol FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_jacobi_symbol_wikipedia FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_lcm - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_less_than FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_less_than_or_equal FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_modular_exponentiation FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_more_than FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_more_than_or_equal FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_mult_modulo_bytes FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_multiplication FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_multiply_accumulate FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_odd_even FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_or - N... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_perfect_square FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_remainder FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_repr FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_right_shift FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_set - ... FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_simple_exponentiation FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_size_in_bits FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_size_in_bytes FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_sqrt FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_sqrt_module FAILED lib/Crypto/SelfTest/Math/test_Numbers.py::TestIntegerBase::test_subtraction FAILED lib/Crypto/SelfTest/Protocol/test_ecdh.py::TestVectorsECDHWycheproof::test_verify FAILED lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_sign FAILED lib/Crypto/SelfTest/Signature/test_eddsa.py::TestVectorsEdDSAWycheproof::test_verify ==== 195 failed, 1467 passed, 424 warnings, 227 errors in 72.95s (0:01:12) =====