Pin sccache by SHA-256 digest instead of release tag #6

Open
opened 2026-05-28 02:56:25 +00:00 by stephen · 0 comments
Owner

Today the action fetches by release tag and trusts the sidecar digest fetched alongside it. For maximum reproducibility, allow the caller to pass a known digest that must match, removing trust in the sidecar being fetched at run time.

Add an optional input (e.g. sha256) that, when set, is compared against the downloaded tarball instead of (or in addition to) the fetched sidecar. Fail closed on mismatch.

Tracked in SECURITY.md under "What is not done yet".

Today the action fetches by release tag and trusts the sidecar digest fetched alongside it. For maximum reproducibility, allow the caller to pass a known digest that must match, removing trust in the sidecar being fetched at run time. Add an optional input (e.g. `sha256`) that, when set, is compared against the downloaded tarball instead of (or in addition to) the fetched sidecar. Fail closed on mismatch. Tracked in SECURITY.md under "What is not done yet".
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/sccache-action#6
No description provided.