open-quantum-safe / oqs-demos

PARTIALLY SUPPORTED Instructions for enabling the use of quantum-safe cryptography in assorted software using the OQS suite. CONTRIBUTORS WANTED.
https://openquantumsafe.org/
132 stars 74 forks source link

Curl throwing cipher error #287

Closed CryptoMeena closed 3 months ago

CryptoMeena commented 4 months ago

Configured curl to use the oqs-provider version of ssl, but when I try to test the TLS connection, I keep getting this error: closing connection #0 curl: (59) failed setting curves list: 'p256_kyber768'. Confused since listing the ciphers being used by my openssl build yields the very same ones that curl seems unable to set.

baentsch commented 4 months ago

failed setting curves list: 'p256_kyber768'

This is a typical error meaning curl did not pick up/properly activate oqsprovider. Please use the pre-build OQS-enabled docker image first: If that works as desired, please carefully check/compare your build against each stage in the relevant oqs-enabling curl Dockerfile, most notably

https://github.com/open-quantum-safe/oqs-demos/blob/e810c8a472b13b05b7505cafea10be816239df08/curl/Dockerfile#L73C100-L73C890

and

https://github.com/open-quantum-safe/oqs-demos/blob/e810c8a472b13b05b7505cafea10be816239df08/curl/Dockerfile#L93-L96

baentsch commented 3 months ago

Closing without having received further feedback and bug confirmation from author. Please re-open if you can reproduce the problem with the pre-built docker image @CryptoMeena