feat(libSceSsl): record connection verify options, minimum version and ALPN #5911
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5911"
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 boykopovar/AnyPS5. Originally posted by BigDipsey on 2026-10-14T15:30:32Z.
What
Implements sceSslEnableVerifyOption, sceSslDisableVerifyOption, sceSslSetMinSslVersion, sceSslSetAlpn and sceSslGetAlpnSelected. The technical debt kept them throwing because their signatures were unknown; they now follow SharpProspero, the source already used for the other connection functions.
The options, minimum version and ALPN list are recorded on the connection like the verification callback; nothing reads them until
sceSslConnecthas a transport.sceSslGetAlpnSelectedreturns null because no handshake completes. Unknown connections and terminated contexts throw; versions outside 0 (none) to 5 (TLS 1.2) and a null ALPN list throw. The open questions (initial options, TLS 1.3, ALPN format) are recorded in the libSceSsl technical debt.The PPSA07411 functional debt entry moves to libSceJson2.md, now its first linked library.
Tested
Ubuntu 24.04, GCC 13:
guest_ssl(extended) andguest_ssl_loadpass;tools/check_conventions.pypasses. Not tested with a title.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)🤖 Generated with Claude Code
https://claude.ai/code/session_01SaSmTp7ZiSYcnUMTDVa7hZ
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T17:07:46Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/debt/libSceSsl.mdL7-13core/libs/prx/libSceSsl/Export.cppL520-525docs/dev/debt/libSceSsl.mdL5-13docs/dev/debt/libSceJson2.mdL12-13docs/dev/debt/libSceSsl.mdL9-13docs/dev/debt/libSceSsl.mdL9-13core/libs/prx/libSceSsl/Export.cppL520-525docs/dev/debt/libSceSsl.mdL5-13core/libs/prx/libSceSsl/Export.cppL166docs/dev/debt/libSceSsl.mdL8-13Some 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.
core/libs/tests/GuestSsl.cppdocs/dev/debt/libSceJson2.mdImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T18:38:37Z.
Progress report (
a453108→f708a73)📈 System libraries: 88.84% (+0.13%, +5 implemented functions)
✅ 5 implemented
sceSslDisableVerifyOptionsceSslEnableVerifyOptionsceSslGetAlpnSelectedsceSslSetAlpnsceSslSetMinSslVersionImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T18:40:37Z.
Checked the signatures and the
SceSslVersionrange (0-5) against SharpProspero at the commit cited,guest_ssl/guest_ssl_loadpass locally andguest_sslfails without the change; debt entries are accurate. Merging.