Repository navigation
Add the client core for USB forwarding (Windows only) - #25
Merged
Merged
Conversation
Adds the pieces a client needs to ask an ApolloVibe host whether USB forwarding is available and to carry a device over a TLS tunnel: the capability check on the paired HTTPS port, a tunnel that pins the paired certificate and presents the client certificate, and a Windows backend for usbipd-win. usbipd is found only through the Windows service's registered path or Program Files, never PATH or the working directory. The file must be named usbipd.exe, must not be reachable by a link, and must sit in a location ordinary users cannot modify, checked with a real access check against the user's own token. Elevated commands are built only from a validated bus id or GUID. There is no settings UI and no session wiring yet, so nothing changes for a user. Linux and macOS build to a stub that reports "unsupported". Tests use loopback only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second step of USB forwarding, after ApolloVibe #12 (which answers the capability check as "disabled"). This adds building blocks only: no settings, no stream hooks, and nothing a user can see yet.
What it adds
Tests
Not covered
Derived from qiin2333/moonlight-qt (GPL-3.0); each ported file says so at the top.
🤖 Generated with Claude Code