mirror of
https://github.com/tlsnotary/tlsn-quote-verification.git
synced 2026-01-07 22:53:51 -05:00
18 lines
404 B
Bash
Executable File
18 lines
404 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: $0 path/to/quote.dat"
|
|
exit 1
|
|
fi
|
|
|
|
QUOTE_FILE=$(realpath "$1")
|
|
|
|
echo "🔧 Building Docker image (if needed)..."
|
|
docker build --platform=linux/amd64 --quiet --tag quote-runner .
|
|
echo "🚀 Running quote verifier"
|
|
docker run --platform=linux/amd64 --rm \
|
|
-v "$QUOTE_FILE:/app/quote.dat" \
|
|
quote-runner \
|
|
./tee_quote_verification /app/quote.dat
|