Secure device association: templates from the manifest and loopback associations #18
Labels
No labels
area: audio
area: d3d11
area: d3d12
area: gdk
area: gui
area: kernel
area: loader
area: shaders
area: video
area: winrt
bug
compat
console: series-xs
console: xbox-one
duplicate
enhancement
graphics-glitch
needs-log
needs-repro
not-a-dump
regression
status: boots
status: in-game
status: intro
status: menu
status: nothing
status: playable
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/sammwyy--xvalkyrie#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@landovg on GitHub · 2026-11-27 18:42 UTC · original
Titles that send game traffic through Windows.Xbox.Networking's secure device association (SDA) currently get nothing from it:
SecureDeviceAssociationTemplate.Templatesis empty (inert row, statics slot 7).GetTemplateByNamereturns an inert template.CreateAssociationAsyncfails as offline.So there is no socket address to send to.
Proposal (implemented and tested on a branch, ready as a PR if the approach suits):
appx::inspect_manifestreads thewindows.xbox.networkingextension: socket descriptions and association templates.winrt/networkingmodule gives real template objects from the title's own manifest.::1by default, or the IP address inXV_SDA_PEER. A local server can then stand in for the remote device.SecureDeviceAssociation.GetAssociationBySocketAddressBytesmaps received datagrams back to their association.Open questions for you:
XV_SDA_PEER) acceptable for the peer, or should it be aconfig.inisetting (network.sda_peer)?SOCKADDR_IN6(::1) right for the titles you've seen? The IPv4 form is available through the setting.🤖 Generated with Claude Code