Skip to content

fix(git): disable gpg signing for ktx's own commits#299

Open
kevinmessiaen wants to merge 1 commit into
mainfrom
fix/gpg-signature-klo-735
Open

fix(git): disable gpg signing for ktx's own commits#299
kevinmessiaen wants to merge 1 commit into
mainfrom
fix/gpg-signature-klo-735

Conversation

@kevinmessiaen

Copy link
Copy Markdown
Collaborator

ktx commits under a synthetic identity (ktx ktx@example.com) that can never own a GPG secret key. On a machine with commit.gpgsign=true, git tried to sign every ktx commit and failed with "No secret key", breaking ingest, scan, wiki, memory, and bootstrap commits.

Inject commit.gpgsign=false as a per-invocation -c override in the single core git client factory every ktx commit flows through.

Also harden the repo-isolation fixture helper to disable signing on its raw commits so the suite is deterministic regardless of the contributor's global git config.

Fixes KLO-735.

ktx commits under a synthetic identity (ktx <ktx@example.com>) that can
never own a GPG secret key. On a machine with commit.gpgsign=true, git
tried to sign every ktx commit and failed with "No secret key", breaking
ingest, scan, wiki, memory, and bootstrap commits.

Inject commit.gpgsign=false as a per-invocation -c override in the single
core git client factory every ktx commit flows through. This honors the
existing principle of not mutating the user's repo config, and is
locale-independent (no error-message matching).

Also harden the repo-isolation fixture helper to disable signing on its
raw commits so the suite is deterministic regardless of the contributor's
global git config.

Fixes KLO-735.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kevinmessiaen kevinmessiaen requested a review from andreybavt June 13, 2026 02:32
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ktx-docs-site Ready Ready Preview, Comment Jun 13, 2026 2:32am

Request Review

@kevinmessiaen kevinmessiaen self-assigned this Jun 13, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants