fix(aws): the SSO credential client ignores ca_bundle and FIPS settings from the credentials file

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, go

調査の方向性

Read the LoadConfig flow that reloads the SSO profile and the HTTP client setup for the SSO provider, then compare it with the default config load. Add the acceptance test described in the issue: put ca_bundle only in the credentials file and use a TLS test server signed by that CA. The test should fail with an x509 error before the fix and pass with the expected transport settings.

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

説明

Follow-up from #945. When holodeck switches a profile to SSO, LoadConfig reloads the profile from the config file alone to build the SSO provider. From the code, that provider's HTTP client then ignores a ca_bundle, use_fips_endpoint or retry setting that appears only in the credentials file. Behind a TLS-intercepting proxy we expect the SSO calls to fail closed with an x509 error rather than fall back to other credentials. This has not been reproduced yet; the acceptance test below is the reproduction.

Expected: the SSO portal and token calls use the same transport settings as the default load.

Acceptance: a test with ca_bundle only in the credentials file and a TLS test server signed by that CA, that fails with x509 before the fix.

主要言語
Go
スター
31
フォーク
20
平均マージ
2日 4時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

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

NVIDIA/holodeck のほかの issue

NVIDIA/holodeck の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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