gitui-org / gitui-org/gitui

Support defaultKeyCommand for [gpg "ssh"] setting

オープン
#2,184 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。