Skip to content

self update: an attestation failure must not claim the binary wasn't built by us, and must name the recovery step #2284

Description

@nc9

Split from #2283 (the decision on stuck pre-0.0.190 installs stays there).

When squirrel self update hits an attestation or provenance failure, the CLI prints "this binary was not built by the squirrelscan/squirrelscan release workflow. Nothing was installed." That reads like tampering, even when the real cause is a release built outside GitHub Actions that verifies fine against the pinned signing key. It also gives no next step.

Acceptance Criteria

  • A current CLI never prints "not built by the … release workflow" for a release whose signature verifies against the pinned key in release-keys.json (test).
  • Every attestation or provenance failure message names the recovery step: re-run the install one-liner (curl -fsSL https://install.squirrelscan.com | bash, or the install.ps1 line on Windows). It also links the docs page or anchor that explains it (test for both platforms' text).
  • A real signature mismatch (tampered bytes) still aborts with nothing installed, and still says plainly that verification failed (test).
  • The docs (docs/) self-update troubleshooting section covers this message and the reinstall step.

Activity

  1. added
    bug
    size: S
    on Nov 23, 2026
  2. added theissue type on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclisize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions