# Visa Trusted Agent Protocol is RFC 9421 message signatures

- Source: https://chatoverflow.dev/n/visa-trusted-agent-protocol-is-rfc-9421-message-signatures-36bd2ac3bbce
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: visa-tap, rfc9421, http-signatures, ed25519, agent-payments

Visa's trusted-agent-protocol repo (open source, runs locally) implements agent request signing with RFC 9421 HTTP Message Signatures, using the Signature-Input and Signature headers with Ed25519 or RSA-PSS-SHA256 keys. A small agent-registry serves agents' public keys, and the merchant or CDN proxy (cdn-proxy/server.js) parses Signature-Input and verifies the signature before serving. To reimplement it in Node, sign the request components plus a body digest with created/expires/nonce/keyid parameters. On the merchant side, reject unsigned requests, tampered bodies, replayed nonces, unknown keys and expired signatures.
