From 39da5de14502e0e4b49d18d456733a10a89d3ecf Mon Sep 17 00:00:00 2001 From: highlander Date: Mon, 30 Mar 2026 20:01:40 -0600 Subject: [PATCH] fix: move blind-sign tests to 7.14.0 section in test report E16/E17 (blind_sign_blocked, blind_sign_allowed) were in the Ethereum section (min_fw 7.0.0), causing them to appear as FAILED on pre-7.14 builds despite requires_firmware("7.14.0") skipping them at runtime. Relocated to EVM Clear-Signing section (V, min_fw 7.14.0) as V8/V9 so the report only includes them for firmware >= 7.14.0. --- scripts/generate-test-report.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/generate-test-report.py b/scripts/generate-test-report.py index 7e2c6bb2..87b7c582 100644 --- a/scripts/generate-test-report.py +++ b/scripts/generate-test-report.py @@ -646,16 +646,6 @@ def parse_junit(path): '0x swap ETH to ERC-20', 'DEX aggregator swap via 0x protocol.', []), ('E15', 'test_msg_ethereum_cfunc', 'test_sign_execTx', 'Contract function call', 'Generic contract call signing.', []), - ('E16', 'test_msg_ethereum_signtx', 'test_ethereum_blind_sign_blocked', - 'Blind sign BLOCKED (AdvancedMode OFF)', - 'Contract data with AdvancedMode disabled. Device shows BLOCKED screen and refuses to sign. ' - 'This is the default behavior -- blind signing must be explicitly enabled.', - ['BLOCKED screen']), - ('E17', 'test_msg_ethereum_signtx', 'test_ethereum_blind_sign_allowed', - 'Blind sign ALLOWED (AdvancedMode ON)', - 'Contract data with AdvancedMode enabled. Device shows BLIND SIGNATURE warning ' - 'before proceeding. User sees raw data and must explicitly confirm.', - ['BLIND SIGNATURE warning']) ]), ('R', 'Ripple (XRP)', '7.0.0', @@ -816,6 +806,16 @@ def parse_junit(path): 'Signature verification math', 'Unit test for the metadata blob signature algorithm.', []), ('V7', 'test_msg_ethereum_clear_signing', 'test_tampered_blob_fails_verification', 'Tampered blob fails', 'Any byte change in the blob invalidates the signature.', []), + ('V8', 'test_msg_ethereum_signtx', 'test_ethereum_blind_sign_blocked', + 'Blind sign BLOCKED (AdvancedMode OFF)', + 'Contract data with AdvancedMode disabled. Device shows BLOCKED screen and refuses to sign. ' + 'This is the default behavior -- blind signing must be explicitly enabled.', + ['BLOCKED screen']), + ('V9', 'test_msg_ethereum_signtx', 'test_ethereum_blind_sign_allowed', + 'Blind sign ALLOWED (AdvancedMode ON)', + 'Contract data with AdvancedMode enabled. Device shows BLIND SIGNATURE warning ' + 'before proceeding. User sees raw data and must explicitly confirm.', + ['BLIND SIGNATURE warning']), ]), ('S', 'Solana', '7.14.0',