Skip to content

publish-verify: the proxy-pin step passes the tag list as the bearer token — every sweep since the #997 cut-over exits 2 (inconclusive) #999

Closed

Description

@bpalermo

In scripts/verify-published-artifacts.sh step 5, both check_signature "$PROXY_REPO" "$pin" "$tags" … calls pass the proxy repo's tag list where check_signature takes the pull token (local repo=$1 digest=$2 tok=$3). While the cut-over was #986's base the pinned digest was skipped as history and the branch never ran; since #997 moved PROXY_SIGNING_CUTOVER to the first signed pin (857e659), the signed pin 574d5211… is checked, the lookup runs with a garbage Authorization header, curl fails (43), and the run ends inconclusive: could not look up the signature tags of ghcr.io/bpalermo/aether/aether-proxy@sha256:574d5211… with exit 2 for every commit. Reproduced with main's own scripts on origin/main~1. The offline harness missed it because its fake registry ignores the token. Fix: $tags → $tok on both calls; make the fake registry REJECT a token that is not the one it issued (so the harness catches this class). Found by the Quay phase-1 agent (#998).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions