XGameRuntime: check all intermediate certificates for Issuer thumbprint pins #2376
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2376
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2376/head"
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?
@spook40 on GitHub · 2026-11-25 17:23 UTC · original
spook40:networking-issuer-thumbprints→main· +50 −1 · 1 files · 1 commits · closed without mergingPart of #1489 (
XCL-BT-050).What is in it
check_thumbprintsincrates/xcl/src/hle/xgameruntime/networking.rssoXNetworkingThumbprintType::Issuer(1) checks every intermediate certificate in the chain (1..chain_sha1s.len() - 1) instead of only index1, while continuing to exclude the leaf (0) and root (len - 1) certificates.issuer_pin_matches_any_intermediate_certificateunit test covering 4-certificate chains (matching both intermediates, rejecting leaf and root asIssuerpins) and 2-certificate chains with no intermediates.Tested
cargo test -p xcl networking::tests -- --test-threads=4(8 passed, 0 failed)cargo test --workspace --test "*" -- --test-threads=4(all integration test targets passed)Regression run
cargo test --workspace -- --test-threads=4(1220 passed; 1 pre-existing unrelated failure ingpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier)Not tested
AI use
XCL-BT-050, draft the slice check and unit test incrates/xcl/src/hle/xgameruntime/networking.rs, and draft this PR description. All changes and tests were reviewed and run locally.Pull request closed