blupgrade: add stage0/stage1 production binaries
What changed, and why it matters
This commit adds production bootloader upgrade files for the BitBox02 hardware wallet and updates build scripts to use them. It is a routine asset-management change: replacing placeholder development hashes with real signed production binaries and enabling previously disabled build targets. There is no code change to how the device operates, no reported vulnerability, and no indication of a security incident.
No security action required. Treat as normal build-maintenance commit. If reviewing supply-chain integrity, verify the new production binaries and their SHA-256 entries against the vendor's published release artifacts and signing keys.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit replaces SHA-256 checksum files for development bootloader stage0/stage1 binaries with actual signed production binaries, bumps referenced stage1 production filenames from v1.2.0 to v1.2.1 in src/CMakeLists.txt, consolidates hash checking into checksums.txt, and re-enables several ‘firmware-blupgrade-*’ CI build targets that had been disabled until production signing keys were available. The diff is entirely build/artifact plumbing; no source logic is modified.
Changed components
src/bootloader_upgrade/bin (bootloader upgrade asset bundle)src/CMakeLists.txt (bootloader binary path definitions).ci/check-hashes (hash verification script).github/workflows/ci-common.yml (CI build matrix)Inspect captured patch +26 / −17
diff --git a/.ci/check-hashes b/.ci/check-hashes
index ee48a68..4cedb12 100755
--- a/.ci/check-hashes
+++ b/.ci/check-hashes
@@ -7,5 +7,5 @@ sha256sum --check bitbox-da14531-firmware.bin.sha256
(
cd src/bootloader_upgrade/bin
- sha256sum --check *.sha256
+ sha256sum --check checksums.txt
)
diff --git a/.github/workflows/ci-common.yml b/.github/workflows/ci-common.yml
index 068189a..443fd77 100644
--- a/.github/workflows/ci-common.yml
+++ b/.github/workflows/ci-common.yml
@@ -201,12 +201,13 @@ jobs:
target:
- bootloader-stage0
- bootloader-stage1
- # Re-enable after the stage1 upgrade binaries are signed with the
- # stage0 root keys embedded in this branch.
- # - bootloader-upgrade-assets
- # - bootloader-upgrade-assets-development
- firmware
- firmware-btc
+ - firmware-blupgrade-bitbox02-btconly
+ - firmware-blupgrade-bitbox02-multi
+ - firmware-blupgrade-bitbox02nova-btconly
+ - firmware-blupgrade-bitbox02nova-multi
+ - firmware-blupgrade-bitbox02-btconly-development
- factory-setup
- firmware-debug
- simulator
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 23e803a..fe77f20 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -462,10 +462,10 @@ if(CMAKE_CROSSCOMPILING)
set(BB02_BLUPD_STAGE0_BITBOX02_MULTI_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage0-bitbox02-multi-development.v1.bin)
set(BB02_BLUPD_STAGE0_BITBOX02NOVA_BTCONLY_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage0-bitbox02nova-btconly-development.v1.bin)
set(BB02_BLUPD_STAGE0_BITBOX02NOVA_MULTI_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage0-bitbox02nova-multi-development.v1.bin)
- set(BB02_BLUPD_STAGE1_BITBOX02_BTCONLY_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-btconly-production.v1.2.0.signed.bin)
- set(BB02_BLUPD_STAGE1_BITBOX02_MULTI_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-multi-production.v1.2.0.signed.bin)
- set(BB02_BLUPD_STAGE1_BITBOX02NOVA_BTCONLY_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02nova-btconly-production.v1.2.0.signed.bin)
- set(BB02_BLUPD_STAGE1_BITBOX02NOVA_MULTI_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02nova-multi-production.v1.2.0.signed.bin)
+ set(BB02_BLUPD_STAGE1_BITBOX02_BTCONLY_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-btconly-production.v1.2.1.signed.bin)
+ set(BB02_BLUPD_STAGE1_BITBOX02_MULTI_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-multi-production.v1.2.1.signed.bin)
+ set(BB02_BLUPD_STAGE1_BITBOX02NOVA_BTCONLY_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02nova-btconly-production.v1.2.1.signed.bin)
+ set(BB02_BLUPD_STAGE1_BITBOX02NOVA_MULTI_PRODUCTION_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02nova-multi-production.v1.2.1.signed.bin)
set(BB02_BLUPD_STAGE1_BITBOX02_BTCONLY_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin)
set(BB02_BLUPD_STAGE1_BITBOX02_MULTI_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin)
set(BB02_BLUPD_STAGE1_BITBOX02NOVA_BTCONLY_DEVELOPMENT_BIN ${BB02_BLUPD_BIN_DIR}/bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin)
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-development.v1.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-development.v1.bin.sha256
deleted file mode 100644
index c2010f3..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-development.v1.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-f782331aa994906c65dddf7e4755feeaf0bb177b131be3914a0981af3425f1db bootloader-stage0-bitbox02-btconly-development.v1.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-production.v1.bin b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-production.v1.bin
new file mode 100755
index 0000000..0dae2d6
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-production.v1.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-development.v1.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-development.v1.bin.sha256
deleted file mode 100644
index 5d92457..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-development.v1.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-e8152d0de3024db5f87f1df81a570fb33480d293f5d696de8bfab16e5652b4e6 bootloader-stage0-bitbox02-multi-development.v1.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-production.v1.bin b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-production.v1.bin
new file mode 100755
index 0000000..3b65851
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-production.v1.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-development.v1.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-development.v1.bin.sha256
deleted file mode 100644
index 5ac0965..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-development.v1.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-61719283f9984406098822c6c8ec34509e4c3a0346a7e758d1fcad2123ebae2b bootloader-stage0-bitbox02nova-btconly-development.v1.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-production.v1.bin b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-production.v1.bin
new file mode 100755
index 0000000..3e4eecc
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-production.v1.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-development.v1.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-development.v1.bin.sha256
deleted file mode 100644
index d0171d1..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-development.v1.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-2fdf5db05b7913bfcea43bb2501a91d529ee5199834b43d7a48a0399c3581e92 bootloader-stage0-bitbox02nova-multi-development.v1.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-production.v1.bin b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-production.v1.bin
new file mode 100755
index 0000000..6ca594f
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-production.v1.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin.sha256
deleted file mode 100644
index a7902fc..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-e12efe809ad9a17098979242eb762cf9b682ed4208e44fb21748c2256aa4489b bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-production.v1.2.1.signed.bin b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-production.v1.2.1.signed.bin
new file mode 100644
index 0000000..7546d71
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-btconly-production.v1.2.1.signed.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin.sha256
deleted file mode 100644
index bbd77dd..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-662b663a7fe41550a56fa76defa06f54f40d599e4416082ebab77eae35878279 bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-production.v1.2.1.signed.bin b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-production.v1.2.1.signed.bin
new file mode 100644
index 0000000..d238609
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02-multi-production.v1.2.1.signed.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin.sha256
deleted file mode 100644
index ca96c37..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-348962dbf9c70205abe15f5beb5fee7fecc34b94782106510973a7f26dc1f6d1 bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-production.v1.2.1.signed.bin b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-production.v1.2.1.signed.bin
new file mode 100644
index 0000000..e320fab
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-btconly-production.v1.2.1.signed.bin differ
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-development.v1.2.0.signed.bin.sha256 b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-development.v1.2.0.signed.bin.sha256
deleted file mode 100644
index dd887bb..0000000
--- a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-development.v1.2.0.signed.bin.sha256
+++ /dev/null
@@ -1 +0,0 @@
-b3568f9b473f3505d1fa925dc026b4b7e222ee971b695793485fb107d0c283cc bootloader-stage1-bitbox02nova-multi-development.v1.2.0.signed.bin
diff --git a/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-production.v1.2.1.signed.bin b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-production.v1.2.1.signed.bin
new file mode 100644
index 0000000..a92fc4e
Binary files /dev/null and b/src/bootloader_upgrade/bin/bootloader-stage1-bitbox02nova-multi-production.v1.2.1.signed.bin differ
diff --git a/src/bootloader_upgrade/bin/checksums.txt b/src/bootloader_upgrade/bin/checksums.txt
new file mode 100644
index 0000000..4e98fc5
--- /dev/null
+++ b/src/bootloader_upgrade/bin/checksums.txt
@@ -0,0 +1,16 @@
+f782331aa994906c65dddf7e4755feeaf0bb177b131be3914a0981af3425f1db bootloader-stage0-bitbox02-btconly-development.v1.bin
+1d575b8e8f2ebfa42090120bfc2de4e4eb38596fe6258d6c087a56dce410377e bootloader-stage0-bitbox02-btconly-production.v1.bin
+e8152d0de3024db5f87f1df81a570fb33480d293f5d696de8bfab16e5652b4e6 bootloader-stage0-bitbox02-multi-development.v1.bin
+5c83460eb12966729e0804de6570c24ffc603f5b8ff5aa8c154b2ba10e6433fc bootloader-stage0-bitbox02-multi-production.v1.bin
+61719283f9984406098822c6c8ec34509e4c3a0346a7e758d1fcad2123ebae2b bootloader-stage0-bitbox02nova-btconly-development.v1.bin
+c55c83348f96cdc8e9a1cc6952eb698c5d019a37ffdd7cca6c45033e9681a8f0 bootloader-stage0-bitbox02nova-btconly-production.v1.bin
+2fdf5db05b7913bfcea43bb2501a91d529ee5199834b43d7a48a0399c3581e92 bootloader-stage0-bitbox02nova-multi-development.v1.bin
+617d13f2cf55dc8b6d53938db06408b51e0c63296c978ddb0c6d80ce81a7cb0e bootloader-stage0-bitbox02nova-multi-production.v1.bin
+e12efe809ad9a17098979242eb762cf9b682ed4208e44fb21748c2256aa4489b bootloader-stage1-bitbox02-btconly-development.v1.2.0.signed.bin
+1592d400ba00d0ebd908cbb9e2245735ce75579184861877bfa58b4bd87844a5 bootloader-stage1-bitbox02-btconly-production.v1.2.1.signed.bin
+662b663a7fe41550a56fa76defa06f54f40d599e4416082ebab77eae35878279 bootloader-stage1-bitbox02-multi-development.v1.2.0.signed.bin
+65f2b8b61741b5e6676b1cdd4796532e499eeca2e5792285af6273e3b4730be8 bootloader-stage1-bitbox02-multi-production.v1.2.1.signed.bin
+348962dbf9c70205abe15f5beb5fee7fecc34b94782106510973a7f26dc1f6d1 bootloader-stage1-bitbox02nova-btconly-development.v1.2.0.signed.bin
+0b70ba64450448ac30b8f6f878d17f4b542fd4e5dde2949f8a158bafba795468 bootloader-stage1-bitbox02nova-btconly-production.v1.2.1.signed.bin
+b3568f9b473f3505d1fa925dc026b4b7e222ee971b695793485fb107d0c283cc bootloader-stage1-bitbox02nova-multi-development.v1.2.0.signed.bin
+9c1604e6ebc835773ddfb2d46ea6b5b4182d5ee44e09b6cdc6dfc053648aca42 bootloader-stage1-bitbox02nova-multi-production.v1.2.1.signed.bin
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.