#!/usr/bin/env bash set -euo pipefail repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)" schema="$repo_root/docs/benchmarks/vex-evidence-playbook.schema.json" catalog="$repo_root/docs/benchmarks/vex-justifications.catalog.json" cas_root="$repo_root/tests/Vex/ProofBundles/cas" for bundle in "$repo_root"/tests/Vex/ProofBundles/*proof-bundle*.json; do [[ "$bundle" == *.dsse.json ]] && continue python "$repo_root/scripts/vex/verify_proof_bundle.py" \ --bundle "$bundle" \ --schema "$schema" \ --catalog "$catalog" \ --cas-root "$cas_root" done