feat(libressl3): report OpenSSL version strings #9970

Merged
Froraut merged 1 commit from upstream-pr/9970 into main 2026-11-02 16:12:37 +00:00
Froraut commented 2026-10-23 01:06:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Froraut on 2026-10-23T01:06:11Z.


What

I implemented OpenSSL_version for libSceLibreSsl3. Selectors 0–5 return the published firmware 13.40 strings; other selectors return not available. The focused test checks exact text, unsupported selectors and stable string addresses. Existing digest tests are unchanged.

Public firmware measurements and LibreSSL 4.0.0. I did not take new console measurements.

Tested

macOS arm64, AppleClang, C++20 with -DNDEBUG, ASan and UBSan: the focused production-source test passes; the same test compiles but fails against the base without this change.

I tested the original combined changes on Linux and Windows. The fresh checks for this standalone branch were run on macOS; full Linux/Windows CI has not been repeated for this branch.

The standalone native harness uses the production implementation and only the minimal sentinel/dependency helpers needed to link it. Full-runtime and x86-64 execution are not claimed by this native test.

git diff --check and the conventions check passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

Co-authored-by: FroRaut [email protected]

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4976283809 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9970). Originally posted by [Froraut](https://github.com/Froraut) on 2026-10-23T01:06:11Z. --- ### What I implemented OpenSSL_version for libSceLibreSsl3. Selectors 0–5 return the published firmware 13.40 strings; other selectors return not available. The focused test checks exact text, unsupported selectors and stable string addresses. Existing digest tests are unchanged. [Public firmware measurements](https://github.com/boykopovar/AnyPS5/discussions/8981#discussioncomment-19111214) and [LibreSSL 4.0.0](https://github.com/libressl/openbsd/blob/libressl-v4.0.0/src/lib/libcrypto/cversion.c). I did not take new console measurements. ### Tested macOS arm64, AppleClang, C++20 with `-DNDEBUG`, ASan and UBSan: the focused production-source test passes; the same test compiles but fails against the base without this change. I tested the original combined changes on Linux and Windows. The fresh checks for this standalone branch were run on macOS; full Linux/Windows CI has not been repeated for this branch. The standalone native harness uses the production implementation and only the minimal sentinel/dependency helpers needed to link it. Full-runtime and x86-64 execution are not claimed by this native test. `git diff --check` and the conventions check passed. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes Co-authored-by: FroRaut <79215537+[email protected]>
MarcZX10 commented 2026-10-23 04:51:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T04:51:38Z.

Review: CHANGES_REQUESTED


The current contribution checklist requires “One topic per PR” (CONTRIBUTING.md, Branches and pull requests). This change combines 23 independent implementations across 11 unrelated libraries: for example, CP858 conversion, OpenSSL stack/version helpers, TUS adapters, HTTP2 option state, a POSIX clock wrapper, PlayGo requests, FIOS time conversion, and compositor index allocation. The shared goal of increasing the export count does not make these changes one implementation topic, and it makes the review and validation boundaries difficult to assess together.

Please split the unrelated library changes into focused PRs and narrow each PR to one coherent behavior, keeping its tests and debt updates with that behavior. This request is based on the repository’s one-topic rule, not on the size of the open queue. The existing tests and evidence are useful; retain their relevant portions with each focused change.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5624032452 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9970#pullrequestreview-5624032452). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T04:51:38Z. **Review:** CHANGES_REQUESTED --- The current contribution checklist requires “One topic per PR” (CONTRIBUTING.md, Branches and pull requests). This change combines 23 independent implementations across 11 unrelated libraries: for example, CP858 conversion, OpenSSL stack/version helpers, TUS adapters, HTTP2 option state, a POSIX clock wrapper, PlayGo requests, FIOS time conversion, and compositor index allocation. The shared goal of increasing the export count does not make these changes one implementation topic, and it makes the review and validation boundaries difficult to assess together. Please split the unrelated library changes into focused PRs and narrow each PR to one coherent behavior, keeping its tests and debt updates with that behavior. This request is based on the repository’s one-topic rule, not on the size of the open queue. The existing tests and evidence are useful; retain their relevant portions with each focused change.
MarcZX10 commented 2026-10-28 22:18:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T22:18:00Z.

Review: CHANGES_REQUESTED


The narrowed head 2bd4b2294b5f00cb073ea97b19f72fe0ca714a1e is now scoped to OpenSSL_version, its focused test, CMake registration, and the debt entry. The reported macOS production-source test passes with -DNDEBUG, ASan, and UBSan; the independent firmware-13.42 native comparison covers selectors -10 through 300 and boundary values, but is not a console run. Full Linux/Windows verification remains outstanding. The current hosted conventions check passes, while eligibility fails and the latest merge state is DIRTY / non-mergeable.

Please integrate current main (319621ba2e578bd053b0baba2877fe70520e0737); this head is 6,143 commits behind it. Resolve the merge conflict, identify and correct the current eligibility-check failure, then rerun the focused test and conventions on the refreshed tree. Add Linux/Windows focused verification if those supported environments are available. I found no remaining one-topic issue or implementation defect in the narrowed behavior, but the current integration and failed check block approval.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5690427759 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9970#pullrequestreview-5690427759). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T22:18:00Z. **Review:** CHANGES_REQUESTED --- The narrowed head `2bd4b2294b5f00cb073ea97b19f72fe0ca714a1e` is now scoped to `OpenSSL_version`, its focused test, CMake registration, and the debt entry. The reported macOS production-source test passes with `-DNDEBUG`, ASan, and UBSan; the independent firmware-13.42 native comparison covers selectors -10 through 300 and boundary values, but is not a console run. Full Linux/Windows verification remains outstanding. The current hosted conventions check passes, while eligibility fails and the latest merge state is `DIRTY` / non-mergeable. Please integrate current `main` (`319621ba2e578bd053b0baba2877fe70520e0737`); this head is 6,143 commits behind it. Resolve the merge conflict, identify and correct the current eligibility-check failure, then rerun the focused test and conventions on the refreshed tree. Add Linux/Windows focused verification if those supported environments are available. I found no remaining one-topic issue or implementation defect in the narrowed behavior, but the current integration and failed check block approval.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!9970
No description provided.