What are HTTP Message Signatures?
RFC 9421 signs selected parts of an HTTP request or response: derived components such as @method and @authority, plus chosen header fields. The Signature-Input header lists what's covered, and Signature carries the signature.
Both sides must build the same signature base byte for byte, which is where most failures come from. This workbench shows that base, verifies or creates signatures, and checks the body against Content-Digest (RFC 9530).
How to use this tool
- Paste a raw HTTP message with its Signature-Input and Signature headers.
- Paste the public key (or HMAC secret) and click Verify to see the result and the signature base.
- On the Sign tab, pick covered components and a key (or generate a test key) to produce the headers.
Frequently asked questions
Are my keys or messages uploaded?
No. Parsing, signing and verification all run in your browser with WebCrypto.
Which algorithms are supported?
ed25519, ecdsa-p256-sha256, ecdsa-p384-sha384, rsa-pss-sha512, rsa-v1_5-sha256 and hmac-sha256, the algorithms registered by RFC 9421.
Why doesn't my signature verify?
Compare the signature base shown here with the one your signer built: header values, @authority (no default port), @path and the @signature-params line must match exactly.