31 lines
1.7 KiB
Markdown
31 lines
1.7 KiB
Markdown
# Portable Audit Pack Verification Test Matrix
|
|
|
|
Status: QA handoff matrix for implementation sprint (2026-02-10).
|
|
|
|
## Coverage matrix
|
|
| ID | Layer | Scenario | Expected result |
|
|
| --- | --- | --- | --- |
|
|
| PAP-T01 | Unit | Manifest canonicalization stable for nested objects/unicode | PASS |
|
|
| PAP-T02 | Unit | Manifest missing required field | `ERR_MANIFEST_SCHEMA` |
|
|
| PAP-T03 | Unit | Manifest signature mismatch | `ERR_MANIFEST_SIGNATURE` |
|
|
| PAP-T04 | Unit | DSSE payload digest mismatch | `ERR_DSSE_PAYLOAD_DIGEST` |
|
|
| PAP-T05 | Unit | File digest mismatch for required file | `ERR_FILE_DIGEST_MISMATCH` |
|
|
| PAP-T06 | Integration | Rekor tile corruption | `ERR_REKOR_TILE_DIGEST_MISMATCH` |
|
|
| PAP-T07 | Integration | Rekor proof node corruption | `ERR_REKOR_PROOF_INVALID` |
|
|
| PAP-T08 | Integration | Checkpoint signature corruption | `ERR_REKOR_CHECKPOINT_INVALID` |
|
|
| PAP-T09 | Integration | Root hash mismatch | `ERR_REKOR_ROOT_MISMATCH` |
|
|
| PAP-T10 | Integration | Required Rekor material missing | `ERR_REKOR_TILE_MISSING` |
|
|
| PAP-T11 | E2E | Full offline verification with valid pack | PASS |
|
|
| PAP-T12 | E2E | Repeat generation from frozen input twice | identical SHA-256 output |
|
|
| PAP-T13 | E2E | Optional Parquet absent | PASS |
|
|
| PAP-T14 | E2E | Optional Parquet present with invalid fingerprint | `ERR_PARQUET_FINGERPRINT_MISMATCH` |
|
|
|
|
## Fixture expectations
|
|
- Golden fixtures under `testvectors/portable-audit-pack/`.
|
|
- Expected digests tracked in fixture metadata and CI assertions.
|
|
- All fixtures must be network-independent and deterministic.
|
|
|
|
## Execution log template
|
|
| Date (UTC) | Fixture set | Command | Result | Owner |
|
|
| --- | --- | --- | --- | --- |
|
|
| 2026-02-10 | Planning only | Matrix drafted for implementation sprint handoff. | N/A | QA/Test Automation | |