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>
24 lines
546 B
Makefile
24 lines
546 B
Makefile
PYTHON ?= python3
|
|
VENV := .venv
|
|
|
|
.PHONY: all venv examples test clean
|
|
|
|
all: examples test
|
|
|
|
venv:
|
|
$(PYTHON) -m venv $(VENV)
|
|
$(VENV)/bin/pip install -r requirements.txt
|
|
@echo "Now run: PYTHON=$(VENV)/bin/python make all"
|
|
|
|
examples:
|
|
$(PYTHON) examples/issue_certificate.py
|
|
$(PYTHON) examples/verify_output_provenance.py
|
|
$(PYTHON) examples/revoke_three_rungs.py
|
|
$(PYTHON) examples/crypto_erasure_undecryptable.py
|
|
|
|
test:
|
|
$(PYTHON) -m pytest tests/ -q
|
|
|
|
clean:
|
|
rm -rf $(VENV) .pytest_cache
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|