Skip to content

Add installer GPG verification - #2807

Merged
Widthdom merged 1 commit into
mainfrom
codex/fix-issue1795-gpg-verify
May 31, 2026
Merged

Add installer GPG verification#2807
Widthdom merged 1 commit into
mainfrom
codex/fix-issue1795-gpg-verify

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add GPG verification for sha256sums.txt.asc in install.sh when GnuPG is available.
  • Add --strict-verify / CDIDX_STRICT_VERIFY=1 fail-closed mode and CDIDX_RELEASE_GPG_FINGERPRINT signer pinning.
  • Document installer signature verification and add a bilingual security changelog fragment.

Validation

  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~InstallScriptTests" -p:UseSharedCompilation=false
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false --no-build
  • git diff --check

Documentation and changelog

  • Updated README.md installation security notes in English and Japanese.
  • Added changelog.d/unreleased/1795.security.md.

Follow-up candidates

  • Publish the official CodeIndex release signing public key and fingerprint so production one-liners can pin it without caller-provided CDIDX_RELEASE_GPG_FINGERPRINT.

Fixes #1795

@Widthdom
Widthdom marked this pull request as ready for review May 31, 2026 19:49
@Widthdom
Widthdom merged commit ab7193a into main May 31, 2026
11 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1795-gpg-verify branch May 31, 2026 20:03
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.

Add GPG signature verification to install script

1 participant