1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

feat(legacy): adapt legacy to THP changes

[no changelog]
This commit is contained in:
M1nd3r 2024-12-02 15:42:35 +01:00
parent c3a3bf2845
commit 473b477821
4 changed files with 21 additions and 9 deletions

View File

@ -191,6 +191,12 @@ void fsm_sendFailure(FailureType code, const char *text)
case FailureType_Failure_InvalidSession:
text = _("Invalid session");
break;
case FailureType_Failure_ThpUnallocatedSession:
text = _("Unallocated session");
break;
case FailureType_Failure_InvalidProtocol:
text = _("Invalid protocol");
break;
case FailureType_Failure_FirmwareError:
text = _("Firmware error");
break;

View File

@ -10,7 +10,7 @@ SKIPPED_MESSAGES := Binance Cardano DebugMonero Eos Monero Ontology Ripple SdPro
EthereumTypedDataValueRequest EthereumTypedDataValueAck ShowDeviceTutorial \
UnlockBootloader AuthenticateDevice AuthenticityProof \
Solana StellarClaimClaimableBalanceOp \
ChangeLanguage TranslationDataRequest TranslationDataAck \
ChangeLanguage TranslationDataRequest TranslationDataAck Thp \
SetBrightness DebugLinkOptigaSetSecMax \
BenchmarkListNames BenchmarkRun BenchmarkNames BenchmarkResult

View File

@ -2,14 +2,19 @@ DebugLinkDecision.input max_size:33
DebugLinkDecision.x type:FT_IGNORE
DebugLinkDecision.y type:FT_IGNORE
DebugLinkState.layout max_size:1024
DebugLinkState.pin max_size:51
DebugLinkState.matrix max_size:10
DebugLinkState.mnemonic_secret max_size:240
DebugLinkState.reset_word max_size:12
DebugLinkState.reset_entropy max_size:128
DebugLinkState.recovery_fake_word max_size:12
DebugLinkState.tokens type:FT_IGNORE
DebugLinkGetState.thp_channel_id type:FT_IGNORE
DebugLinkState.layout max_size:1024
DebugLinkState.pin max_size:51
DebugLinkState.matrix max_size:10
DebugLinkState.mnemonic_secret max_size:240
DebugLinkState.reset_word max_size:12
DebugLinkState.reset_entropy max_size:128
DebugLinkState.recovery_fake_word max_size:12
DebugLinkState.tokens type:FT_IGNORE
DebugLinkState.thp_pairing_code_entry_code type:FT_IGNORE
DebugLinkState.thp_pairing_code_qr_code type:FT_IGNORE
DebugLinkState.thp_pairing_code_nfc_unidirectional type:FT_IGNORE
DebugLinkLog.bucket max_size:33
DebugLinkLog.text max_size:256

View File

@ -0,0 +1 @@
../../vendor/trezor-common/protob/messages-thp.proto