Skip to content

Obfuscate the test runner connection for VM and Node tests#2704

Open
natebosch wants to merge 3 commits into
masterfrom
vm-test-secret-token
Open

Obfuscate the test runner connection for VM and Node tests#2704
natebosch wants to merge 3 commits into
masterfrom
vm-test-secret-token

Conversation

@natebosch

@natebosch natebosch commented Jul 23, 2026

Copy link
Copy Markdown
Member

Unix domain sockets (using a file in a freshly created temp directory)
are more secure by default than server sockets. Since Dart 3.11.0 (and
windows 10) we have the ability to use unix domain sockets on windows,
so use them for VM tests now.

Node on windows still does not support unix domain sockets, so add a
secret token shared in a freshly created temp directory.

Unix domain sockets (using a file in a freshly created temp directory)
are more secure by default than server sockets. Since Dart 3.11.0 (and
windows 10) we have the ability to use unix domain sockets on windows,
so use them everywhere now.
@natebosch
natebosch requested a review from a team as a code owner July 23, 2026 00:27
@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

No support for unix domain sockets in node on windows
@natebosch natebosch changed the title Use unix domain sockets for VM and node tests Obfuscate the test runner connection for VM and Node tests Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant