Skip to content

Conversation

@matthewbastien
Copy link
Member

Description

Swiftly installation currently uses pkexec to handle authentication when running the post install script. However, this will not work in dev containers or in a remote ssh environment.

This PR switches to using sudo with askpass to have VS Code ask for the administrator password instead. The askpass functionality is done in a similar way to how the VS Code git extension does it: by having a shell script run a Node application that connects to the Swift extension via an HTTP server.

Tasks

  • Required tests have been written
  • [ ] Documentation has been updated
  • [ ] Added an entry to CHANGELOG.md if applicable

@matthewbastien matthewbastien force-pushed the swiftly-askpass branch 2 times, most recently from c250c0a to d1102fc Compare October 24, 2025 17:24
@matthewbastien matthewbastien merged commit b72296f into swiftlang:main Oct 28, 2025
25 checks passed
@matthewbastien matthewbastien deleted the swiftly-askpass branch October 28, 2025 15:25
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