---
title: "Test values"
description: "The simulation's test card, the recorded signature, the conformance key and test listing, the failure cases we ran and what each refusal looks like."
url: https://app.visacli.sh/docs/test-values
updated: 2026-11-18
---

# Test values

> The simulation's test card, the recorded signature, the conformance key and test listing, the failure cases we ran and what each refusal looks like.

Canonical: https://app.visacli.sh/docs/test-values. Updated: 2026-11-18. Full index: /llms.txt.

Everything on this page is something we ran. Nothing here touches a real agent or a real card, and none of these values works outside the example or page it belongs to.

## Simulation card and code

The Try it block on [Verify your agent](/docs/verify-your-agent.md) accepts one card number and one code.

| Input | Test value |
| --- | --- |
| Card number | `4111 1111 1111 1111` |
| One-time code | `123456` |

The simulation accepts card number `4111 1111 1111 1111` and one-time code `123456`, and nothing else.

These work only in that page's simulation. Anything else is refused in the browser, and nothing you type is sent or stored. They won't pass the real card step, so never enter a real card in the simulation.

## Signature vector

This is a signature from Visa CLI's signing code, made with a throwaway key that isn't listed anywhere. Use it to test your rebuild of the signature base, in any language. `vector.mjs` on [Verifier code](/docs/verifier-code.md#a-recorded-signature-to-test-against) runs it, with the clock held at `1794000030`, and prints `vector verified`.

| Value | Test value |
| --- | --- |
| Request | `POST https://market.example/tasks/42/claim?ref=a` |
| Body | `{"task":42}` |
| `keyid` | `11111111-2222-4333-8444-555555555555` |
| `created`, `expires` | `1794000000`, `1794000060` |
| `content-digest` | `sha-256=:lVH0Kpm71IxwuPvOjdCShjrzCouWTVbs3GY4TjGfhnk=:` |

```text title="Public key, base64 of the PEM"
LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUNvd0JRWURLMlZ3QXlFQUlWTDQwWnQ1SFNS
Rk1rTGhYeTZyYkxmUCtudHFYdE1BbDVZT0JwaUIyeEk9Ci0tLS0tRU5EIFBVQkxJQyBLRVkt
LS0tLQo=
```

Join those three lines before you decode them. The full headers and signature base are under [One signed request, step by step](/docs/verify-a-signed-request.md#one-signed-request-step-by-step).

<a id="conformance-key"></a>

## Conformance key and test listing

The [test cases](/docs/conformance.md), all but the attacker-key case, are signed with one public test key, [RFC 8032](https://www.rfc-editor.org/rfc/rfc8032) test vector 1. The attacker-key case is signed with test vector 2's key on purpose. Its secret is printed in the RFC, so anyone can sign with it, and it's listed nowhere. Use it to sign test requests of your own, and never add it, or any key from the test cases, to a list of keys your service trusts: anyone can sign with it.

| Value | Test value |
| --- | --- |
| Secret seed, hex | `9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60` |
| Public key `x`, base64url | `11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo` |
| Thumbprint `keyid` | `kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k` |
| UUID `keyid` | `11111111-2222-4333-8444-555555555555` |

This is the listing the stand-in registry returns for that key in every `listed` case:

```json title="Test listing"
{
  "id": "vector-agent",
  "name": "vector agent",
  "isActive": true,
  "createdAt": null,
  "updatedAt": null,
  "keys": [
    {
      "id": "11111111-2222-4333-8444-555555555555",
      "agentId": "vector-agent",
      "keyName": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
      "status": "active",
      "algorithm": "ed25519",
      "publicKey": "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUNvd0JRWURLMlZ3QXlFQTExcVlBWUt4Q3JmVlMvN1R5V1FIT2c3aGN2UGFwaU1scndJYWFQY0hVUm89Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=",
      "jkt": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
      "expirationDate": null
    }
  ]
}
```

All of it is in [`tap-http-request-v1.json`](/conformance/tap-http-request-v1.json), as `key` and `listing`, beside the cases.

## Failure cases

Each row below is a case in `fixture.mjs`, which runs against a stand-in registry on your machine and prints these results. The stand-in isn't Visa CLI, and its answers say nothing about a real agent.

| What we sent | Result |
| --- | --- |
| A correct request, with a UUID or a thumbprint `keyid` | `200 ok` |
| The same request again | `403 tap_replayed` |
| The body changed in transit | `403 tap_signature_invalid` |
| The path changed in transit, or signed for a different host | `403 tap_signature_invalid` |
| Signed by a different key | `403 tap_signature_invalid` |
| A signature already expired | `403 tap_expired` |
| A lifetime over 60 seconds | `403 tap_expired` |
| A paid tag on an identity route | `403 tap_malformed` |
| A `Signature-Agent` not on your allowlist | `403 tap_signature_agent_not_accepted` |
| An unknown key, or a paused agent | `403 tap_key_unknown` |
| `Authorization`, or another unsigned header, on the request | `403 tap_malformed` |
| No signature at all | `403 tap_missing` |
| A registry outage | `503 tap_trust_unavailable` |

## What the verifier returns when it refuses

The example verifier returns one small object. These two are its real output: the first for a request with no signature, the second for a request it couldn't check because the registry answered `503`.

```json title="Refused"
{"ok":false,"code":"tap_missing","reason":"no_signature_headers","message":"The request has no Signature-Input and Signature headers.","judged":true,"status":403,"retryAfterSeconds":null}
```

```json title="Couldn't check"
{"ok":false,"code":"tap_trust_unavailable","reason":"registry_unavailable","message":"The registry could not be reached. The agent has not been judged; retry later.","judged":false,"status":503,"retryAfterSeconds":null}
```

`judged` keeps these apart: `true` means the request was refused, and `false` means you couldn't check it, so it says nothing about the agent. This is the verifier's return value, not what your endpoint sends. A marketplace wraps it: the verifier's `code` becomes the response's `detail`, the response's `code` is `task_requirement_not_met`, and its `reason` is `verification_failed` or `verifier_unavailable`, as [Refuse an unverified claim](/docs/add-verified-agents-to-a-marketplace.md#refuse-clearly) shows. [Refusals](/docs/verify-a-signed-request.md#refusals) lists every code and what to do about it. For what the registry itself answers, see [a real lookup](/docs/keys-and-directories.md#a-real-lookup).
