diff --git a/.github/workflows/artifact_validation.yaml b/.github/workflows/artifact_validation.yaml index 5224daf..1fe9d3b 100644 --- a/.github/workflows/artifact_validation.yaml +++ b/.github/workflows/artifact_validation.yaml @@ -37,10 +37,23 @@ jobs: with: name: Compatibility_bc_csv path: ./output/ + ssai_validation: + runs-on: ubuntu-latest + container: jethrolow/quantcrypt_validator + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Test artifacts with SSAI + run: ./src/test_certs_r4.sh ssai + - name: Save artifacts + uses: actions/upload-artifact@v4 + with: + name: Compatibility_ssai_csv + path: ./output/ build_results_html: runs-on: ubuntu-latest container: ubuntu:latest - needs: [oqs_validation, bc_validation] + needs: [oqs_validation, bc_validation, ssai_validation] steps: - name: Checkout code uses: actions/checkout@v4 @@ -64,6 +77,11 @@ jobs: with: name: Compatibility_bc_csv path: output/ + - name: Get SSAI results from previous job + uses: actions/download-artifact@v4 + with: + name: Compatibility_ssai_csv + path: output/ - name: Build compat matrix (r4) run: ./src/rebuild_results_certs_r4.sh - name: Copy output files diff --git a/providers/seventhsense.ai/artifact_certs_r4.zip b/providers/seventhsense.ai/artifacts_certs_r4.zip similarity index 100% rename from providers/seventhsense.ai/artifact_certs_r4.zip rename to providers/seventhsense.ai/artifacts_certs_r4.zip diff --git a/src/test_certs_r4.sh b/src/test_certs_r4.sh index de0479a..a28a76a 100755 --- a/src/test_certs_r4.sh +++ b/src/test_certs_r4.sh @@ -6,7 +6,7 @@ if [ $# -lt 1 ]; then fi verifier=$1 -if [ "$verifier" != "bc" ] && [ "$verifier" != "oqs" ]; then +if [ "$verifier" != "bc" ] && [ "$verifier" != "oqs" ] && [ "$verifier" != "ssai"]; then echo "ERROR: verifier \"$verifier\" not supported" exit -1 fi @@ -64,6 +64,9 @@ test_ta () { elif [ "$verifier" = "oqs" ]; then output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile 2>&1) status=$? + elif [ "$verifier" = "ssai" ]; then + output=$(validator ta --ta-certificate $tafile 2>&1) + status=$? else echo "ERROR: verifier \"$verifier\" not supported" exit -1