Skip to content

Verify installer release attestations - #2780

Merged
Widthdom merged 2 commits into
mainfrom
fix-issue1678
May 31, 2026
Merged

Verify installer release attestations#2780
Widthdom merged 2 commits into
mainfrom
fix-issue1678

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Verify release archives and sha256sums.txt with GitHub provenance attestations when gh is available.
  • Add CDIDX_REQUIRE_ATTESTATION=1 to fail closed when provenance verification cannot complete.
  • Document the installer trust behavior and add a bilingual changelog fragment.

Validation

  • bash -n install.sh
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~InstallScriptTests"
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

dotnet test CodeIndex.sln was also attempted, but it produced no further output after the long-running publish/trimmed CLI tests and was stopped after the targeted installer suite had passed.

Documentation and Changelog

  • Updated USER_GUIDE.md.
  • Added changelog.d/unreleased/1678.security.md.

Review

Adversarial review result: No blocking/actionable issues found.

Fixes #1678

@Widthdom
Widthdom merged commit 15c0e8a into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue1678 branch June 3, 2026 23:01
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.

Install script verifies checksums on the same channel as the binary itself

1 participant