claude-code - 💡(How to fix) Fix [Feature Request] Support GPG commit signing in sandboxed environment

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description claude code is not able to use GPG for commit signing while sandboxed due to blocked syscalls (on ubuntu). Since our org requires commit signing and I insist on enabling the sandbox for security reasons, claude cannot make commits for me which slows the workflow down (I have it stage and print a commit message). This friction for sensitive envs is desirable but it would be nice for claude to be able to sign commits in prescribed situations (as described in settings.json sandbox section), especially for agentic workflows. One solution (in lieu of adding this feature) might be to run claude code in a container, un-sandboxed, with it's own instance of gpg and it's own keys but obviously that's not as convenient or accessible as the claude code native feature.

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.142
  • Feedback ID: 7d9cf300-e7cd-4952-9001-3d090537f37e

Errors

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Feature Request] Support GPG commit signing in sandboxed environment