I was looking to build an application using the Electron framework, but I have a bit of a unique requirement. I need to use a specific version / build of openssl that would also affect libcurl and websockets (ws). Specifically, I am building an openssl engine to extend the libraries functionality. This, of course, means a separate library build of openssl that the stock ‘npm i openssl’ would not have. Is there a way to supply the application with a different library static or shared object file than the one that comes with Electron? Or would I have to create my own node module?
Also, if I was able to update / change the openssl library, would that mean that all modules within the application that use cryptography would then use this updated openssl library as well? Or would things like curl and ws still whatever is supplied by Electron?