Skip to content

Automatic Port Selection and Secured Communication#1038

Open
FlorianRappl wants to merge 2 commits intodevelopfrom
feature/socket-enhancements
Open

Automatic Port Selection and Secured Communication#1038
FlorianRappl wants to merge 2 commits intodevelopfrom
feature/socket-enhancements

Conversation

@FlorianRappl
Copy link
Collaborator

Follow up for #1021 - should be reviewed / merged after #1037.

Introduces an authentication token to be used in the communication between Node.js (Electron) and .NET. The same token can be used to also guard an ASP.NET Core server - allowing only access from within the boundaries of the running application.

The port is now OS-selected - guaranteeing a free accessible port. No tools to find free ports are necessary.

The owning part (e.g., Node.js for the WebSocket connection to control the Electron application) also owns / opens the port - independent of the used startup mode.

@FlorianRappl FlorianRappl added this to the 0.5.0 milestone Mar 5, 2026
@FlorianRappl FlorianRappl changed the base branch from main to develop March 5, 2026 10:57
@FlorianRappl FlorianRappl requested a review from softworkz March 5, 2026 22:21
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

pr-comment: Run #59

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
1400 1237 1 0 0 162 0 3m 10s

Some tests failed!

Name Failure Message
❌ BrowserWindowTests - Represented_filename_and_edited_flags System.TimeoutException : No response after 1000ms trying to retrieve value browserWindow.GetRepresentedFilenameAsync()

Github Test Reporter by CTRF 💚

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.

1 participant