Support defaultKeyCommand for [gpg "ssh"] setting
Open
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
Assessment
This issue has not been assessed yet.