Skip to content

verify signature against versioned index.json - #95

Merged
mitchellh merged 1 commit into
mainfrom
push-twrktoxyzwpq
Apr 17, 2026
Merged

mitchellh merged 1 commit into
mainfrom
push-twrktoxyzwpq

Conversation

@mitchellh

Copy link
Copy Markdown
Owner

The minisig file is generated against the versioned zig-${VERSION}-index.json, not the generic /download/index.json. The generic file is a living document that gets overwritten with each new Zig build, so its contents may not match what was signed at the time of verification. Download the versioned copy from /builds/ and verify against that instead.

This fixes 0.16 validation.

The minisig file is generated against the versioned
zig-${VERSION}-index.json, not the generic /download/index.json.
The generic file is a living document that gets overwritten with
each new Zig build, so its contents may not match what was signed
at the time of verification. Download the versioned copy from
/builds/ and verify against that instead.
@mitchellh
mitchellh merged commit 571a971 into main Apr 17, 2026
2 checks passed
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.

1 participant