research/run_all.sh
Meanwhile Research c8a04e144b Initial public release: capability-licensing reference implementation + reproducible claim demos
Clean-room reference implementation (Ed25519 certificate chain, AES-256-GCM
envelope, three-rung revocation ladder, crypto-erasure) with runnable examples
and 36 tests that reproduce each demonstrated claim on stand-in payloads.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-19 16:31:58 +10:00

29 lines
854 B
Bash
Executable file

#!/usr/bin/env bash
# Run every example, then the test suite. Exits non-zero if anything fails.
set -euo pipefail
cd "$(dirname "$0")"
PYTHON="${PYTHON:-python3}"
echo "=================================================================="
echo " Capability licensing reference implementation: run all claims"
echo "=================================================================="
for example in \
examples/issue_certificate.py \
examples/verify_output_provenance.py \
examples/revoke_three_rungs.py \
examples/crypto_erasure_undecryptable.py
do
echo
"$PYTHON" "$example"
done
echo
echo "=================================================================="
echo " Test suite"
echo "=================================================================="
"$PYTHON" -m pytest tests/ -q
echo
echo "ALL EXAMPLES AND ALL TESTS PASSED"