Add basic authentication for token_grant credentials

オープン
#5,952 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
git, github, rust

調査の方向性

Start by locating the token_grant credential handling in the Rust codebase and reading how the existing bearer and raw-header auth styles are modelled and applied to outbound requests. The profile schema needs a username field alongside the new auth_style: basic, so check where profiles are parsed and validated before touching the injection path. Done means a token grant with basic auth produces a correctly base64-encoded Authorization: Basic header that GitHub's git endpoint and the GitHub CLI accept.

索引モデルが issue の本文から書いたものです。

説明

state:triage-needed
User Story

I use OpenShell sandboxes for engineers and with SPIRE and want Git to fetch with a per-sandbox GitHub App token

Problem Statement

At the moment token_grant injects bearer or a raw header but GitHub git endpoint accepts only Basic

Impact / Why This Matters

Without this feature there is no good way to handle dynamic gh repo access with proper identity

Proposed Design

Add auth_style: basic for token grants, with a user name field in the profile

Acceptance Criteria
  • Token can be used by Github CLI
Alternatives Considered

n/a

Agent Investigation

No response

Checklist
  • I've reviewed existing issues and the published docs
  • This is a design proposal, not a "please build this" request
主要言語
Rust
スター
21.5k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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