Skip to content
ndStill is in development. These docs describe the v2 API as designed; the SDKs and the hosted MCP server are previews and not generally available.
Docs

Request-signing tester

Sign and verify an HTTP request with an agent passport key (RFC 9421), in your browser.

Runs in your browser

Agents prove who they are to sellers by signing each HTTP request with their passport key, using RFC 9421 HTTP Message Signatures. This tester signs a request with a throwaway key and verifies it the way a seller's Verify middleware does, check by check. It runs on WebCrypto in your browser: keys and requests never leave the page.

1. Test keyGenerating…
2. Sign a requestRFC 9421
Covered components
3. Verifywhat a seller's Verify middleware checks

How signing works#

  1. The agent hashes the body into a Content-Digest header (sha-256=:…:).
  2. It builds the signature base: one line per covered component ("@method", "@authority", "@path", "content-digest"), then the "@signature-params" line with the covered list and parameters: created, expires, keyid, alg, nonce and tag.
  3. It signs the base with its private key (Ed25519 by default) and sends two headers: Signature-Input: sig1=(…);created=…;keyid="…" and Signature: sig1=:base64:.
  4. The seller rebuilds the same base from the request it received and checks the signature against the public key it fetched from the passport directory (a JWKS, keyed by kid).

Change one byte of a covered component and the signature no longer verifies. Use Tamper with the body to see the Content-Digest and signature checks fail.

What a seller should check#

  • The signature covers at least @method, @authority and @path, plus content-digest whenever there is a body.
  • created isn't in the future and expires hasn't passed. Keep the window short (five minutes or less).
  • The nonce hasn't been seen before for this key, which stops replays.
  • The keyid resolves to an active key in the passport directory, and the passport's agent isn't frozen.
  • With the hosted Verify API, also check the owner's verification level and that an active mandate covers this seller and amount.

The Verify for sellers guide covers the middleware and receipts, and Keys and passports is the API for agent keys, rotation and the directory. The tag parameter marks the profile: ndstill-passport, or web-bot-auth for the Web Bot Auth profile.