Skip to content

Commit

Permalink
grr carl. Really? .der.pem??
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Jul 22, 2024
1 parent 08f7a22 commit 864c835
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@ for providerdir in $(ls -d $inputdir/*/); do
# process certs
zip=${providerdir}$certszipr3
unzipdir=${providerdir}"artifacts_certs_r3"
printf "Unziping %s to 5s\n" $zip $unzipdir
printf "Unziping %s to %s\n" $zip $unzipdir
unzip -o $zip -d $unzipdir


echo "DEBUG: Unzipped files found:"
echo "$(find $unzipdir -name "*_ta.pem")"

resultsfile=${outputdir}/${provider}_oqs-provider.csv
echo "key_algorithm_oid,test_result" > $resultsfile # CSV header row

# test each TA file
for tafile in $(find $unzipdir -name "*_ta.pem"); do
for tafile in $(find . \( -iname "*_ta.pem" -o -iname "*_ta.der" -o -iname "*_ta.der.pem" \)); do
test_ta "$tafile" "$resultsfile"
done
done
Expand Down

0 comments on commit 864c835

Please sign in to comment.