blupgrade: refresh stage0 v3 for new sighash
What changed, and why it matters
This commit updates four embedded bootloader files (called 'stage0') inside the BitBox02 firmware's bootloader upgrade tool. The old stage0 files could only verify bootloader updates signed with an older signature format. The new stage0 files understand the newer signature format introduced in a previous change. This is a maintenance/fix commit to keep the bootloader upgrade path working with current signing practices; it does not by itself introduce or fix a user-exploitable vulnerability. Development devices, which skip signature checks, are left unchanged.
Treat this as a compatibility/maintenance update rather than an active vulnerability. Verify the refreshed stage0 binaries match the claimed source revision (bb1a866bba) and that their hashes are correctly recorded. Ensure the production stage1 images are re-signed with the new 0x01-prefixed scheme before enabling production bootloader upgrades, since the commit notes the current v1.2.2 production images still use legacy signatures and will fail verification.
Security signals we found
Bootloader-stage0 binary refresh for signature-hash compatibility
Legacy signature scheme vs. new 0x01-prefixed signature scheme
Production stage1 v1.2.2 still uses legacy signatures, blocking full production upgrade path
Development stage0 skips verification and is intentionally unchanged
Evidence from the diff
The commit refreshes the production stage0 v3 binaries in src/bootloader_upgrade/bin/ for four BitBox02 variants (bitbox02 btconly/multi, bitbox02nova btconly/multi) and updates their SHA-256 checksums in checksums.txt. The message states the previous stage0 images still used the legacy stage1 signature hash and could not accept stage1 images signed with the 0x01-prefixed scheme from PR #2184. The replacement binaries are taken from bb1a866bba. Because production stage1 v1.2.2 images still use legacy signatures, production blupgrade currently halts at the stage1 update step, so this commit alone does not complete the production upgrade chain. No source diff is available; only binary file hashes changed.
Changed components
src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-production.v3.binsrc/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-production.v3.binsrc/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-production.v3.binsrc/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-production.v3.binsrc/bootloader_upgrade/bin/checksums.txtInspect captured patch +4 / −4
### src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-btconly-production.v3.bin
[binary or diff unavailable]
### src/bootloader_upgrade/bin/bootloader-stage0-bitbox02-multi-production.v3.bin
[binary or diff unavailable]
### src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-btconly-production.v3.bin
[binary or diff unavailable]
### src/bootloader_upgrade/bin/bootloader-stage0-bitbox02nova-multi-production.v3.bin
[binary or diff unavailable]
### src/bootloader_upgrade/bin/checksums.txt
@@ -1,11 +1,11 @@
aab519b983a9daae9630c13da50eae4cac4ac5b73f5168f7275e46240cccf482 bootloader-stage0-bitbox02-btconly-development.v3.bin
-31002ebd7ca43d06946301d2fce499badde3dee028a1a190ce2ebc8d0dcdd30c bootloader-stage0-bitbox02-btconly-production.v3.bin
+86eb30f63a212da1a80236bb5adcc6c4d3dd6140acc4bf6ddf96327f3e1170ac bootloader-stage0-bitbox02-btconly-production.v3.bin
61aaf066bdf0f83586e901d527a18651aad444e81390a8f5b9daf697b0e94dd7 bootloader-stage0-bitbox02-multi-development.v3.bin
-f0ec9169c81e8b6d9667aedf8a21ca53a744a9a7a544d27b1647b796c524be40 bootloader-stage0-bitbox02-multi-production.v3.bin
+8e4c9bdcfb614b7deebcdee4f724e09ad15df7906d3b42dbeef2e37e2bce7ec0 bootloader-stage0-bitbox02-multi-production.v3.bin
6f74057ae92919e6f0563d36e9151f842c5724cae97215c4757c197ad3aaa60b bootloader-stage0-bitbox02nova-btconly-development.v3.bin
-cf0c8eb9eb85560bc67d5da11504aa73a52e210fc0c3b8c72f9d4fc6d7acbe3f bootloader-stage0-bitbox02nova-btconly-production.v3.bin
+e31b7c08d75666ca9698a7d426c4db35549b7da60dc26af8fc099058c2ab7755 bootloader-stage0-bitbox02nova-btconly-production.v3.bin
cc7e648ff012261b753a463f4a9172b30f6692dd9ec82b9dedb033a3362ab660 bootloader-stage0-bitbox02nova-multi-development.v3.bin
-3838773d8969e94f475fd291c7ed9e552ca99f7d33ef81aa8e87d623898ac13e bootloader-stage0-bitbox02nova-multi-production.v3.bin
+3c166e303c47c40528dfa839060e5624c0b3a54dd0d08ae9d8f8fc1ae37c35ee bootloader-stage0-bitbox02nova-multi-production.v3.bin
c58996d5e36c6dba3d00b77b756341fd0dce722b85257537d67193d62ec6e7d4 bootloader-stage1-bitbox02-btconly-development.v1.2.3.signed.bin
ebb93bb2c23b5266fccb93ca623fe9aadf15dd166999ba8380de37eb1ff26cae bootloader-stage1-bitbox02-btconly-production.v1.2.2.signed.bin
3007072deeb349dd507a31e359045d879f23c7836c894a24a95bdcadc15f6057 bootloader-stage1-bitbox02-multi-development.v1.2.3.signed.binWhy this scored 29/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.