Skip to content
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

Error initiating server #632

Open
T-449 opened this issue Jan 27, 2025 · 5 comments
Open

Error initiating server #632

T-449 opened this issue Jan 27, 2025 · 5 comments
Labels
question No code change required

Comments

@T-449
Copy link

T-449 commented Jan 27, 2025

Hello,

I was trying to initate a server using the commands in the oqs repo. But this is the error I get.

Image

The error is the same when i want to sign messages.

Image

Also there is an error when i try to initiate client, but it could also be because the server hasn't started yet

Image

Can you please help me resolve these?

@T-449 T-449 added the question No code change required label Jan 27, 2025
@Martyrshot
Copy link
Member

Hey there, what version of OpenSSL are you using?

In order to have pq digital signatures oqs-provider requires versions >= 3.2.x.

As for the frodo issue, what is the output of openssl list -kem-algorithms -provider oqsprovider?

@baentsch
Copy link
Member

Adding to the suggestions by @Martyrshot , please review the discussion board as well as the bug reporting template as those most likely contain hints and/or even answers to your questions, @T-449 .

@T-449
Copy link
Author

T-449 commented Jan 28, 2025

I am using OpenSSL 3.2.2. and the output is

(oqs) heresy@heresy:~$ openssl list -kem-algorithms -provider oqsprovider
{ 1.2.840.113549.1.1.1, 2.5.8.1.1, RSA, rsaEncryption } @ default
{ 1.2.840.10045.2.1, EC, id-ecPublicKey } @ default
{ 1.3.101.110, X25519 } @ default
{ 1.3.101.111, X448 } @ default
frodo640aes @ oqsprovider
p256_frodo640aes @ oqsprovider
x25519_frodo640aes @ oqsprovider
frodo640shake @ oqsprovider
p256_frodo640shake @ oqsprovider
x25519_frodo640shake @ oqsprovider
frodo976aes @ oqsprovider
p384_frodo976aes @ oqsprovider
x448_frodo976aes @ oqsprovider
frodo976shake @ oqsprovider
p384_frodo976shake @ oqsprovider
x448_frodo976shake @ oqsprovider
frodo1344aes @ oqsprovider
p521_frodo1344aes @ oqsprovider
frodo1344shake @ oqsprovider
p521_frodo1344shake @ oqsprovider
kyber512 @ oqsprovider
p256_kyber512 @ oqsprovider
x25519_kyber512 @ oqsprovider
kyber768 @ oqsprovider
p384_kyber768 @ oqsprovider
x448_kyber768 @ oqsprovider
x25519_kyber768 @ oqsprovider
p256_kyber768 @ oqsprovider
kyber1024 @ oqsprovider
p521_kyber1024 @ oqsprovider
mlkem512 @ oqsprovider
p256_mlkem512 @ oqsprovider
x25519_mlkem512 @ oqsprovider
mlkem768 @ oqsprovider
p384_mlkem768 @ oqsprovider
x448_mlkem768 @ oqsprovider
x25519_mlkem768 @ oqsprovider
p256_mlkem768 @ oqsprovider
mlkem1024 @ oqsprovider
p521_mlkem1024 @ oqsprovider
p384_mlkem1024 @ oqsprovider
bikel1 @ oqsprovider
p256_bikel1 @ oqsprovider
x25519_bikel1 @ oqsprovider
bikel3 @ oqsprovider
p384_bikel3 @ oqsprovider
x448_bikel3 @ oqsprovider
bikel5 @ oqsprovider
p521_bikel5 @ oqsprovider
hqc128 @ oqsprovider
p256_hqc128 @ oqsprovider
x25519_hqc128 @ oqsprovider
hqc192 @ oqsprovider
p384_hqc192 @ oqsprovider
x448_hqc192 @ oqsprovider
hqc256 @ oqsprovider
p521_hqc256 @ oqsprovider

@baentsch
Copy link
Member

Thanks for that reconfirmation @T-449 . In that list call you did pass "-provider oqsprovider" -- but you didn't do so in the s_client call in your original post: Intentional? Without oqsprovider active, the error message would be expected..

@T-449
Copy link
Author

T-449 commented Jan 28, 2025

I was just following the command as provided in the USAGE.md of the repo. So I ran the server with the -provider flag and this is what I get

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question No code change required
Projects
None yet
Development

No branches or pull requests

3 participants