Skip to content

Commit

Permalink
Porting changes from ounsworth/pqc-cert-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Jul 21, 2024
1 parent 2bad921 commit b8a65b7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/rebuild_results_certs_r3.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
#!/bin/bash

# build a list of all compat matrix files in provider dirs
dirs=$(ls ../providers)
dirs=$(ls providers)
for dir in $dirs; do
dir=../providers/$dir
dir=providers/$dir
if [ ! -d $dir ]; then continue; fi
files+=$(find $dir/compatMatrices/artifacts_certs_r3 -name "*.csv" )
files+=" "
done

printf "Files: %s\n" $files

# build the compat matrix
python3 pqc_report_writer_common.py ../docs/oid_mapping.md pqc_hackathon_results_certs_r3.md Certificate $files
python3 src/pqc_report_writer_common.py docs/oid_mapping.md pqc_hackathon_results_certs_r3.md Certificate $files

# convert to html
pandoc -f markdown pqc_hackathon_results_certs_r3.md > pqc_hackathon_results_certs_r3.html
mv pqc_hackathon_results_certs_r3.md pqc_hackathon_results_certs_r3.html oids.json ../docs
mv pqc_hackathon_results_certs_r3.md pqc_hackathon_results_certs_r3.html docs


# Also generate a results html with only automated test results
python3 src/pqc_report_writer_common.py docs/oid_mapping.md pqc_hackathon_results_certs_r3_automated_tests.md Certificate $(ls ./output/certs)
pandoc -f markdown pqc_hackathon_results_certs_r3_automated_tests.md > pqc_hackathon_results_certs_r3_automated_tests.html
mv pqc_hackathon_results_certs_r3_automated_tests.md pqc_hackathon_results_certs_r3_automated_tests.html docs

0 comments on commit b8a65b7

Please sign in to comment.