| Internet-Draft | HTTP Message Signatures Directory | July 2026 |
| Meunier & Major | Expires 18 January 2027 | [Page] |
This document describes a method for clients using [HTTP-MESSAGE-SIGNATURES] to advertise their signing keys.¶
It defines a key directory format based on JWKS as defined in Section 5 of [JWK], as well as a new HTTP Method Context for in-band key discovery.¶
This note is to be removed before publishing as an RFC.¶
The latest revision of this draft can be found at https://thibmeu.github.io/http-message-signatures-directory/draft-meunier-webbotauth-httpsig-directory.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-meunier-webbotauth-httpsig-directory/.¶
Discussion of this document takes place on the Web Bot Auth Working Group mailing list (mailto:web-bot-auth@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/web-bot-auth/. Subscribe at https://www.ietf.org/mailman/listinfo/web-bot-auth/.¶
Source for this draft and an issue tracker can be found at https://github.com/thibmeu/http-message-signatures-directory.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 18 January 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
[HTTP-MESSAGE-SIGNATURES] allow a signer to generate a signature over an HTTP message, and a verifier to validate it. The specification assumes verifiers have prior knowledge of signers' key material, requiring out-of-band key distribution mechanisms. This creates deployment friction and limits the ability to dynamically verify signatures from previously unknown signers.¶
This document defines:¶
A standardized key directory format based on JWKS for publishing HTTP Message Signatures keys,¶
A well-known URI location for discovering these key directories,¶
A new HTTP header field enabling in-band key material discovery.¶
Together, these mechanisms enable key distribution and discovery for HTTP Message Signatures cryptographic material.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The key directory is served as a JSON Web Key Set (JWKS) as defined in Section 5 of [JWK]. The "alg" parameter are restricted to algorithm registered against HTTP Signature Algorithms Section of [HTTP-MESSAGE-SIGNATURES-IANA]¶
The directory MUST be served over HTTPS.
The directory MUST be served with media type application/http-message-signatures-directory+json.¶
A verifier SHOULD validate the directory format and reject malformed entries.¶
Signature-Agent
A service sending signed requests as defined in [HTTP-MESSAGE-SIGNATURES] MAY include a
Signature-Agent header field to communicate where its verification key material can be found.
This header field contains a URI and a type parameter that identifies the discovery mechanism.¶
The Signature-Agent header field is a Dictionary Structured Header as defined
in Section 3.2 of [STRUCTURED-HEADERS].
Its member values MUST be String Items that contain a [URI].¶
The type parameter is a Token Item as defined in Section 3.3.4 of [STRUCTURED-HEADERS]. If the type parameter is absent, its value is directory.¶
The following type values are defined:¶
directoryThe member value identifies an origin. A verifier resolves the HTTP Message Signatures Directory using the well-known URI registered in Section 7.1 at that origin.¶
jwks_uriThe member value identifies a JWK Set URI.¶
cimdThe member value identifies a Client ID Metadata Document [CIMD] URI.¶
A verifier that does not support a type value MUST ignore that member.
A verifier MUST NOT infer the discovery mechanism from the URI path, media type,
or response body.¶
[[ Editor's note: strengthen requirements around jwks_uri and cimd. directory uses a signed well-known to guarantee Section 5 ]]¶
The URI scheme MUST be https.¶
[[ Editor's note: earlier versions also allowed http and data URI
schemes. A data URI carries inline key material with no authority behind
it, which muddied what the directory binding proves. Both are removed for now. ]]¶
If dictionary values are not valid URI-references, the entire header field MAY be ignored.¶
Directory operators SHOULD implement key rotation by including multiple keys in the directory with a different validity period. When rotating keys, operators SHOULD:¶
Add the new key to the directory before its intended use date¶
Continue to include the old key until its expiration date¶
Remove expired keys from the directory¶
Verifiers SHOULD cache the directory contents and refresh upon expiration.¶
Removing a key from the directory deactivates it. Verifiers stop accepting keys once their cached copy expires. The directory's cache lifetime therefore bounds how long a removed key keeps verifying.¶
[[ Editor's note: Recommendation around lifetime? ]]¶
Key directories enable discovery of signing keys which may reveal information about the signing entity. Implementers should consider:¶
Key directories should only contain keys actively used for signing. Including additional keys or metadata may expose unnecessary information about the signing service.¶
Verifiers accessing key directories may reveal information about signature verification patterns. Directory servers should avoid logging personally identifiable information from directory requests.¶
This section contains considerations for IANA.¶
This document updates the "Well-Known URIs" Registry [WellKnownURIs] with the following values.¶
| URI Suffix | Change Controller | Reference | Status | Related information |
|---|---|---|---|---|
| http-message-signatures-directory | IETF | this document | permanent | None |
The following entries should be added to the IANA "media types" registry:¶
"application/http-message-signatures-directory+json"¶
The templates for these entries are listed below and the reference should be this RFC.¶
application¶
http-message-signatures-directory¶
N/A¶
N/A¶
"binary"¶
N/A¶
this specification¶
Services that implement the signer role for HTTP Message Signatures and verifiers that interact with the signer for the purpose of validating signatures.¶
N/A¶
see Authors' Addresses section¶
COMMON¶
N/A¶
see Authors' Addresses section¶
IETF¶
GET /.well-known/http-message-signatures-directory HTTP/1.1
Host: example.com
Accept: application/http-message-signatures-directory+json
HTTP/1.1 200 OK
Content-Type: application/http-message-signatures-directory+json
Cache-Control: max-age=86400
{
"keys": [{
"kty": "OKP",
"crv": "Ed25519",
"kid": "NFcWBst6DXG-N35nHdzMrioWntdzNZghQSkjHNMMSjw",
"x": "JrQLj5P_89iXES9-vFgrIy29clF9CC_oPPsw3c5D0bs",
"use": "sig",
"nbf": 1712793600,
"exp": 1715385600
}]
}
¶
Delegation and chaining are out of scope for this document and are expected to be specified separately. Input is welcome on the associated GitHub issue.¶
[[ Editor's note: earlier versions carried informative delegation examples
using x5c, AIA, and x5u. They suggested verifier behaviour this document
does not define, so they are removed for clarity purposes. Issue 27 tracks
a possible separate document. ]]¶
This extend the examples from Appendix B of [HTTP-MESSAGE-SIGNATURES].¶
POST /foo?param=Value&Pet=dog HTTP/1.1
Host: example.com
Signature-Agent: my_test="https://directory.test";type=directory
{"hello": "world"}
HTTP/1.1 200 OK
{"message": "good dog"}
¶
Marwan Fayed, Maxime Guerreiro, Jonathan Hoyland, Nikhil Kandoi, Akshat Mahajan, Eugenio Panero, Lucas Pardue.¶
draft-meunier-webbotauth-httpsig-directory-01¶
Tighten the domain binding: https only, MUST validate when relying on it.¶
Remove delegation examples; use verifier and directory operator role terms.¶
draft-meunier-webbotauth-httpsig-directory-00¶
Rename draft from draft-meunier-http-message-signatures-directory.¶
Add typed Signature-Agent discovery with directory, jwks_uri, and
cimd; default to directory when no type is present.¶
Add Content-Digest to directory response validation.¶
Update Signature-Agent examples to use type=directory.¶
Fix wording around URI values and directory response signatures.¶
draft-meunier-http-message-signatures-directory-05¶
draft-meunier-http-message-signatures-directory-04¶
Change Signature-Agent to a Structured Fields dictionary.¶
Add the req flag on directory response signatures.¶
Add contributors.¶
draft-meunier-http-message-signatures-directory-03¶
Remove the purpose field from the Web Bot Auth example.¶
draft-meunier-http-message-signatures-directory-02¶
Fix typos.¶
draft-meunier-http-message-signatures-directory-01¶
Change the media type from application/http-message-signatures-directory to
application/http-message-signatures-directory+json.¶
Add delegation and chaining examples using a full x5c chain, AIA, and
x5u.¶
Add an inline directory example using a data URI.¶
Fix the well-known path in examples.¶
draft-meunier-http-message-signatures-directory-00¶