Skip to content

lock BUSYBOX_TARBALL_SHA256 to the upstream 1.36.1 digest - #5

Open
hodgesds wants to merge 1 commit into
likewhatevs:mainfrom
hodgesds:busybox-pin-lock
Open

lock BUSYBOX_TARBALL_SHA256 to the upstream 1.36.1 digest#5
hodgesds wants to merge 1 commit into
likewhatevs:mainfrom
hodgesds:busybox-pin-lock

Conversation

@hodgesds

@hodgesds hodgesds commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Activates the SHA-256 verification gate landed in 626b09d (hermeticize busybox build). Until now the pin was empty, so verify_busybox_tarball_sha256 printed the computed digest as a cargo:warning and continued — the bootstrap-only path documented on the const. Replacing the sentinel with the real digest flips the verify into fail-on-mismatch mode: any future download whose SHA-256 doesn't match this value panics with both digests so the operator can distinguish "upstream regenerated the tarball (refresh pin)" from "supply-chain tampering (investigate before the bytes hit the build)".

Digest computed against
https://github.com/mirror/busybox/archive/refs/tags/1_36_1.tar.gz.

Activates the SHA-256 verification gate landed in 626b09d
(`hermeticize busybox build`). Until now the pin was empty, so
`verify_busybox_tarball_sha256` printed the computed digest as a
`cargo:warning` and continued — the bootstrap-only path documented
on the const. Replacing the sentinel with the real digest flips
the verify into fail-on-mismatch mode: any future download whose
SHA-256 doesn't match this value panics with both digests so the
operator can distinguish "upstream regenerated the tarball
(refresh pin)" from "supply-chain tampering (investigate before
the bytes hit the build)".

Digest computed against
https://github.com/mirror/busybox/archive/refs/tags/1_36_1.tar.gz.
@codecov-commenter

codecov-commenter commented Jun 4, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
9031 1 9030 0
View the top 1 failed test(s) by shortest run time
ktstr::live_var_disambiguation_e2e::ktstr/live_var_resolves_across_same_binary_swap
Stack Traces | 72.7s run time
No failure message available

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants