1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 14:08:11 +00:00

chore(core): update vendor header definitions

* change version format to match the new code
* change devel vendor header size - fixes #659
* add definition for QA vendor header, with production-like flags but
  devel key

THIS QA VENDOR HEADER MUST NOT BE SIGNED BY PRODUCTION KEYS
This commit is contained in:
matejcik 2023-03-02 16:11:58 +01:00
parent acbf642d39
commit 25660144f0
4 changed files with 22 additions and 9 deletions

View File

@ -0,0 +1,18 @@
{
"header_len": 4608,
"text": "QA ONLY, DO NOT USE!",
"expiry": 0,
"version": [0, 0],
"sig_m": 2,
"trust": {
"show_vendor_string": false,
"require_user_click": false,
"red_background": false,
"delay": 0
},
"pubkeys": [
"e28a8970753332bd72fef413e6b0b2ef1b4aadda7aa2c141f233712a6876b351",
"d4eec1869fb1b8a4e817516ad5a931557cb56805c3eb16e8f3a803d647df7869",
"772c8a442b7db06e166cfbc1ccbcbcde6f3eba76a4e98ef3ffc519502237d6ef"
]
}

View File

@ -0,0 +1 @@
vendor_satoshilabs.toif

View File

@ -2,10 +2,7 @@
"header_len": 4608,
"text": "SatoshiLabs",
"expiry": 0,
"version": {
"major": 0,
"minor": 0
},
"version": [0, 0],
"sig_m": 2,
"trust": {
"show_vendor_string": false,

View File

@ -1,11 +1,8 @@
{
"header_len": 2560,
"header_len": 4608,
"text": "UNSAFE, DO NOT USE!",
"expiry": 0,
"version": {
"major": 0,
"minor": 0
},
"version": [0, 0],
"sig_m": 2,
"trust": {
"show_vendor_string": true,