Skip to content

policy: the signing-key comments point at #453, not at the retired #35 - #571

Merged
vyskocilm merged 2 commits into
mainfrom
docs/gitkeywhitelist-points-at-453
Sep 10, 2026
Merged

vyskocilm merged 2 commits into
mainfrom
docs/gitkeywhitelist-points-at-453

Conversation

@vyskocilm

Copy link
Copy Markdown
Contributor

GitKeyWhitelist's comment, GIT-CONFIG.md and GENERATED-CONFIG.md all say the whitelist grows when signing has a design, and all three cite issue #35.

#35 is CLOSED — a tracker, retired and split. Following the pointer lands nowhere. Live ticket is #453.

Also adds to the code comment the two measured facts #453 has to answer, invisible from the whitelist itself:

  • A repo-local .git/config with commit.gpgsign = true arrives inside regardless of this list — target is bound, and GIT_CONFIG_GLOBAL displaces only the GLOBAL file. Signed commit from inside then fails with the agent proxy's non-pinned-key refusal, agent refused operation, which reads as a host keyring fault and is not one.
  • The agent protocol carries no purpose, so pinning a second key for signing means either key can be used for either purpose by anything inside.

Left alone deliberately: five other #35 mentions (envtypes.go, envtypes_test.go, ENVIRONMENT-VARIABLES.md x2, VERIFY.md). Those read "#35 and #45 asked for this and are answered by the annotation" — provenance for a question that was answered, with the answer named in the same sentence, not a pointer at pending work.

Comment and prose only. make gate green.

🤖 Generated with Claude Code

vyskocilm and others added 2 commits September 10, 2026 23:18
`GitKeyWhitelist`'s comment, GIT-CONFIG.md and GENERATED-CONFIG.md all say
the whitelist grows when signing has a design, and all three cite issue
#35. #35 is CLOSED — it was a tracker, retired and split — so a reader
following the pointer lands somewhere dead. The live ticket is #453.

The code comment also gains the two measured facts #453 has to answer and
this comment could not, because both are invisible from the whitelist:

  - a repo-local .git/config with `commit.gpgsign = true` arrives inside
    regardless of this list. The target is bound and GIT_CONFIG_GLOBAL
    displaces only the GLOBAL file, so a signed commit from inside fails
    with the agent proxy's non-pinned-key refusal, `agent refused
    operation` — which reads as a host keyring fault and is not one.
  - the agent protocol carries no purpose, so pinning a second key for
    signing means either key can be used for either purpose by anything
    inside the sandbox.

Comment and prose only. make gate green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vyskocilm
vyskocilm merged commit 98fc206 into main Sep 10, 2026
5 checks passed
@vyskocilm
vyskocilm deleted the docs/gitkeywhitelist-points-at-453 branch September 10, 2026 21:26
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