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
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Any reason why deltachat-node does not use system OpenSSL library except it's considered outdated? I've monkey-patched[1] the application and it works fine with /usr/lib/libssl.dylib (libssl.0.9.8.dylib from macOS Mojave).
Asking the user to manually install or build the dependency is not a solution. While bundling OK, I can't see any movement in that direction and it could be hard to maintain security updates in a long term. On the other hand, I doubt Apple will drop support for OpenSSL or introduce breaking changes in the near future — but they still release security updates.
That said, if Delta Chat does not depend on any of the OpenSSL APIs not provided by the latest macOS release (due to the outdated library version), I'd rather define the minimum supported OS release and build against it. And looks like changing a few lines in .travis.yml and scripts/travis-before-install should build node bindings against system version of OpenSSL.
[1]: Replaced /usr/local/opt/openssl/lib/libssl.1.0.0.dylib with /////////////////////////usr/lib/libssl.dylib in Resoureces/app.asar.
The text was updated successfully, but these errors were encountered:
Note that macOS maintains compatibility with programs built against OpenSSL headers (i.e. from an older SDK or source). That's why my app.asar hack1 works.
As a temporary workaround Delta Chat can be built using headers from source but linked against system library.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See deltachat/deltachat-desktop#659, deltachat/deltachat-desktop#660.
Any reason why deltachat-node does not use system OpenSSL library except it's considered outdated? I've monkey-patched[1] the application and it works fine with
/usr/lib/libssl.dylib
(libssl.0.9.8.dylib
from macOS Mojave).Asking the user to manually install or build the dependency is not a solution. While bundling OK, I can't see any movement in that direction and it could be hard to maintain security updates in a long term. On the other hand, I doubt Apple will drop support for OpenSSL or introduce breaking changes in the near future — but they still release security updates.
That said, if Delta Chat does not depend on any of the OpenSSL APIs not provided by the latest macOS release (due to the outdated library version), I'd rather define the minimum supported OS release and build against it. And looks like changing a few lines in .travis.yml and scripts/travis-before-install should build node bindings against system version of OpenSSL.
[1]: Replaced
/usr/local/opt/openssl/lib/libssl.1.0.0.dylib
with/////////////////////////usr/lib/libssl.dylib
inResoureces/app.asar
.The text was updated successfully, but these errors were encountered: