gitui-org / gitui-org/gitui

Support defaultKeyCommand for [gpg "ssh"] setting

Open
#2,184 3 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.