Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL version builtin with Terraspace is obsolete #321

Open
2 of 3 tasks
alexpilon666 opened this issue Jul 28, 2023 · 0 comments
Open
2 of 3 tasks

OpenSSL version builtin with Terraspace is obsolete #321

alexpilon666 opened this issue Jul 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@alexpilon666
Copy link

Checklist

  • Upgrade Terraspace: Are you using the latest version of Terraspace? This allows Terraspace to fix issues fast. There's an Upgrading Guide: https://terraspace.cloud/docs/misc/upgrading/
  • Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.boltops.com
  • Code sample: Have you put together a code sample to reproduce the issue and make it available? Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.

My Environment

Software Version
Operating System Ubuntu 22.04 LTS
Terraform 2.2.6
Terraspace 1.5.2
Ruby 3.0.3p157

Expected Behaviour

Terraspace should use the operating system's version of OpenSSL, and not a pre-bundled version.

Current Behavior

When running bash scripts using the data "external" data source, Terraspace seems to use its own bundled version of OpenSSL instead of the default OpenSSL binary from the underlying OS. This causes issues because in our case we required a feature that is only availably in OpenSSL v3.x, and Terraspace comes bundled with OpenSSL v1.x

Step-by-step reproduction instructions

  • Create a Terraform project and add a data "external" datasource
  • Make your program run a Bash script that simply runs which openssl >> /tmp/log.txt
  • Review the output of /tmp/log.txt to find the following: /opt/terraspace/embedded/bin/openssl
  • Run /opt/terraspace/embedded/bin/openssl version and get this: OpenSSL 1.0.2zb 23 Sep 2021
  • If I run which openssl on my own computer, I get the expected output of /usr/bin/openssl, which has a version of OpenSSL 3.0.2 15 Mar 2022

Code Sample

Solution Suggestion

@alexpilon666 alexpilon666 added the bug Something isn't working label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant