Skip to content

Not able to commit changes when using GPG-autosigned commits #274

Closed as not planned

Description

@Kotsucoder

To be fair, it's entirely possible I'm just a noob or an idiot here. I have my Git config set up to automatically sign my commits using a GPG signature, which is configured with a passphrase. However, that means when I try to commit changes using the T3 Code interface, it simply returns an error, as there is no mechanism to accept my GPG passphrase.

This leaves me with one of two options:

  • Update my Git config so automatic signing is turned off
  • Manually commit changes using the terminal

As of right now, I've chosen the latter.
Edit: Just realized I can configure the Git config locally. Still not ideal, but a better temporary solution.

Activity

  1. 0xnim commented on Mar 12, 2026

    @0xnim

    I know jetbrains uses pinentry for the gpg input

  2. sargunv commented on Apr 12, 2026

    @sargunv

    I have a similar issue, but my signing is configured not with a passphrase, but with an SSH key in my mac's TPM. So I just need to touch id to sign my commit. I'd expect that to work since it needs to TTY input (works properly with conductor, other IDEs, etc) but T3 Code still fails with:

    error: Signing file /var/folders/51/7gt5zp9d58n2w8qcsmgn8vjr0000gn/T//.git_signing_buffer_tmpiyCmr2 Confirm user presence for key ECDSA-SK SHA256:xctXMY66usIPGbG/a592wq61NuozuWhDq6NUhAtAfRg Couldn't sign message: device not found? Signing /var/folders/51/7gt5zp9d58n2w8qcsmgn8vjr0000gn/T//.git_signing_buffer_tmpiyCmr2 failed: device not found? fatal: failed to write commit object
    

    No touch id prompt was presented.

  3. sargunv commented on Apr 12, 2026

    @sargunv

    asking the agent to "commit and push" within t3 code works fine though. (with touch id), even though the tty situation is the same. I'd be happy if the "commit and push" button just injected an instruction to the agent (so it can write the commit message, deal with pre-commit failures, etc autonomously).

  4. maria-rcks commented on Oct 9, 2026

    @maria-rcks
    Collaborator

    Note

    This is an automated response from a bot acting on maria's behalf.
    This issue has had no activity since 2026-04-12.
    Is it still relevant on the current version? If so, your version and OS would help.

  5. alexaka1 commented on Oct 9, 2026

    @alexaka1

    What would be appropriate for activity on the issue? I can easily setup a bot to keep commenting. The issue is easily reproducible, just set up commit signing in your git config with a key that requires a passhprase or pin entry.

  6. sargunv commented on Oct 9, 2026

    @sargunv

    I ended up using a plaintext key for commit signing because of this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions