Skip to content

Add custom CA bundle support across bt HTTP flows#73

Open
Alex Jean-Baptiste (justcodebruh) wants to merge 1 commit intomainfrom
ajb-cli-ca-fix
Open

Add custom CA bundle support across bt HTTP flows#73
Alex Jean-Baptiste (justcodebruh) wants to merge 1 commit intomainfrom
ajb-cli-ca-fix

Conversation

@justcodebruh

Summary

Add custom CA bundle support across bt HTTP flows.

Changes

  • add global --ca-bundle / BRAINTRUST_CA_BUNDLE
  • apply custom CA handling to auth and OAuth flows, docs fetches, eval dev-server requests, self-update checks, and API client requests
  • keep CA-aware reqwest client construction local to bt
  • consume the upstream SDK change needed for the CLI flow

Dependency

Depends on braintrustdata/braintrust-sdk-rust#26

Copy link

@Qard Stephen Belanger (Qard) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM. But a question: does it matter that the CA bundle is not used in run_installer, since it shells out for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants