1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

chore(core): add T3T1 production keys to trezorctl

[no changelog]
This commit is contained in:
tychovrahe 2024-04-15 16:47:50 +02:00 committed by TychoVrahe
parent 457e5956c8
commit 9a212a22bd

View File

@ -223,22 +223,22 @@ T2B1 = ModelKeys(
) )
T3T1 = ModelKeys( T3T1 = ModelKeys(
production=False, production=True,
boardloader_keys=[ boardloader_keys=[
bytes.fromhex(key) bytes.fromhex(key)
for key in ( for key in (
"db995fe25169d141cab9bbba92baa01f9f2e1ece7df4cb2ac05190f37fcc1f9d", "76af426e61406bad7c077b409c66fde39fb817919313ae1e4c02535c80beed96",
"2152f8d19b791d24453242e15f2eab6cb7cffa7b6a5ed30097960e069881db12", "619751dc8d2d09d7e5dfb99e41f606debdf419f85a8143e8e5399ea67a3988c7",
"22fc297792f0b6ffc0bfcfdb7edb0c0aa14e025a365ec0e342e86e3829cb74b6", "abf94b6615a7dde2a871f7d62c38efc7d9d8f6010d8846bee636e4f3e658a38c",
) )
], ],
boardloader_sigs_needed=2, boardloader_sigs_needed=2,
bootloader_keys=[ bootloader_keys=[
bytes.fromhex(key) bytes.fromhex(key)
for key in ( for key in (
"d759793bbc13a2819a827c76adb6fba8a49aee007f49f2d0992d99b825ad2c48", "338b949b7e3b26470d4fe3696fd6fff28757265d14cca48ebf2db97b4f5bc039",
"6355691c178a8ff91007a7478afb955ef7352c63e7b25703984cf78b26e21a56", "28682027730b783201b05a8c9d11685447c17297db71b8a60dc693a44610751d",
"ee93a4f66f8d16b819bb9beb9ffccdfcdc1412e87fee6a324c2a99a1e0e67148", "9fbf31b4e351a4cc81c75995b2257f0a7169268da5a44e94b6a5590d434e32da",
) )
], ],
bootloader_sigs_needed=2, bootloader_sigs_needed=2,
@ -274,7 +274,7 @@ MODEL_MAP = {
Model.T1B1: LEGACY_V3, Model.T1B1: LEGACY_V3,
Model.T2T1: T2T1, Model.T2T1: T2T1,
Model.T2B1: T2B1, Model.T2B1: T2B1,
Model.T3T1: TREZOR_CORE_DEV, Model.T3T1: T3T1,
Model.D001: TREZOR_CORE_DEV, Model.D001: TREZOR_CORE_DEV,
Model.D002: TREZOR_CORE_DEV, Model.D002: TREZOR_CORE_DEV,
} }
@ -291,8 +291,8 @@ MODEL_MAP_DEV = {
MODEL_HASH_PARAMS_MAP = { MODEL_HASH_PARAMS_MAP = {
Model.T1B1: LEGACY_HASH_PARAMS, Model.T1B1: LEGACY_HASH_PARAMS,
Model.T2T1: T2T1_HASH_PARAMS, Model.T2T1: T2T1_HASH_PARAMS,
Model.T3T1: T3T1_HASH_PARAMS,
Model.T2B1: T2T1_HASH_PARAMS, Model.T2B1: T2T1_HASH_PARAMS,
Model.T3T1: T3T1_HASH_PARAMS,
Model.D001: T2T1_HASH_PARAMS, Model.D001: T2T1_HASH_PARAMS,
Model.D002: D002_HASH_PARAMS, Model.D002: D002_HASH_PARAMS,
} }