-
Notifications
You must be signed in to change notification settings - Fork 91
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
Static library support #82
Comments
The approach to "build static" sounds good -- what would help me is a (windows?) script building everything as you recommend, triggering testing (both good and failing), ideally using gnu-type tooling. A pure binary is something I wouldn't know how to debug into (which tools to use as I assume they depend on your build environment, right?). |
It is evident that we lack some experience on Windows, which is perfectly fine!
That's it! To simplify your life as well as end users' life, I will be attaching a simple installer for you to try. |
Just to make it clear for a simple mind like me: I need to download and install all software from https://sourceforge.net/projects/mingw/, then run
? |
Hi. |
Thanks very much for this installer. I am now confused by the introductory statement, though:
When trying out the installer and the test programs contained, no test fails (?). So did you manage to resolve all problems? If so, would you consider contributing your work e.g., to resolve this issue, #80 and #47 ? |
@mingw-io ping/Did you see the questions above? |
Ciao there. Regarding issue #80 my tests have demonstrated the oqs-provider does NOT support OpenSSL statically linked. Now we need to ask ourselves how to proceed here. I could contribute some binaries/installer with no dependencies at all (e.g. Visual Studio, etc). |
PR would be welcome.
I do not have a Windows installation to test. We'd expect any contribution to contain CI features (for the specific platform, i.e., Windows in this case) such as to not depend on manual testing. |
#201 seems to resolve this issue. |
Resolved by #201 |
Hi.
Many people build OpenSSL as a static library.
It appears that OQS provider does NOT work properly with a static OpenSSL as some failing tests demonstrate (e.g. oqs_endecode).
We have been experimenting/trying to build OpenSSL statically with OQS provider 'embedded' the same way as the legacy provider is built.
This is our first attempt and it seems to be working.
Obviously there are advantages and disadvantages here.
The main advantage is that we end up with only one file.
We have run all OQS tests (oqs_signatures, oqs_kems, oqs_groups & oqs_endecode) and they have all passed.
Do we need to run/do more testing here? We can make the binary available (if that helps!).
Cheers and thanks for this project.
The text was updated successfully, but these errors were encountered: