-
Notifications
You must be signed in to change notification settings - Fork 103
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
Missing algorithms even though enabled in liboqs #210
Comments
No limitation, not (really :) wrong, either: Please check out the README:
The reason for this limitation as far as I remember was a "historical" one (in OQS-OpenSSL111 some fields were size limited for all I remember), but in OpenSSL3 I don't see a reason for not activating more algorithms by default. Any opinion, @dstebila ? |
Oh, I totally missed that note! My bad. I will give it a try. |
Yes 111 used some size-limited bit fields to list algorithms. If there are no such limitations in OpenSSL 3 providers, then indeed no reason not to activate more, I think. |
Ah, now I remember: It was the auth bit field. This does not need touching in OpenSSL as we manipulate the core |
So, the (CI) test results are in (see e.g. here): Build time hardly changes; all tests pass but test times go up 3x-5x for the SIG tests: Sphincs+ really is slow. So, to be nice to the environment (saving CI compute cycles) I'd suggest keeping the default sig algs enabled as-is unless someone (@iyanmv ?) makes a good case why enabling more, particularly slow Sphincs+, algorithms is a good idea. |
I don't have any good arguments to enable all by default. I thought it was a bug but it was just me not reading properly the README. |
* Install only oqsprovider.so after open-quantum-safe/oqs-provider#207 * Enable additional algorithsm (see open-quantum-safe/oqs-provider#210)
* Install only oqsprovider.so after open-quantum-safe/oqs-provider#207 * Enable additional algorithsm (see open-quantum-safe/oqs-provider#210)
Describe the bug
I compiled
liboqs
in the following way:The complete PKGBUILD can be found here.
Then I compiled oqs-provider with:
The full PKGBUILD is also here.
The issue is that I don't get all the available algorithms that I can use with
liboqs
directly. For example,$ openssl list -signature-algorithms -provider oqsprovider | grep sphincsshake sphincsshake128fsimple @ oqsprovider p256_sphincsshake128fsimple @ oqsprovider rsa3072_sphincsshake128fsimple @ oqsprovider
Only the NIST level 1 and fast variant of SPHINCS+ are available. Is this a known limitation or am I doing something wrong?
The complete list of signature algorithms that I get from the oqs-provider is this:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: