# Aliro test harness

PC-side tools for the Aliro Java Card applet project.

## Layout

```
src/aliro_harness/
├── issuer/        Test CA: keypairs, X.509 certs, signed Access Documents
├── personalize/   pyscard-based loader driving the PersonalizationApplet
├── reader_log/    pyserial VCP capture, tag parser, trace differ
└── trustgen/      CLI emitting reader/aliro_trust.h from CA + reader keys

tests/             pytest suite (unit + end-to-end)
```

## Setup

```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
pytest
```

## Not for production

All keys generated or accepted by this harness are TEST-ONLY. Do not reuse in a
production Aliro deployment.
