Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for custom root certificate in GitHub Copilot for Xcode #111

Closed
wants to merge 1 commit into from

Conversation

zkhin
Copy link

@zkhin zkhin commented Jan 14, 2025

Fixes #95

Add support for specifying extra CA certificates in GitHub Copilot for Xcode.

  • Add a new @AppStorage property for nodeExtraCaCerts in Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.
  • Add a new SettingsTextField for "Node extra CA certs" in Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.
  • Add a new function nodeExtraCaCertsChanged to handle changes in Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.
  • Add a new environment variable NODE_EXTRA_CA_CERTS in Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift.
  • Update the environment dictionary to include nodeExtraCaCerts in Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift.
  • Add a new preference key nodeExtraCaCerts in Tool/Sources/Preferences/Keys.swift.

For more details, open the Copilot Workspace session.

Fixes github#95

Add support for specifying extra CA certificates in GitHub Copilot for Xcode.

* Add a new `@AppStorage` property for `nodeExtraCaCerts` in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`.
* Add a new `SettingsTextField` for "Node extra CA certs" in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`.
* Add a new function `nodeExtraCaCertsChanged` to handle changes in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`.
* Add a new environment variable `NODE_EXTRA_CA_CERTS` in `Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift`.
* Update the `environment` dictionary to include `nodeExtraCaCerts` in `Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift`.
* Add a new preference key `nodeExtraCaCerts` in `Tool/Sources/Preferences/Keys.swift`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/github/CopilotForXcode/issues/95?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

At the moment we are not accepting contributions to the repository.

Feedback for GitHub Copilot for Xcode can be given in the Copilot community discussions.

@github-actions github-actions bot closed this Jan 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Copilot for Xcode Fails in Enterprise Environments with MITM Proxy
1 participant