You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll spare you the details, but I'd like to use this with a different copy of openssl, installed via homebrew to /usr/local/opt/openssl instead of the default one on my machine (mac).
Apparently mac apps dont launch with the same env. variables that are available in the shell, so if I could manually configure openssl-wrapper with a custom path to the actual openssl command to use, that would help me alleviate this issue.
I'm not sure about how this library is setup, so excuse me if this is obvious, but is there a way to configure this? Or would it be an easy modification to make? Happy to help with a PR, if I have a general idea of where I'm looking. Not too familiar with node though :)
Thanks!
The text was updated successfully, but these errors were encountered:
erawhctim
changed the title
Any way to customize the location of the openssl command?
Any way to customize the path of the openssl command?
Sep 14, 2018
@gnarea Thanks for the reply - that's exactly what I'm trying to do with an Electron/React app. I have my PATH setup properly, so when I run the openssl via CLI it works as expected, but somewhere within Node/Electron the PATH isn't being read so a different openssl binary is being triggered by my app.
I'll spare you the details, but I'd like to use this with a different copy of
openssl
, installed via homebrew to/usr/local/opt/openssl
instead of the default one on my machine (mac).Apparently mac apps dont launch with the same env. variables that are available in the shell, so if I could manually configure
openssl-wrapper
with a custom path to the actualopenssl
command to use, that would help me alleviate this issue.I'm not sure about how this library is setup, so excuse me if this is obvious, but is there a way to configure this? Or would it be an easy modification to make? Happy to help with a PR, if I have a general idea of where I'm looking. Not too familiar with node though :)
Thanks!
The text was updated successfully, but these errors were encountered: