Skip to content

fix: correct subject-digest format for attest-build-provenance#1910

Closed
ravshansbox wants to merge 1 commit intosharkdp:masterfrom
ravshansbox:fix/attest-digest-format
Closed

fix: correct subject-digest format for attest-build-provenance#1910
ravshansbox wants to merge 1 commit intosharkdp:masterfrom
ravshansbox:fix/attest-digest-format

Conversation

@ravshansbox
Copy link
Copy Markdown

@ravshansbox ravshansbox commented Mar 7, 2026

Problem

The GitHub Actions workflow fails for all release builds in v10.4.0 at the "Attest artifact" step due to an invalid digest format.

The workflow uses:

subject-digest: sha256::${{ steps.upload-tarball.artifact-digest }}

This produces a double colon (sha256::...) which is invalid. The correct format is:

subject-digest: sha256:${{ steps.upload-tarball.artifact-digest }}

Impact

All release builds fail at the attestation step, preventing the creation and publishing of release artifacts (tarballs, .deb packages, etc.) for all platforms.

Root Cause

The bug was introduced in PR #1901 which bumped actions/attest-build-provenance from v3 to v4. The new attestation steps were accidentally written with a double colon instead of a single colon after the sha256 prefix.

Fix

This change corrects the digest format in both attestation steps.

Fixes #1909

Related

Remove extra colon in sha256 digest prefix. The correct format is
'sha256:HEX_DIGEST', not 'sha256::HEX_DIGEST'. This was causing
attestation failures for all release builds on all platforms.
@tmccombs
Copy link
Copy Markdown
Collaborator

tmccombs commented Mar 7, 2026

This isn't enough to fix it. See #1904, which this is kind of a duplicate of

@tmccombs tmccombs closed this Mar 7, 2026
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.

CI/CD: Fix attest-build-provenance digest format (v10.4.0)

2 participants