Scenario Requirements:
In order to be able to port the run on Linux to extract OpenSSL encrypted tar compression package code directly to the window to use without rewriting the part of the code, you need to be able to support tar and OpenSSL command line decryption on the window. For how to support the shell on window, refer to the previous blog post.
First, verify that the next Cygwin is installed with OpenSSL if it is not supported.
The deployment of the environment is simply a matter of copying several files to the bin directory under the operating environment.
So, how do you determine which files you need to copy?
Because it is the shell command of the decryption of OpenSSL, then Sh.exe,openssl.exe must not run away, there is also the dependence of sh.exe,openssl.exe;
Perform ldd sh.exe to view sh dependencies:
Perform ldd openssl.exe to view OpenSSL dependencies:
Copy the libraries that depend on the red box to the bin directory in the running environment.
---of deploying Cygwin in Windows Tar/openssl