From 4bf9c35faa6c5e439d51a7eedd13ef428b9f441c Mon Sep 17 00:00:00 2001 From: Basil Hess Date: Wed, 18 Sep 2024 23:41:56 -0700 Subject: [PATCH] interop onlu with x25519_kyber768 Signed-off-by: Basil Hess --- scripts/oqsprovider-externalinterop.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/oqsprovider-externalinterop.sh b/scripts/oqsprovider-externalinterop.sh index 5457a42d..67999fda 100755 --- a/scripts/oqsprovider-externalinterop.sh +++ b/scripts/oqsprovider-externalinterop.sh @@ -36,12 +36,11 @@ echo " Cloudflare:" if ! ($OPENSSL_APP list -kem-algorithms | grep x25519_kyber768); then echo "Skipping unconfigured x25519_kyber768 interop test" else - export OQS_CODEPOINT_X25519_KYBER512=65072 (echo -e "GET /cdn-cgi/trace HTTP/1.1\nHost: cloudflare.com\n\n"; sleep 1; echo $'\cc') | "${OPENSSL_APP}" s_client ${USE_PROXY} -connect pq.cloudflareresearch.com:443 -groups x25519_kyber768 -servername cloudflare.com -ign_eof 2>/dev/null | grep kex=X25519Kyber768Draft00 fi -if ! ($OPENSSL_APP list -kem-algorithms | grep x25519_kyber512); then - echo "Skipping unconfigured x25519_kyber512 interop test" -else - (echo -e "GET /cdn-cgi/trace HTTP/1.1\nHost: cloudflare.com\n\n"; sleep 1; echo $'\cc') | "${OPENSSL_APP}" s_client ${USE_PROXY} -connect pq.cloudflareresearch.com:443 -groups x25519_kyber512 -servername cloudflare.com -ign_eof 2>/dev/null | grep kex=X25519Kyber512Draft00 -fi +#if ! ($OPENSSL_APP list -kem-algorithms | grep x25519_kyber512); then +# echo "Skipping unconfigured x25519_kyber512 interop test" +#else +# (echo -e "GET /cdn-cgi/trace HTTP/1.1\nHost: cloudflare.com\n\n"; sleep 1; echo $'\cc') | "${OPENSSL_APP}" s_client ${USE_PROXY} -connect pq.cloudflareresearch.com:443 -groups x25519_kyber512 -servername cloudflare.com -ign_eof 2>/dev/null | grep kex=X25519Kyber512Draft00 +#fi