Skip to content

Commit

Permalink
Adding a log file to the downloadable artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Jul 21, 2024
1 parent f5c8af1 commit c75eaaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ https://ietf-hackathon.github.io/pqc-certificates/
Simply upload your artifacts zip files into your own directory under `providers/`, and uploads test results CSV files into the `compatMatrices/` directory of your provider, and the github automation will:
* Validate your artifacts against the OpenQuantumSafe docker image.
* Re-build and update the results HTML pages using both the automated results, and any results CSV files that you included.
* Output artifacts, including, importantly a log file to help with debugging failures, can be found under the ACtions tab; click on the most recent run, and download the output zip.

NOTE: expired certificates within the artifacts zips will show as failed against the OQS automated testing because there is no flag to `openssl verify` to ignore expiry. We recommend uploading certs with very long expiry times -- like 10 years or more -- so that they do not start failing one year from now.

Expand Down
4 changes: 3 additions & 1 deletion src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ test_ta () {
ossl_output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile)
ossl_status=$?

# print it out for the logs
# log it to file and to stdout
echo "$ossl_output" > ./output/oqs.log
echo "$ossl_output"


tafileBasename=$(basename $tafile)
oid=${tafileBasename%_ta.pem} # remove the suffix "_ta.pem"

Expand Down

0 comments on commit c75eaaf

Please sign in to comment.