Skip to content

depends: upgrade OpenSSL for photon from 3.0.15 (EOL) to 3.5 LTS #234

Closed

Description

@djh58

Please describe the feature you'd like to see added.

Upgrade the OpenSSL dependency used by photon from 3.0.15 to the current OpenSSL 3.5 LTS release.

Is your feature related to a problem, if so please describe it.

  • depends/packages/openssl.mk:2 pins openssl 3.0.15. It is built only for photon (photon_packages=openssl, depends/packages/packages.mk:22), and contrib/photon/src/CMakeLists.txt:1,59 links OpenSSL::Crypto.
  • The OpenSSL 3.0 LTS series reached end of life on 2026-09-07, so 3.0.x no longer receives security fixes. 3.0.15 is also several patch releases behind the final 3.0 release.
  • Release builds (Guix) ship photon statically linked against this version, so any future 3.0 vulnerability would stay unpatched in released binaries.

Describe the solution you'd like

  1. Bump depends/packages/openssl.mk to the latest 3.5.x LTS release (supported until April 2030), updating the download path and SHA-256.
  2. Keep the current configure options (no-shared no-tests no-legacy). Check whether 3.5's new defaults (for example QUIC or default providers) need explicit no-* flags to keep the build minimal.
  3. Rebuild through depends and Guix and confirm reproducibility.
  4. Run photon's unit tests (ctest in the photon build) and test/functional/feature_photon_relay.py against the new build.

Describe any alternatives you've considered

  • Last 3.0.x release: buys nothing long term, since the series is end of life.
  • 3.4 or other non-LTS lines: shorter support windows than 3.5 LTS.
  • Replacing OpenSSL in photon with the in-tree SHA-256/HMAC code: possible for today's HMAC-only use, but larger in scope, and future photon work over TLS would need a TLS library anyway.

Please leave any additional context

  • Scope: the depends package and photon only. The node (qbitd) does not link OpenSSL.
  • Related: photon unit tests currently don't run in CI (ci/test/03_test_script.sh runs ctest only on the main build directory), and photon_scheduler_tests fails on loaded hosts at contrib/photon/test/scheduler_tests.cpp:251. Both are worth tracking separately so this upgrade is actually exercised in CI.

Activity

  1. added
    enhancement
    on Oct 6, 2026
  2. added 2 commits that reference this issue on Oct 23, 2026
    9d34f36
    0893eee
  3. djh58 commented on Oct 23, 2026

    @djh58
    MemberAuthor

    Fixed by #249, merged into 1.1.0 as 0893eee: photon's OpenSSL is now 3.5.9. It ships with 1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions