Repository navigation
feat(ssl): implement context-scoped PS5 certificate PEM reading - #6511
Merged
Merged
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
This was referenced Oct 16, 2026
JJenkx
force-pushed
the
fix/ssl-ps5-reader-context
branch
from
October 16, 2026 20:09
358e3c4 to
30633f3
Compare
JJenkx
force-pushed
the
fix/ssl-ps5-reader-context
branch
from
October 17, 2026 00:01
30633f3 to
418d2fc
Compare
12 tasks done
JJenkx
force-pushed
the
fix/ssl-ps5-reader-context
branch
from
October 18, 2026 04:26
418d2fc to
d21e1a6
Compare
JJenkx
force-pushed
the
fix/ssl-ps5-reader-context
branch
from
October 18, 2026 06:09
d21e1a6 to
b5eeee0
Compare
12 tasks done
Contributor
Author
|
Parking this PR to free one of my 20 open slots for a demonstrated Crimson Spires startup crash fix. This SSL implementation has unit coverage, but no demonstrated title unblock or independent review yet, and console length/error-precedence semantics still need validation. The branch fix/ssl-ps5-reader-context and its evidence are preserved. I will reconsider reopening when a title exercises this path or independent validation strengthens the implementation; no source branch is being deleted. |
JJenkx
force-pushed
the
fix/ssl-ps5-reader-context
branch
from
October 19, 2026 02:20
b5eeee0 to
f4630b2
Compare
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.
What
Implement
sceSslGetPemwith the PS5 context-first four-argument call: context, certificate, caller-owned destination and in/outsize_tlength. A null destination queries the size; short buffers throw before writing. The PEM backend originated in jagrat Singh’s #5969 proposal; that PR merged without PEM.Both #5953 and #5969 are now merged. This refresh removes their prerequisite commits and retains main’s serial/name, validity and fingerprint readers and tests unchanged, including its unknown-context checks. The remaining regression checks PEM query/copy guards and the PS5 reader call shapes, context ownership and snapshot lifetime.
Static inspection of PPSA28002 confirms the four-argument PEM call, caller-owned buffer and 64-bit length; PPSA17330/PPSA28002 establish the serial/name call shapes. This is call-shape evidence, not console error precedence or exact PEM length semantics. Remaining uncertainty is recorded in library debt.
Overlap review: #6828 has merged. This refresh preserves its TLS transport implementation, transport tests and debt; the conflicts were resolved by retaining both test registrations and adding only the PEM debt entry. #7319 concerns TLS transport, not PEM reading. #6044 reorganizes test paths and registration; #6039 moves unrelated debt. Neither is a prerequisite for PEM.
Tested
Latest refresh: three linear commits on main
40393b0f959c, headf4630b2144. The debt conflict retains main’s updated TLS verify-option documentation and adds only the PEM limitation entry. All four SSL test executables and their library dependencies rebuilt;guest_ssl,guest_ssl_load,guest_ssl_ps5_readers,guest_ssl_transport_kernel, andguest_ssl_transport_netpass 5/5, zero skips, 1.92 seconds on Linux x86-64/GCC Release. Conventions and whitespace pass. No fresh full-runtime build, console or native-title validation is claimed. Earlier validation below remains historical.Arch Linux x86-64, Ryzen 9 7950X, Release, bundled source-built dependencies. Exact source
b5eeee0250dc2f5c9c338bb52ab2bf84f01520ccis three linear commits on mainccb0c092683aa9012769394d2f1a0b43b7b7e89a, with no merge commits.Full runtime
libsand all four SSL executables build.guest_ssl,guest_ssl_load,guest_ssl_ps5_readers,guest_ssl_transport_kernelandguest_ssl_transport_netpass, 5/5, no skips, 0.65 seconds. Conventions and whitespace checks pass. Both transport tests perform local TLS handshakes and data transfer through their respective guest socket tables.Validation report, CTest log. Earlier negative controls and patched-NID probes remain historical evidence, not rerun results for this refresh. No console, Windows or title runtime validation, title unblock or performance gain is claimed. Full hosted Linux/Windows builds require maintainer dispatch.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)