Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test suite #117

Open
robin-nitrokey opened this issue Jun 15, 2024 · 0 comments
Open

Fix test suite #117

robin-nitrokey opened this issue Jun 15, 2024 · 0 comments

Comments

@robin-nitrokey
Copy link
Member

2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### FAILED tests/extra/secrets_app_tests.py::test_reverse_hotp_failure - pynitrokey.nk3.secrets_app.SecretsAppException: SecretsAppException(code=69...
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### FAILED tests/extra/secrets_app_tests.py::test_list_with_properties[KeyPinBased-pws-touch] - AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEn...
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### FAILED tests/extra/secrets_app_tests.py::test_list_with_properties[KeyPinBased-pws-] - AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEn...
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### FAILED tests/extra/secrets_app_tests.py::test_list_with_properties[KeyPinBased--touch] - AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEn...
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### FAILED tests/extra/secrets_app_tests.py::test_list_with_properties[KeyPinBased--] - AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEn...
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### =================================== FAILURES ===================================
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### __________________________ test_reverse_hotp_failure ___________________________
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### secretsAppRaw = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ec5ee90>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def test_reverse_hotp_failure(secretsAppRaw):
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         Test failing conditions for the HOTP reverse check
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secret = "3132333435363738393031323334353637383930"
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretb = binascii.a2b_hex(secret)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         codes = [x for x in range(10)]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp = secretsAppRaw
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.reset()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >       secretsApp.register(
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             CREDID, secretb, digits=6, kind=Kind.HotpReverse, algo=Algorithm.Sha1
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### tests/extra/secrets_app_tests.py:276: 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### /venv/lib/python3.11/site-packages/pynitrokey/nk3/secrets_app.py:615: in register
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     self._send_receive(Instruction.Put, structure)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### /venv/lib/python3.11/site-packages/pynitrokey/nk3/secrets_app.py:348: in _send_receive
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     return self._send_receive_inner(bytes_data, log_info=f"{ins}")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### self = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ec5ee90>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### data = b'\x00\x01\x00\x00)q\x07CRED IDs\x161\x0612345678901234567890x\x00z\x04\x00\x00\x00\x00'
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### log_info = 'Instruction.Put'
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def _send_receive_inner(self, data: bytes, log_info: str = "") -> bytes:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         self.logfn(f"Sending {log_info if log_info else ''} (data: {len(data)} bytes)")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         try:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             result = self.dev._call_app(App.SECRETS, data=data)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         except Exception as e:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             self.logfn(f"Got exception: {e}")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             raise
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         status_bytes, result = result[:2], result[2:]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         self.logfn(f"Received [{status_bytes.hex()}] (data: {len(result)} bytes)")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         log_multipacket = False
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         data_final = result
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         MORE_DATA_STATUS_BYTE = 0x61
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         while status_bytes[0] == MORE_DATA_STATUS_BYTE:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             if log_multipacket:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###                 self.logfn(f"Got RemainingData status: [{status_bytes.hex()}]")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             log_multipacket = True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             ins_b, p1, p2 = self._encode_command(Instruction.SendRemaining)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             bytes_data = iso7816_compose(ins_b, p1, p2)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             try:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###                 result = self.dev._call_app(App.SECRETS, data=bytes_data)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             except Exception as e:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###                 self.logfn(f"Got exception: {e}")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###                 raise
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             # Data order is different here than in APDU - SW is first, then the data if any
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             status_bytes, result = result[:2], result[2:]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             self.logfn(f"Received [{status_bytes.hex()}] (data: {len(result)} bytes)")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             if status_bytes[0] in [0x90, MORE_DATA_STATUS_BYTE]:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###                 data_final += result
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         if status_bytes != b"\x90\x00" and status_bytes[0] != MORE_DATA_STATUS_BYTE:
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >           raise SecretsAppException(status_bytes.hex(), "Received error")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E           pynitrokey.nk3.secrets_app.SecretsAppException: SecretsAppException(code=6982/SecurityStatusNotSatisfied)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### /venv/lib/python3.11/site-packages/pynitrokey/nk3/secrets_app.py:383: SecretsAppException
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log call -------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:421 Executing reset
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Reset (data: 4 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:594 Setting new credential: 'CRED ID', Kind.HotpReverse, Algorithm.Sha1, counter: 0, touch_button_required=False, pin_based_encryption=False
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Put (data: 46 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [6982] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### _______________ test_list_with_properties[KeyPinBased-pws-touch] _______________
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### secretsAppResetLogin = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ed4b8d0>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### touch = True, pws = True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("touch", [True, False], ids=lambda x: "touch" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("pws", [True, False], ids=lambda x: "pws" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def test_list_with_properties(secretsAppResetLogin, touch, pws):
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """Test list commands with additional properties field
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param touch: should touch_button request be set
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param pws: should Password Safe fields be populated
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         length = 20
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp = secretsAppResetLogin
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         login = b"login".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         password = b"password".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         metadata = b"metadata".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         name = CREDID.center(length, "=").encode()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretb = binascii.a2b_hex(SECRET)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.register(
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             name,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretb,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             digits=6,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             kind=Kind.Totp,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             algo=Algorithm.Sha1,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             login=login if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             password=password if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             metadata=metadata if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             touch_button_required=touch,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         items_list = secretsApp.list_with_properties()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert len(items_list) == 1
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         item = items_list[0]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.touch_required == touch
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.pws_data_exist == pws
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >       assert item.properties.secret_encryption == (
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretsAppResetLogin._metadata.get("fixture_type")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             == CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E       AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEncryptionType.PinBased: 1>)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  where True = ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=True).secret_encryption
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=True) = ListItem(kind=<Kind.Totp: 32>, algorithm=<Algorithm.Sha1: 1>, label=b'======CRED ID=======', properties=ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=True)).properties
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = <built-in method get of dict object at 0x7f0d3ed4b840>('fixture_type')
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where <built-in method get of dict object at 0x7f0d3ed4b840> = {'fixture_type': <CredEncryptionType.PinBased: 1>}.get
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +      where {'fixture_type': <CredEncryptionType.PinBased: 1>} = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ed4b8d0>._metadata
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### tests/extra/secrets_app_tests.py:1609: AssertionError
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log setup ------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:421 Executing reset
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Reset (data: 4 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.SetPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log call -------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:594 Setting new credential: b'======CRED ID=======', Kind.Totp, Algorithm.Sha1, counter: 0, touch_button_required=True, pin_based_encryption=True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Put (data: 119 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.List (data: 6 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 24 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending CCIDInstruction.Select (data: 12 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 14 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### _________________ test_list_with_properties[KeyPinBased-pws-] __________________
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### secretsAppResetLogin = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ed93290>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### touch = False, pws = True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("touch", [True, False], ids=lambda x: "touch" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("pws", [True, False], ids=lambda x: "pws" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def test_list_with_properties(secretsAppResetLogin, touch, pws):
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """Test list commands with additional properties field
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param touch: should touch_button request be set
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param pws: should Password Safe fields be populated
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         length = 20
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp = secretsAppResetLogin
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         login = b"login".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         password = b"password".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         metadata = b"metadata".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         name = CREDID.center(length, "=").encode()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretb = binascii.a2b_hex(SECRET)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.register(
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             name,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretb,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             digits=6,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             kind=Kind.Totp,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             algo=Algorithm.Sha1,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             login=login if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             password=password if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             metadata=metadata if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             touch_button_required=touch,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         items_list = secretsApp.list_with_properties()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert len(items_list) == 1
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         item = items_list[0]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.touch_required == touch
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.pws_data_exist == pws
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >       assert item.properties.secret_encryption == (
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretsAppResetLogin._metadata.get("fixture_type")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             == CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E       AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEncryptionType.PinBased: 1>)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  where True = ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=True).secret_encryption
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=True) = ListItem(kind=<Kind.Totp: 32>, algorithm=<Algorithm.Sha1: 1>, label=b'======CRED ID=======', properties=ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=True)).properties
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = <built-in method get of dict object at 0x7f0d3ed34dc0>('fixture_type')
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where <built-in method get of dict object at 0x7f0d3ed34dc0> = {'fixture_type': <CredEncryptionType.PinBased: 1>}.get
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +      where {'fixture_type': <CredEncryptionType.PinBased: 1>} = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3ed93290>._metadata
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### tests/extra/secrets_app_tests.py:1609: AssertionError
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log setup ------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:421 Executing reset
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Reset (data: 4 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.SetPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log call -------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:594 Setting new credential: b'======CRED ID=======', Kind.Totp, Algorithm.Sha1, counter: 0, touch_button_required=False, pin_based_encryption=True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Put (data: 119 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.List (data: 6 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 24 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending CCIDInstruction.Select (data: 12 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 14 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ________________ test_list_with_properties[KeyPinBased--touch] _________________
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### secretsAppResetLogin = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3e8a00d0>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### touch = True, pws = False
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("touch", [True, False], ids=lambda x: "touch" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("pws", [True, False], ids=lambda x: "pws" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def test_list_with_properties(secretsAppResetLogin, touch, pws):
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """Test list commands with additional properties field
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param touch: should touch_button request be set
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param pws: should Password Safe fields be populated
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         length = 20
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp = secretsAppResetLogin
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         login = b"login".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         password = b"password".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         metadata = b"metadata".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         name = CREDID.center(length, "=").encode()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretb = binascii.a2b_hex(SECRET)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.register(
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             name,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretb,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             digits=6,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             kind=Kind.Totp,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             algo=Algorithm.Sha1,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             login=login if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             password=password if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             metadata=metadata if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             touch_button_required=touch,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         items_list = secretsApp.list_with_properties()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert len(items_list) == 1
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         item = items_list[0]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.touch_required == touch
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.pws_data_exist == pws
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >       assert item.properties.secret_encryption == (
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretsAppResetLogin._metadata.get("fixture_type")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             == CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E       AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEncryptionType.PinBased: 1>)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  where True = ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=False).secret_encryption
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=False) = ListItem(kind=<Kind.Totp: 32>, algorithm=<Algorithm.Sha1: 1>, label=b'======CRED ID=======', properties=ListItemProperties(touch_required=True, secret_encryption=True, pws_data_exist=False)).properties
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = <built-in method get of dict object at 0x7f0d3ed57440>('fixture_type')
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where <built-in method get of dict object at 0x7f0d3ed57440> = {'fixture_type': <CredEncryptionType.PinBased: 1>}.get
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +      where {'fixture_type': <CredEncryptionType.PinBased: 1>} = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3e8a00d0>._metadata
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### tests/extra/secrets_app_tests.py:1609: AssertionError
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log setup ------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:421 Executing reset
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Reset (data: 4 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.SetPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log call -------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:594 Setting new credential: b'======CRED ID=======', Kind.Totp, Algorithm.Sha1, counter: 0, touch_button_required=True, pin_based_encryption=True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Put (data: 53 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.List (data: 6 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 24 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending CCIDInstruction.Select (data: 12 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 14 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ___________________ test_list_with_properties[KeyPinBased--] ___________________
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### secretsAppResetLogin = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3e61ed10>
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### touch = False, pws = False
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("touch", [True, False], ids=lambda x: "touch" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     @pytest.mark.parametrize("pws", [True, False], ids=lambda x: "pws" if x else "")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     def test_list_with_properties(secretsAppResetLogin, touch, pws):
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """Test list commands with additional properties field
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param touch: should touch_button request be set
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         @param pws: should Password Safe fields be populated
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         """
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         length = 20
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp = secretsAppResetLogin
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         login = b"login".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         password = b"password".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         metadata = b"metadata".center(length, b"=")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         name = CREDID.center(length, "=").encode()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretb = binascii.a2b_hex(SECRET)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.register(
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             name,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretb,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             digits=6,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             kind=Kind.Totp,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             algo=Algorithm.Sha1,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             login=login if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             password=password if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             metadata=metadata if pws else None,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             touch_button_required=touch,
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###     
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         secretsApp.verify_pin_raw(PIN)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         items_list = secretsApp.list_with_properties()
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert len(items_list) == 1
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         item = items_list[0]
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.touch_required == touch
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         assert item.properties.pws_data_exist == pws
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### >       assert item.properties.secret_encryption == (
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             secretsAppResetLogin._metadata.get("fixture_type")
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###             == CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ###         )
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E       AssertionError: assert True == (<CredEncryptionType.PinBased: 1> == <CredEncryptionType.PinBased: 1>)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  where True = ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=False).secret_encryption
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=False) = ListItem(kind=<Kind.Totp: 32>, algorithm=<Algorithm.Sha1: 1>, label=b'======CRED ID=======', properties=ListItemProperties(touch_required=False, secret_encryption=True, pws_data_exist=False)).properties
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = <built-in method get of dict object at 0x7f0d3e61f240>('fixture_type')
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +    where <built-in method get of dict object at 0x7f0d3e61f240> = {'fixture_type': <CredEncryptionType.PinBased: 1>}.get
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +      where {'fixture_type': <CredEncryptionType.PinBased: 1>} = <pynitrokey.nk3.secrets_app.SecretsApp object at 0x7f0d3e61ed10>._metadata
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### E        +  and   <CredEncryptionType.PinBased: 1> = CredEncryptionType.PinBased
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### 
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### tests/extra/secrets_app_tests.py:1609: AssertionError
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log setup ------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:421 Executing reset
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Reset (data: 4 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.SetPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### ------------------------------ Captured log call -------------------------------
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:594 Setting new credential: b'======CRED ID=======', Kind.Totp, Algorithm.Sha1, counter: 0, touch_button_required=False, pin_based_encryption=True
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.Put (data: 53 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.VerifyPIN (data: 15 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 0 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending Instruction.List (data: 6 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 24 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:351 Sending CCIDInstruction.Select (data: 12 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:360 Received [9000] (data: 14 bytes)
2024-06-14 12:24:21,858 - hil.runner - DEBUG - ### DEBUG    conftest:secrets_app.py:393 TLV-decoding of data successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant