Skip to content

report: catalog the 7.15 seed-generation evidence and state the report's scope - #30

Open
BitHighlander wants to merge 3 commits into
fix/display-random-ignoredfrom
fix/report-catalog-coverage
Open

BitHighlander wants to merge 3 commits into
fix/display-random-ignoredfrom
fix/report-catalog-coverage

test(zcash): sign a shielded transaction on an actual device

3bbf996
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Integration Tests failed Aug 9, 2026 in 0s

612 tests run, 359 passed, 251 skipped, 2 failed.

Annotations

Check failure on line 1 in TestDeviceReset

See this annotation in the file changed.

@github-actions github-actions / Integration Tests

TestDeviceReset.test_failed_pin

AssertionError: code: ButtonRequest_ResetDevice
 is not an instance of <class 'messages_pb2.PinMatrixRequest'>
Raw output
self = <test_msg_resetdevice.TestDeviceReset testMethod=test_failed_pin>

    def test_failed_pin(self):
        external_entropy = 'zlutoucky kun upel divoke ody' * 2
        strength = 128
    
        ret = self.client.call_raw(proto.ResetDevice(display_random=True,
                                               strength=strength,
                                               passphrase_protection=True,
                                               pin_protection=True,
                                               language='english',
                                               label='test'))
    
        # display_random=True above is deliberate: the field stays in the wire
        # schema for host compatibility but production firmware ignores it,
        # because internal entropy is seed pre-image material. A host that
        # sets it must get a NORMAL reset -- no Internal Entropy screen -- so
        # the very next message is the PIN request, not a ButtonRequest.
>       self.assertIsInstance(ret, proto.PinMatrixRequest)
E       AssertionError: code: ButtonRequest_ResetDevice
E        is not an instance of <class 'messages_pb2.PinMatrixRequest'>

test_msg_resetdevice.py:327: AssertionError

Check failure on line 1 in TestDeviceReset

See this annotation in the file changed.

@github-actions github-actions / Integration Tests

TestDeviceReset.test_reset_device_pin

AssertionError: code: ButtonRequest_ResetDevice
 is not an instance of <class 'messages_pb2.PinMatrixRequest'>
Raw output
self = <test_msg_resetdevice.TestDeviceReset testMethod=test_reset_device_pin>

    def test_reset_device_pin(self):
        external_entropy = b'zlutoucky kun upel divoke ody' * 2
        strength = 128
    
        ret = self.client.call_raw(proto.ResetDevice(display_random=True,
                                               strength=strength,
                                               passphrase_protection=True,
                                               pin_protection=True,
                                               language='english',
                                               label='test'))
    
        # display_random=True above is deliberate: the field stays in the wire
        # schema for host compatibility but production firmware ignores it,
        # because internal entropy is seed pre-image material. A host that
        # sets it must get a NORMAL reset -- no Internal Entropy screen -- so
        # the very next message is the PIN request, not a ButtonRequest.
>       self.assertIsInstance(ret, proto.PinMatrixRequest)
E       AssertionError: code: ButtonRequest_ResetDevice
E        is not an instance of <class 'messages_pb2.PinMatrixRequest'>

test_msg_resetdevice.py:253: AssertionError