-
Notifications
You must be signed in to change notification settings - Fork 112
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
Programmatically load provider #211
Comments
Thanks for your interest in using |
We develop a software that implement an HTTP(s) server with Poco library and OpenSSL 3.0.9 ( using C++) |
OK, if you already load legacy and default successfully, then the only reason for |
Ok thanks for advices, I'm using OpenSSL as static link so library are inside my executable so I do not need legacy and default as external lib. I'm trying to figure out how to do the same work with oqsprovider, I'll follow your advices and let ou know, thanks |
OK, thanks for the additional background. It might be then that you may need to wait for #201 to land... |
Ah ok thanks, I'll try the #201 |
thanks @baentsch I add the oqs_provider_init and load_oqs_provider code from 201 pull request and now I'm able to load provider correctly. |
I'm trying with |
Probably I'm doing something wrong, I'm using Openssl 3.0.9 and for 3.0/3.1 I understand that can't work, is it correct? with curl docker I see OpenSSL 3.2 is used |
Yes. You need to configure the group (KEM) to use (as per the port you want to test against).
Possibly, it does. Depends on what features you want to use. Check out https://github.com/open-quantum-safe/oqs-provider#note-on-openssl-versions. Using PQ KEMs with classic SIGs should work in OpenSSL3.0.9 |
@micheleselea FYI, here's (two) proposals how to force use of specific PQC/QSC KEMs: https://github.com/open-quantum-safe/oqs-provider/blob/main/USAGE.md#selecting-tls13-default-groups. A third obviously is use of the OpenSSL API. |
Ok thanks @baentsch I'm going to check the link proposal, probably the best way in my environment is to use directly OpenSSL API. |
No. That's probably best asked upstream. IMO highly unlikely that that's going to be still 2023 given that 3.1.0 only came out a few months ago. |
Hi @baentsch I tried to use curl and httpd docker oqs image but I have some problem. |
I checked and this seems to work |
Topic is resolved. If not, please feel free to re-open with new input. |
Hi all, I was able to compile libqos and oqsprovider under windows, so I end up with oqsprovider.dll
I'm trying to integrate dll in my c++ code loading dll in some way as I do for "legacy" and "default" (even if that providers are not dll in my scenario)
OSSL_PROVIDER_try_load(NULL, "oqsprovider", 1);
but I can't load it. Do you have some advice for me on how can programmatically load provider?
thanks
The text was updated successfully, but these errors were encountered: