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

chore(core): regenerate unsigned and dev-signed vendor headers

This commit is contained in:
matejcik 2023-03-02 16:15:15 +01:00
parent 25660144f0
commit 56047bd34a
6 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,8 @@ for fn in *.json; do
$BUILDVH vendor_${name}.json vendor_${name}.toif vendorheader_${name}_unsigned.bin
done
# sign dev vendor header
cp -a vendorheader_unsafe_unsigned.bin vendorheader_unsafe_signed_dev.bin
$BINCTL -D vendorheader_unsafe_signed_dev.bin
# sign dev and QA vendor header
for name in unsafe qa_DO_NOT_SIGN; do
cp -a vendorheader_${name}_unsigned.bin vendorheader_${name}_signed_dev.bin
$BINCTL -D vendorheader_${name}_signed_dev.bin
done