From 02ccccd08ec78fdef089aec0629b3d6f6d959ee2 Mon Sep 17 00:00:00 2001 From: highlander Date: Sat, 15 Aug 2026 20:16:16 -0600 Subject: [PATCH] test(recovery): gate per-word BIP-39 validation at 7.15.1, as documented The test's own docstring says the feature it exercises requires firmware 7.15.1+, but the gate admitted 7.15.0. Any 7.15.0 build therefore runs a test for behaviour that release is not expected to have: entering a word outside the BIP-39 wordlist returns a CharacterRequest for the next word rather than a Failure, and the assertion fails. No behaviour change -- the gate now matches the docstring beside it. --- tests/test_msg_recoverydevice_cipher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_msg_recoverydevice_cipher.py b/tests/test_msg_recoverydevice_cipher.py index 1521393e..b72279fd 100644 --- a/tests/test_msg_recoverydevice_cipher.py +++ b/tests/test_msg_recoverydevice_cipher.py @@ -174,7 +174,7 @@ def test_invalid_bip39_word_rejected(self): BIP-39 wordlist must return Failure immediately. Requires firmware 7.15.1+ (per-word validation). """ - self.requires_firmware("7.15.0") + self.requires_firmware("7.15.1") ret = self.client.call_raw(proto.RecoveryDevice(word_count=12, passphrase_protection=False, pin_protection=False,