1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

feat(legacy/firmware): increase 'challenge_hidden' max_size

Current limit doesn't work with SSH 8.9+ signatures.

Following https://github.com/romanz/trezor-agent/issues/408.
This commit is contained in:
Roman Zeyde 2023-01-12 20:48:48 +02:00 committed by matejcik
parent c63b334136
commit 72f456cc17
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Increase 'SignIdentity.challenge_hidden' max_size to 512 bytes

View File

@ -18,7 +18,7 @@ CosiSign.global_pubkey max_size:32
CosiSignature.signature max_size:32 CosiSignature.signature max_size:32
SignIdentity.challenge_hidden max_size:256 SignIdentity.challenge_hidden max_size:512
SignIdentity.challenge_visual max_size:256 SignIdentity.challenge_visual max_size:256
SignIdentity.ecdsa_curve_name max_size:32 SignIdentity.ecdsa_curve_name max_size:32