-
Notifications
You must be signed in to change notification settings - Fork 81
Create guide for GPG agent forwarding [ch15007] #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✨ Coder.com for PR #497 deployed! It will be updated on every commit.
|
The fix for pinentry is to add |
Also added some troubleshooting. Needs cleanup.
Added security considerations Added code-server ux issue
Can you take a look at this and clean it up so it'll deploy a preview site? |
## Making the connection | ||
|
||
On your local device, ensure the gpg-agent is running and that it works when | ||
you attempt to perform a GPG action such as `echo "test" | gpg --clearsign".` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like a quote is imbalanced here
@mterhar you should be good to go: https://codercom-nhj9c7za9-codercom.vercel.app/docs/coder/v1.20/guides/customization/gpg-forwarding |
@khorne3 This is validated and I've tested it with my yubikey and made some troubleshooting tips for the next version. I did apparently ruin the linting though :-( |
One of the recent major pushes for government contractors and other software-supply-chain sensitive organizations is to sign all commits to be sure they're coming from the right people and going through the right process to get integrated into the codebase.
Adding GPG injection in the same way as Coder does SSH key management may work for some users but if they're using a smart card or yubikey, GPG forwarding is needed.
Configuration of GPG forwarding is fragile and has a lot of moving pieces so this guide is intended to help users line up those pieces effectively.
ch-15007
Things to be addressed:
SSH workaround, put
IdentityFile ~/.ssh/coder
into the.ssh/config
file... but that's not really the intended use.