Repository navigation
ci(proxy-release): sign the aether-proxy image and gate the chart pin on it (#984) - #986
Merged
Merged
Conversation
… on it (#984) aether-proxy -- the Envoy every node runs -- was the one released image with no signature: 0 signature tags in the repository; the pinned index (sha256:938c5a57...) and both children answer "no signatures found". proxy-release.yml: - New `sign` job after `manifest`: same SHA-pinned cosign-installer as publish.yaml (v4.1.2 -> cosign v3.0.6), keyless (id-token: write), `cosign sign --recursive <image>@<index digest>` in the default v3 bundle layout, then scripts/verify-image-signatures.sh over the index and every child with the proxy-release identity (.../.github/workflows/proxy-release.yml@refs/heads/main). - `bump-chart` needs [manifest, sign] and refuses to pin a digest other than the one signed and verified. - The workflow file is already in its own `paths` filter, so merging this publishes (and pins) the first signed proxy image. Sweep (publish-verify / verify-published-artifacts.sh): - Each checked commit also checks the proxy digest its charts/aether/values.yaml PINS (not a *-<sha> tag): the digest exists, and the index and every child carry a signature; the cosign pass verifies those refs under the proxy-release identity. - scripts/proxy-pin-lib.sh: pin extraction (scoped to the proxy block, never the supervisor digest below it) and the cut-over: a pin introduced at or before PROXY_SIGNING_CUTOVER whose digest has no signature tag is printed as `skip` and not counted; any later pin (including a revert to an old digest) is always checked, so an unsigned new pin goes red. - scripts/check-proxy-pin.sh (18 cases, no network) wired into ci's shell job. Runbook: proxy signing, the identity, hand verification, the cut-over. Closes #984 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
fix/proxy-release-sign
branch
from
September 27, 2026 12:14
2589bb1 to
393c556
Compare
…he verifier sources it since #984) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
…-pin lookup walks values.yaml history Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 27, 2026
…in (#988, 857e659) The cut-over was #986's base (8422b46) because the pin commit could not be known in advance. #988 pinned the first signed aether-proxy image (sha256:574d5211…, verified index + both children under the proxy-release identity); every pin from here on must verify. The 24h --recent sweep with the new value: 21 push heads, the three cb79180-era pins skipped as history, nothing red. check-proxy-pin 18/18. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 27, 2026
…in (#988, 857e659) (#997) The cut-over was #986's base (8422b46) because the pin commit could not be known in advance. #988 pinned the first signed aether-proxy image (sha256:574d5211…, verified index + both children under the proxy-release identity); every pin from here on must verify. The 24h --recent sweep with the new value: 21 push heads, the three cb79180-era pins skipped as history, nothing red. check-proxy-pin 18/18. Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #984
Problem
ghcr.io/bpalermo/aether/aether-proxy, the Envoy that every node runs, was the only released image with no signature. The repository has 0 signature tags. The pinned index and both of its children returnno signatures found.proxy-release.ymlnever rancosign sign, and the sweep never looked at this repository.What changes
proxy-release.ymlsignjob aftermanifest. It uses the same SHA-pinnedsigstore/cosign-installeraspublish.yaml(v4.1.2, which installs cosign v3.0.6), signs keyless withid-token: writeandpackages: write, and runscosign sign --recursive ghcr.io/bpalermo/aether/aether-proxy@<index digest>. It uses the default v3 bundle layout and passes no--new-bundle-formatflag, the same aspublish.yaml.scripts/verify-image-signatures.sh(from ci(publish): cosign-verify every child manifest, not just the index (#925) #982), using the proxy identity:^https://github\.com/bpalermo/aether/\.github/workflows/proxy-release\.yml@refs/heads/main$This identity is pinned to
refs/heads/mainbecause this workflow only runs on push to main.bump-chartnow hasneeds: [manifest, sign]. It refuses to pin any digest other than the onesignsigned and verified. The chart can no longer be pinned to an unsigned proxy..github/workflows/proxy-release.ymlwas already in its ownpathsfilter; this PR adds a comment explaining why. Merging this PR triggers a full Envoy rebuild on RBE (about 20 minutes), publishes the first signed proxy image, and the bot opens the auto-merging pin PR.Sweep (
publish-verify.yaml,verify-published-artifacts.sh, newscripts/proxy-pin-lib.sh)For every commit it checks, the sweep now also checks the proxy digest pinned in that commit's
charts/aether/values.yaml. It does not look for a*-<sha>tag, because the proxy is versioned by its own commit. The pinned digest must exist, and the index and every child must have a signature tag. The cosign pass then verifies those refs under the proxy identity, as a secondverify-image-signatures.shrun whose output goes to the samecosign.log, so failures still reach the rolling issue.Cut-over. A pin is shown as
skip … unsigned by historyand not counted only when both of these hold:PROXY_SIGNING_CUTOVER;Every other pin is checked. That includes a revert to an old digest after the cut-over, which counts as a new pin. So a new pin without a signature fails the sweep.
PROXY_SIGNING_CUTOVERis set to8422b46ff3144a9f8438007909dc1b355460a7a5, theorigin/mainthis PR is based on. The merge commit can't be known in advance. Any pin added after this commit comes from a run that includes thesignjob. One caveat: if an older-workflow proxy release pins between this base and the merge, the sweep will flag it red, and that is correct. Once the first signed pin lands, this constant can be moved forward to that pin's commit. It must never be moved back.Tests:
scripts/check-proxy-pin.sh(18 cases, no network, throwaway git repo) runs inci's shell job. It covers:PROXY_SIGNING_CUTOVERis a full 40-character SHA.A mutation that ignores the cut-over fails 2 cases.
Runbook: new section "Verifying the aether-proxy signature (#984)". It covers the identity, how to verify by hand, the cut-over, and the fact that the currently pinned digest is unsigned permanently.
Until the pin PR lands
The digest pinned right now (
sha256:938c5a57…, childrenbb53bed6…amd64 and4a90a7fb…arm64) is unsigned and will stay unsigned. The sweep skips it (it predates the cut-over) and says so by name. The first signed digest will be the one the proxy-release run triggered by this merge pins.Validation (local, read-only, cosign v3.0.6, SHA-256 matched against the release checksums)
Seen red. The pin gate fails on the currently pinned digest under the proxy identity:
Control. A signed
publish.yamlimage (agent@sha256:a674962a…, dev-8422b46) passes under the publish identity:The same image fails under the proxy identity, which shows the identity check is strict:
Sweep:
verify-published-artifacts.sh HEADpasses (36 coordinates) and printsskip ghcr.io/bpalermo/aether/aether-proxy@sha256:938c5a57… (pinned by cb79180…, before proxy signing existed …).PROXY_SIGNING_CUTOVER=e28acc2(an older commit, so the current pin counts as post-cut-over), it fails withFAIL: 3 of 40 artifact(s) missing(index and both children). The ref is written toPROXY_SIGNED_REFS_OUT.Other checks: the four workflow YAMLs parse;
bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //scripts/...is clean;check-shell-lint.shcovers all 30 scripts; the existingcheck-*harnesses are green; shfmt formatting applied.Not run
signjob itself (Fulcio/Rekor, OIDC) first runs on merge.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr