# vectors/

Known-answer vectors for mdip-agent-kit's signature crypto. Docs and expected outputs are in the
main README under "Known-answer vectors (verify with stock OpenSSL, no install)".

| Path | What it is |
|---|---|
| `kav-1/` | Synthetic vector: public test key, non-empty JCS payload, compact + DER signature, tampered negative case |
| `mdip-challenge-1/` | Real MDIP create operations for verifier agent, responder agent, challenge and response, plus the verifier's decrypted `verifyResponse` result |
| `verify-openssl.sh` | Install-free check (bash, sha256sum, openssl). Prints `ALL VECTORS OK` and exits 0 |
| `verify-with-kit.js` | Same checks via `@mdip/cipher` (needs `npm install`) plus the JSON binding fields |
| `generate.js` | Regenerates `kav-1/` deterministically |
| `make-mdip-fixture.js` | Re-captures `mdip-challenge-1/` against a gatekeeper (publishes throwaway DIDs) |

No real secrets are in here. `kav-1/test-key.json` is a test key that is published on purpose.
