XGameRuntime: check all intermediate certificates for Issuer thumbprint pins #2366
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2376"
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?
Imported from ivall/xcl. Originally posted by spook40 on 2026-11-25T17:23:15Z.
Part 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