| Internet-Draft | WBA Verification Outcomes | November 2026 |
| Suresh | Expires 25 May 2027 | [Page] |
Web Bot Auth lets automated HTTP clients sign requests with HTTP Message Signatures and publish their keys in a directory. Its protocol specification defines three verifier outcomes (verified, invalid and unverified) but no way for a verifier to tell the client which one it reached, or why. A client whose request is refused cannot tell a bad signature from an expired one, or a missing key from a directory the verifier could not fetch.¶
This document defines a problem type for reporting Web Bot Auth verification outcomes, carried in problem details content or in the Problem-Details header field, a small registry of reason codes, levels of disclosure that let a verifier limit what it reveals, and an optional well-known resource that clients can use to check their signatures against a verifier without affecting any other resource.¶
This note is to be removed before publishing as an RFC.¶
Status information for this document may be found at https://datatracker.ietf.org/doc/draft-suresh-webbotauth-verification-outcome/.¶
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/.¶
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 25 May 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.¶
The Web Bot Auth protocol [WBA] defines how an automated client (an
Agent) signs HTTP requests with HTTP Message Signatures
[HTTP-MESSAGE-SIGNATURES] and names, in the Signature-Agent field,
a directory from which the verifier (an Origin) fetches its keys. It
asks verifiers to keep three outcomes distinct: verified, invalid
and unverified. It does not say how, or whether, the Agent learns
which outcome its request produced.¶
In deployment that gap is costly. A refused request typically carries a 401 or 403 status code and nothing else, so the Agent cannot tell apart:¶
a signature that does not verify over the covered components;¶
a signature whose expires has passed, or whose created is ahead
of the verifier's clock;¶
a Signature-Agent member the verifier was required to ignore;¶
a directory that resolved but did not provide the key named by
keyid;¶
a directory the verifier could not fetch at all.¶
The last two differ in what they mean for the verifier's cached state (see "Discovery Failure" in [WBA]), and they call for different action by the Agent's operator: publishing a missing key in one case, fixing the directory's availability in the other.¶
The working group has discussed using Problem Details [PROBLEM] for this purpose [ISSUE-142], and noted that detailed error reports must not disclose sensitive verifier state. Participants have also suggested that a debugging aid would be useful without requiring every website to offer one. This document proposes a concrete design along those lines:¶
a single problem type, web-bot-auth, whose extension members carry
the outcome and a reason (Section 2);¶
a registry of reason codes, deliberately coarse (Section 3);¶
disclosure levels, so that a verifier decides how much it reveals, from nothing to an outcome and a reason (Section 4);¶
Reporting an outcome is always optional. Nothing in this document changes how a request is verified, what an outcome means, or what an Origin does with it.¶
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.¶
This document uses the terms Agent, Origin, verifier, directory, outcome and identifier as defined in [WBA], and the Structured Field types Dictionary, String, Token and Inner List from [STRUCTURED-FIELDS].¶
This document defines the problem type identified by the URI
https://iana.org/assignments/http-problem-types#web-bot-auth
(see Section 9.1). A verifier uses it to report the outcome of
verifying the Web Bot Auth signatures on a request.¶
The problem type is header-compatible as defined in [PROBLEM-HEADER]: all of the extension members below are carried in the Problem-Details header field, with the Structured Types shown.¶
REQUIRED. A Token: verified, invalid or unverified, with the
meanings given in "Verifier Outcomes" in [WBA]. When a request
carries several signatures, this is the outcome for the signature
named by label.¶
OPTIONAL. A Token from the Web Bot Auth Verification Reasons registry
(Section 3), giving the first check that failed. It MUST NOT be
present when outcome is verified.¶
OPTIONAL. A String: the label of the signature, as used in the
Signature-Input and Signature fields, to which outcome and
reason apply.¶
OPTIONAL. A String: the identifier the verifier attributed, or would have attributed, to the request, as defined in "The Signature-Agent URL is the identifier" in [WBA]. It lets an Agent confirm how a verifier normalised the URL it sent.¶
A verifier that sends the problem type in content uses the
application/problem+json media type as described in [PROBLEM]. A
verifier MAY instead, or also, send it in the Problem-Details header
field [PROBLEM-HEADER], which is useful when the response content is
a representation of the resource, or when an intermediary performs
verification and cannot alter the content.¶
The title member, if sent, SHOULD be a fixed, human-readable
description of the reason. The detail member SHOULD NOT be sent: it
invites free text, such as a network error message, that can disclose
more than the reason code does (see Section 7).¶
This problem type does not imply a status code. A verifier that
refuses a request because its signature is invalid or unverified
typically uses 401 or 403 ([HTTP]), and SHOULD include
Accept-Signature as described in "Requesting a Message Signature" in
[WBA]. A verifier that accepts an unverified request MAY report the
outcome on the successful response using the Problem-Details header
field; the response is then not an error, and the field only
describes how the signature was treated.¶
For example, an Origin that refused a request because the directory resolved but did not contain the key (long lines are wrapped as described in [RFC8792]):¶
The same problem in content:¶
{
"type":
"https://iana.org/assignments/http-problem-types#web-bot-auth",
"title": "The directory does not provide the key named by keyid.",
"outcome": "unverified",
"reason": "key-not-found",
"label": "sig1"
}
¶
Reason codes are Tokens. Each is associated with exactly one outcome. A verifier reports the first check that failed, in the order in which it performs them; it is not required to report every failure.¶
The initial registry contents are:¶
| Reason | Outcome | Meaning |
|---|---|---|
| malformed | invalid |
Signature, Signature-Input or Signature-Agent could not be parsed. |
| missing-component | invalid | A component the verifier requires, such as @authority or the Signature-Agent member, is not covered. |
| missing-parameter | invalid | A required signature parameter, such as created, expires, keyid or tag, is absent. |
| unsupported-algorithm | invalid | The signature uses an algorithm the verifier does not accept. |
| expired | invalid |
expires has passed, or created is later than the verifier's clock allows. |
| lifetime-exceeded | invalid | The interval from created to expires is longer than the verifier's policy allows. |
| signature-mismatch | invalid | The signature does not verify over the covered components with the selected key. |
| replayed | invalid | The signature or nonce has been used more often than the verifier's policy permits. |
| agent-unusable | unverified | There is no usable Signature-Agent member for the signature, for example because the member is absent, carries parameters, or does not use the https scheme. |
| directory-unavailable | unverified | The directory could not be obtained: the fetch failed or was refused by the verifier's own limits. |
| key-not-found | unverified | The directory was obtained but does not provide a key matching keyid. |
The distinction between directory-unavailable and key-not-found
follows "Discovery Failure" in [WBA]: the first says nothing about
the Agent's keys, the second is evidence that the key is not, or is no
longer, published. A verifier MUST NOT report key-not-found for a
directory it did not obtain.¶
The codes are deliberately coarse. A verifier that distinguishes finer cases internally maps them onto these codes when reporting.¶
A verifier chooses, by local policy, one of three levels of disclosure. It MAY choose a different level for different requests, for example by Agent identifier, by outcome or by rate.¶
The verifier does not report outcomes. This is the behaviour of a verifier that does not implement this document.¶
The verifier reports outcome, and label if more than one
signature is present, but not reason.¶
The verifier also reports reason, and MAY report identifier.¶
Level 1 already lets an operator separate its own mistakes
(invalid) from availability problems (unverified). Level 2 is most
useful during deployment and on the check resource
(Section 5). Verifiers SHOULD consider the factors in
Section 7 before using level 2 on production resources.¶
Whatever level a verifier uses, the report MUST describe the outcome the verifier actually reached for that request. A verifier MUST NOT report a different outcome or reason from the one that determined how it treated the request.¶
An Origin MAY offer a resource at the well-known path
/.well-known/web-bot-auth-check [WELL-KNOWN] so that Agents can
test their signatures without consequence for any other resource.¶
A GET request to the check resource is verified exactly as the Origin
would verify a request to any other resource. The Origin responds with
200 (OK) and application/problem+json content using the problem type
in Section 2, at disclosure level 2, whatever the outcome,
including verified. A verified outcome is reported without
reason.¶
Requests to the check resource:¶
MUST NOT change the Origin's treatment of the Agent, or of its identifier, for any other resource, for example by counting towards reputation or allow-listing;¶
MAY be rate limited per client address and per identifier, with 429 (Too Many Requests) when the limit is reached;¶
MUST NOT cause the verifier to fetch a directory that it would not fetch for a request to any other resource, so that the check resource does not widen the verifier's exposure to server-side request forgery (see "Server-Side Request Forgery" in [WBA]).¶
Responses from the check resource MUST carry Cache-Control: no-store.¶
Offering the check resource is entirely optional. Its value is that an operator can run it on a host that applies the same verification policy as its production resources, so that an Agent's operator can diagnose a failure without trial requests against production.¶
A report describes the verification of one request's signatures, which
differ on every request. A response that carries a report of this
problem type, in content or in the Problem-Details field, MUST NOT be
stored by a shared cache; a verifier SHOULD send Cache-Control:
no-store or private ([HTTP-CACHE]).¶
Reporting why a signature failed can help an attacker as well as an
honest operator. Reason codes do not help with forging a signature
without the key, since signature-mismatch is reported for every such
attempt, but finer distinctions can. A verifier that reported, for
example, which covered component failed to match would let an attacker
search for a component whose value the verifier canonicalises
differently. The reason codes in Section 3 stop at the check that
failed and say nothing about intermediate values. Verifiers MUST NOT
extend them with free text, in detail or elsewhere, that discloses
canonicalised components, signature bases or key material.¶
directory-unavailable and key-not-found reveal what the verifier
observed when it fetched a URL that the Agent chose. An attacker who can
choose that URL learns whether the verifier could reach it and what it
found there. The Web Bot Auth protocol already requires verifiers to
restrict which directories they fetch ("Server-Side Request Forgery" in
[WBA]). A verifier MUST apply those restrictions before reporting
either reason, and SHOULD report directory-unavailable for any fetch
it refused under them, without saying why.¶
These reasons can also reveal whether a directory was served from the verifier's cache. Verifiers that consider cache state sensitive SHOULD use disclosure level 1 on production resources.¶
Reports cost little to produce, but the check resource invites repeated requests, each of which can cause a directory fetch. Verifiers SHOULD apply the same per-directory fetch limits to the check resource as to other resources, and SHOULD rate limit it.¶
A report is advisory. An intermediary can add, remove or alter the
Problem-Details field, and an Agent cannot authenticate a report
without other means. Agents MUST NOT treat a reported verified
outcome as authorization, and SHOULD use reports only for diagnosis
and monitoring.¶
A report does not identify the Agent beyond what its own request
disclosed. The identifier member echoes the verifier's normalisation
of a URL the Agent sent; it does not reveal information about other
Agents. Verifiers that log reports should treat them as they treat
other request logs.¶
IANA is asked to register the following in the "HTTP Problem Types" registry established by [PROBLEM]:¶
IANA is asked to create the "Web Bot Auth Verification Reasons" registry. New registrations follow the Specification Required policy ([IANA-GUIDELINES]). Each entry has:¶
a Token, unique within the registry¶
invalid or unverified¶
a short description of the check that failed¶
the specification that defines the reason¶
Designated experts are asked to check that a new reason is coarse in the sense of Section 3: that it names a check rather than an intermediate value, and does not raise the concerns in Section 7.¶
The initial contents are the table in Section 3, each with this document as the reference.¶
IANA is asked to register the following in the "Well-Known URIs" registry [WELL-KNOWN]:¶
This section is to be removed before publication.¶
An open conformance suite for Web Bot Auth verifiers,
https://github.com/frostyhand/webbotauth-conformance, reads outcomes
from verifiers. Its prototype accepts a Web-Bot-Auth-Outcome
response header as a stopgap; it will read this problem type instead.
Its first runs, in November 2026, showed the cost of the gap: against a
production verifier that reports only status codes, invalid and
unverified could not be told apart, so the suite had to score those
cases at the level of "accepted or rejected".¶
This document follows the discussion in [ISSUE-142], which proposed Problem Details for this purpose and noted the need to avoid disclosing sensitive verifier state, and the suggestion recorded there from the IETF 127 session that a debugging aid would be useful without being required of every website.¶