Skip to content
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

Support defaultKeyCommand for [gpg "ssh"] setting #2184

Open
3f6a opened this issue Apr 14, 2024 · 0 comments
Open

Support defaultKeyCommand for [gpg "ssh"] setting #2184

3f6a opened this issue Apr 14, 2024 · 0 comments

Comments

@3f6a
Copy link

3f6a commented Apr 14, 2024

Is your feature request related to a problem? Please describe.

I would like to sign commits with my SSH key.

Describe the solution you'd like

Usually I setup my .gitconfig as follows:

[commit]
	gpgsign = true
[gpg]
	format = ssh
[gpg "ssh"]
	defaultKeyCommand = ssh-add -L

This way, it will pick up the ssh key from the ssh-agent as needed.

However it seems that gitui does not understand defaultKeyCommand. As a consequence, I cannot sign commits on remote computers (which receive the key from the agent).

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

No branches or pull requests

1 participant