Gpg agent forwarding is broken in dev containers

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

git commit signing doesn’t work anymore

Steps to Reproduce

Installed both Remote-SSH and Devcontainers extensions from any sphere

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.45
VSCode Version: 1.99.3
Commit: 3ccce8f55d8cca49f6d28b491a844c699b8719a0
Date: 2025-09-22T18:22:38.013Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @mintuhouse, thank you for this report. Our dev containers extension unfortunately does not forward GPG credentials. As a workaround, could you try volume mounting the directory containing the GPG keys, and then configuring the gpg agent locally inside the container?

@ravirahman Is there a reason why your devcontainers extension does not forward/mount in GPG keys? This is quite the pain point as this works seamlessly in VSCode. I hate doing the bulk of the work in Cursor only to have to switch back to VSCode (or a terminal on my host) in order to perform the actual git commit in order to have it signed.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.