Support defaultKeyCommand for [gpg "ssh"] setting
- 主要言語
- Rust
- スター
- 22.5k
- フォーク
- 773
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**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).
コントリビューションガイド
調査の方向性
まず、gitui が [gpg] と [gpg "ssh"] 配下の .gitconfig エントリ、特にコミット署名の設定をどのように読み取るかを追跡します。defaultKeyCommand と ssh-add -L によって署名キーがどのように提供されるべきかを確認し、その後、agent から提供された SSH キーを使ってコミットに署名できることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, rust
- 領域
- cli, security
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100