chore(trust): flip the signing checks to the new release root
v1.7.122-alpha was the last release signed with the old root — it is the release that installed the new pin on every node. From v1.7.123 the new root signs, and a node running .122+ rejects an old-key signature. The ARCHY_RELEASE_ROOT_PUBKEY override is no longer needed either: the signer built from this tree pins the same key we now sign with. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
27c1b151f8
commit
cfd1b4c731
@@ -240,19 +240,11 @@ install -m 0644 "$FRONTEND_ARCHIVE" "$VERSION_DIR/archipelago-frontend-${VERSION
|
||||
# warning and falls through — and the commit then happened anyway. A release
|
||||
# commit carrying a manifest no node will accept has no valid use, so refuse
|
||||
# to create one rather than leave a tag that has to be re-cut.
|
||||
# ⚠ ROTATION IN FLIGHT (v1.7.122-alpha) — this is the OLD root, deliberately.
|
||||
#
|
||||
# The trust anchor in the binary already pins the NEW root
|
||||
# (z6Mkfu5LT…DLWT), because this release is what installs that pin. But the
|
||||
# manifest THIS release ships must be signed with the OLD root
|
||||
# (z6Mkkid…q7ur): every node is still running the previous binary, which
|
||||
# pins the old key and would reject anything else. Signing this one with the
|
||||
# new key ends OTA fleet-wide and needs hands-on recovery per node.
|
||||
#
|
||||
# ➜ NEXT RELEASE (v1.7.123+): change this to the new DID, and the same line
|
||||
# in publish-release-assets.sh. By then every node runs a binary pinning
|
||||
# the new root, and an old-key signature is the one that gets rejected.
|
||||
EXPECTED_DID="did:key:z6MkkidEnEpo6qHMCNSZoNKWtvQvxq3whnaME9wGgEFhq7ur"
|
||||
# Release root ROTATED 2026-08-05. v1.7.122-alpha was the last release signed
|
||||
# with the old root (z6Mkkid…q7ur) — it is the release that installed this
|
||||
# pin on every node. From v1.7.123 onward the new root signs, and nodes
|
||||
# running .122+ reject anything signed with the old key.
|
||||
EXPECTED_DID="did:key:z6Mkfu5LT8d4DjETtrkATvHh9Dvcbnr7zBCUwfau8Sw7DLWT"
|
||||
if ! grep -q '"signature":' "$PROJECT_ROOT/releases/manifest.json" \
|
||||
|| ! grep -q "\"signed_by\": \"$EXPECTED_DID\"" "$PROJECT_ROOT/releases/manifest.json"; then
|
||||
echo "" >&2
|
||||
|
||||
Reference in New Issue
Block a user