How to use credentials from git-credential helper
まだ誰も着手していません。
- 主要言語
- C
- スター
- 10.6k
- フォーク
- 2.7k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Is it possible to make libgit2 authenticate using credentials that the user has previously stored via the command line git? Specifically Git for Windows defaults to storing credentials in Git Credential Manager for Windows which speaks the credential helper protocol.
I think this involves shelling out to git credential fill but maybe there is more to it. Is there an example that implements something like this? A git_cred_ helper function would also be very useful.
@dscho
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、libgit2 の認証情報処理と Git credential helper protocol を確認します。特に、提案されている git credential fill とのやり取りと Git Credential Manager for Windows を確認してください。プロジェクトが保存されたコマンドライン認証情報をサポートすべきか、または例をドキュメント化すべきかを判断し、要求されている git_cred_ helper についても検討してください。対応するアプローチが決定され、実証されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, git
- 領域
- authentication, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 24/100