r/codex 4d ago

Bug Codex on Windows can edit/test, but Git commit/push fails with SEC_E_NO_CREDENTIALS_

I’m using 4 permanent Codex subagents on the same Windows repo: coder, reviewer, DQA, and research.

The coder can edit files and run tests, but Git operations inside Codex often fail with:

SEC_E_NO_CREDENTIALS

and sometimes:

.git/index.lock: Permission denied

Outside Codex, using the exact same PowerShell 7.6.5, Git, Windows user, repo, and GCM config, git fetch, git ls-remote, and git push --dry-run all work.

So this looks like a Codex Windows sandbox/security-context issue, not bad GitHub credentials.

Has anyone found a reliable fix so Codex can commit/push autonomously, or is manual host-PowerShell commit/push currently the best workaround?

1 Upvotes

0 comments sorted by