Skip to content

OpenSSL version detection during install #1224

Description

@xsrvmy

This came up in #1150 twice already. The installer assumes that the version supplied by the openssl executable is the one to use, which can cause a problem if the openssl executable is not from the system, or if multiple versions of libssl are installed (no longer a problem with 3.0 support). Some better way of handling this is required. I think one of the following should work:

  • Detecting so names (doesn't the installer already do that afterwards anyways?)
  • Allowing the version to be overriden

Activity

  1. charlespierce commented on May 4, 2022

    @charlespierce
    Contributor

    @xsrvmy Thanks for pulling this into its own issue. This is definitely a concern, especially with the linuxbrew example in the linked issue being a case where the openssl executable that runs isn't the system one. We don't do general soname detection, the installer has a specific case for CentOS systems, that have their own unique (custom-built) version of OpenSSL, so it detects that special case only.

    Short-term, a version override (along with some docs about how to use it prominently linked somewhere) may be the easiest approach. More medium term, I have a draft PR out right now #1214 that switches to a statically-linked TLS implementation (also see volta-cli/rfcs#47 for more background), which would sidestep this issue entirely.

  2. jrock2004 commented on Jun 20, 2022

    @jrock2004

    Is this the issue to watch as I am unable to install Volta at all on PopOS

  3. charlespierce commented on Jun 23, 2022

    @charlespierce
    Contributor

    Hi @jrock2004, I'm unfamiliar with PopOS. What is the error you are seeing when trying to install?

  4. jrock2004 commented on Jun 25, 2022

    @jrock2004

    It is the OpenSSL version mismatch. I went ahead and installed arch. Let me try booting into popos and see if issue remains.

  5. jrock2004 commented on Jun 25, 2022

    @jrock2004

    @charlespierce Here is the error

    volta-error

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions