<?xml version='1.0' encoding='utf-8'?>
<rfc version="3" docName="draft-noss-jeftovic-groundmark-core-01" ipr="trust200902" category="exp" submissionType="independent" symRefs="true" sortRefs="true" tocInclude="true" tocDepth="4">
  <front>
    <title abbrev="Groundmark Core">DNS-Anchored Identity Discovery for Autonomous Agents</title>
    <author fullname="Elliot Noss" initials="E." surname="Noss">
      <organization>Groundmark</organization>
      <address>
        <email>elliot@noss.org</email>
        <uri>https://groundmark.org</uri>
      </address>
    </author>
    <author fullname="Mark Jeftovic" initials="M." surname="Jeftovic">
      <organization>easyDNS Technologies Inc.</organization>
      <address>
        <email>markjr@easydns.com</email>
      </address>
    </author>
    <date year="2026" month="November" day="23"/>
    <abstract>
      <t>This document defines the core of Groundmark, a protocol for DNS-anchored identity discovery and request authentication for autonomous software agents. Operators publish an agent's signing public key in a DNS TXT record under a reserved label and, optionally, name the agent's Identity Service Provider (IDSP) in a second record. Agents authenticate HTTP requests using HTTP Message Signatures (RFC 9421) with a key identifier that resolves through DNS. DNSSEC is required for all Groundmark DNS lookups. Successful core verification establishes current-key provenance: control of the private key corresponding to the DNSSEC-authenticated <tt>_agentid</tt> key used for the request. It does not establish legal identity, registrar identity proofing, brand authorization, or continuity with an earlier key or registrant.</t>
      <t>When a relying party's policy requires more, the agent presents a reference in a signature-covered header field, the relying party confirms that the reference points at the IDSP named in the agent's DNSSEC-validated zone, and it fetches a credential about the operator from that IDSP directly. No claim is published in DNS. The credential is a W3C Verifiable Credential secured as an SD-JWT; its format, the IDSP's obligations, method disclosure and status are defined in the companion Groundmark Protocol specification, which is being developed in the Decentralized Identity Foundation. This version replaces both <tt>draft-noss-jeftovic-groundmark-core-00</tt> and <tt>draft-noss-jeftovic-groundmark-attestation-00</tt>.</t>
    </abstract>
  </front>
  <middle>
    <section anchor="sec-1">
      <name>Introduction</name>
      <t>Autonomous software agents are increasingly conducting transactions on the Internet on behalf of human and organizational principals. Existing work addresses several adjacent concerns: HTTP-native payment flows <xref target="X402"/>, per-session delegated authorization protocols, and tool invocation frameworks. None of these answers a prior question: when an agent presents itself to a counterparty, where is the currently authorized request-signing key discovered, and where can optional accountability credentials be obtained without a central registry?</t>
      <t>This document defines Groundmark, a protocol that uses the Domain Name System (DNS) as the discovery anchor for agent identity. DNS is well suited to this role: it is open and well-governed; the infrastructure is universally deployed; and any domain holder can publish agent identity records without any new global registry or delegation. The approach is modelled on DomainKeys Identified Mail (DKIM) <xref target="RFC6376"/>, which established the pattern of publishing a public key in a DNS TXT record under a reserved label for the purpose of verifying cryptographic assertions in an application-layer protocol.</t>
      <t>Groundmark separates three concerns:</t>
      <ul>
        <li>
          <t>
            <strong>Identity discovery:</strong> locating an agent's signing public key in DNS.</t>
        </li>
        <li>
          <t>
            <strong>Request authentication:</strong> binding an HTTP request to an agent's key using HTTP Message Signatures <xref target="RFC9421"/>.</t>
        </li>
        <li>
          <t>
            <strong>Accountability:</strong> obtaining, from a third party the operator has named in DNS, a credential describing what has been verified about the operator, and binding that credential to the request.</t>
        </li>
      </ul>
      <t>The first two are specified in full in this document. The third is specified here at the wire level: the DNS record that names the IDSP, the header field by which an agent presents a reference, and the check a relying party performs before fetching anything. The credential itself, the IDSP's obligations, method disclosure, status and accreditation are specified in the companion Groundmark Protocol specification <xref target="GROUNDMARK-PROTOCOL"/>.</t>
      <t>The semantics of the agent's domain string itself are not material to this protocol. An agent at <tt>agent47.example.com</tt> carries the same protocol weight as one at <tt>x7q.example.com</tt>. Successful core verification proves only that the request was signed by the private key corresponding to the DNSSEC-authenticated <tt>_agentid</tt> key selected for the agent domain. It does not prove that the domain registrant was identity-proofed, that the operator is a particular legal person, that the domain string is brand-authorized, or that a later key at the same domain is continuous with an earlier key.</t>
      <t anchor="specification-development-and-future-work">
        <strong>Specification Development and Future Work</strong>
      </t>
      <t>The authors thank members of the IETF community for their review, feedback, and engagement during the initial development of Groundmark. That input has helped clarify the protocol's scope, security properties, and relationship to existing Internet standards.</t>
      <t>As Groundmark has evolved, its work on agent identity, credentials, and interoperability has increasingly aligned with the decentralized identity community. Between the -00 and -01 versions of this document the credential layer was restated on the W3C Verifiable Credentials Data Model <xref target="VCDM2"/>, secured as SD-JWT <xref target="RFC9901"/>
        <xref target="VC-JOSE-COSE"/>, with the issuer identified by <tt>did:web</tt>. The authors have therefore elected to transition ongoing Groundmark specification development to the Decentralized Identity Foundation (DIF), subject to the applicable DIF community processes.</t>
      <t>This Internet-Draft records the DNS and HTTP layer of the protocol as it stands at the end of Groundmark's IETF phase, so that the IETF record describes the design that is actually deployed and the one that continues at DIF. The authors do not intend to seek further advancement of this document through the IETF standards process. Future revisions, implementation profiles, interoperability guidance, and related specifications are expected to be developed in the DIF community. This statement does not imply formal adoption or endorsement of this document by DIF.</t>
      <t>The authors welcome continued technical input from participants in both communities and remain grateful for the IETF community's contributions. For current project information and pointers to the ongoing specification work, see https://groundmark.org.</t>
      <section anchor="sec-1.1">
        <name>Design Principles</name>
        <t>Groundmark is designed around the following principles:</t>
        <ul>
          <li>
            <t>
              <strong>Authenticate the minimum necessary.</strong> The intent is to enable permissionless interaction by default and to make stronger credentials available only where a relying party's risk profile demands them.</t>
          </li>
          <li>
            <t>
              <strong>DNS is a discovery layer, not a claims database.</strong> DNS publishes the agent's key and the name of its IDSP. It publishes nothing about any claim. Credentials pass between the relying party and the IDSP over HTTPS.</t>
          </li>
          <li>
            <t>
              <strong>No single point of control.</strong> DNS is the common substrate, but no single entity controls which operators may publish agent identities, and the companion specification permits a diversity of Identity Service Providers.</t>
          </li>
        </ul>
      </section>
      <section anchor="sec-1.2">
        <name>Non-Goals</name>
        <t>This specification explicitly does not:</t>
        <ul>
          <li>
            <t>Define legal identity, human identification, or any form of personal attribution requirement.</t>
          </li>
          <li>
            <t>Define a global trust framework, governance regime, or compliance requirement.</t>
          </li>
          <li>
            <t>Mandate participation. An operator may decline to publish Groundmark records; a relying party may decline to require them.</t>
          </li>
          <li>
            <t>Replace decentralized identifiers (DIDs), Verifiable Credentials, OAuth, OpenID Connect, MCP, or any other identity, authorization, or capability protocol. Groundmark adopts DIDs and Verifiable Credentials for its credential layer and is designed to compose with the rest.</t>
          </li>
          <li>
            <t>Define a new DID method or a new cryptographic primitive. Request authentication uses HTTP Message Signatures <xref target="RFC9421"/> with conventional algorithms.</t>
          </li>
          <li>
            <t>Define credential format, IDSP obligations, attestation levels, method disclosure, status, or claim vocabularies. Those are the subject of the companion specification <xref target="GROUNDMARK-PROTOCOL"/>.</t>
          </li>
        </ul>
        <t>A consequence of the first three of these non-goals is that anonymous and pseudonymous agent operation remains a first-class deployment mode under Groundmark. The presence of an agent's public key in DNS does not, by itself, identify or accountably link the operator to a legal person; that linkage is the subject of optional credentials, and is opt-in by both the operator (who chooses whether to engage an IDSP and what its agents may present) and the relying party (which chooses whether to require a credential).</t>
      </section>
      <section anchor="sec-1.3">
        <name>Requirements Language</name>
        <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>", "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"/>
          <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
      </section>
    </section>
    <section anchor="sec-2">
      <name>Terminology</name>
      <t>
        <strong>Operator.</strong> Any person or organization that deploys and controls an autonomous agent. The operator is the principal whose accountability is at issue in the companion specification.</t>
      <t>
        <strong>Agent.</strong> An autonomous software instance acting on behalf of an operator. An agent uses a cryptographic key pair held by its runtime or by a key custodian; the public key is published in DNS under the agent domain.</t>
      <t>
        <strong>Key Custodian.</strong> An entity that operates an agent private key on behalf of an operator. A key custodian may be the operator, the agent runtime, or a hosting provider. Core verification establishes control of the selected private key; it does not by itself establish who authorized a custodian to act for the operator.</t>
      <t>
        <strong>Agent Domain.</strong> A fully qualified domain name (FQDN) that serves as the agent's discovery anchor in DNS. Typically a subdomain under the operator's registered domain (e.g., <tt>purchasing.acmecorp.example</tt>) but <bcp14>MAY</bcp14> be a second-level domain. All comparisons use the lowercase IDNA A-label form with no trailing root label.</t>
      <t>
        <strong>Agent Key Thumbprint.</strong> The SHA-256 JWK thumbprint <xref target="RFC7638"/> of the selected Ed25519 <tt>_agentid</tt> key, represented as an OKP JWK and encoded using Base64url without padding.</t>
      <t>
        <strong>Agent Identity Instance.</strong> The pair <tt>(canonical_agent_domain, agent_key_thumbprint)</tt>. The <tt>canonical_agent_domain</tt> is the lowercase ASCII FQDN, without a trailing root label, resolved from the <tt>keyid</tt> parameter. This pair, not the FQDN alone, is the Level 0 identity instance for security decisions that depend on continuity, allowlisting, reputation, limits, or prior approvals.</t>
      <t>
        <strong>Identity Reset.</strong> A change in Agent Key Thumbprint for an agent domain for which the relying party has not accepted a separately verifiable continuity proof.</t>
      <t>
        <strong>Identity Service Provider (IDSP).</strong> The party named in an agent's <tt>_idsp</tt> record. An IDSP verifies claims about an operator or agent, serves signed credentials about them to relying parties on request, discloses the methods by which each claim was verified, and publishes credential status. An IDSP is identified by its domain, which is also its <tt>did:web</tt> identifier. The IDSP role is defined fully in <xref target="GROUNDMARK-PROTOCOL"/>; it is referenced here insofar as the <tt>_idsp</tt> record names it and the host check of <xref target="sec-6.1.3"/> depends on it.</t>
      <t>
        <strong>Reference.</strong> An opaque HTTPS URL at an IDSP that an agent carries in a <tt>Groundmark-Claim</tt> header field and a relying party dereferences to obtain a credential.</t>
      <t>
        <strong>Relying Party.</strong> An agent, API endpoint, or service that receives an agent's request, verifies the request signature against the agent's DNS-published key, and optionally obtains and evaluates a credential from the agent's IDSP.</t>
      <t>
        <strong>Credential.</strong> A Verifiable Credential <xref target="VCDM2"/>, secured as specified in <xref target="GROUNDMARK-PROTOCOL"/>, that an IDSP serves about an agent and its operator. Earlier Groundmark texts called this an "attestation". In the vocabulary of the RATS architecture <xref target="RFC9334"/> and the Entity Attestation Token <xref target="RFC9711"/>, a Groundmark credential is not Evidence about a device's state; if a RATS term is wanted, it is closest to an Attestation Result.</t>
    </section>
    <section anchor="sec-3">
      <name>System Overview</name>
      <t>A Groundmark-enabled HTTP request proceeds as follows.</t>
      <ol>
        <li>
          <t>The operator publishes an <tt>_agentid</tt> TXT record at the agent domain, containing the agent's request-signing public key, and OPTIONALLY one <tt>_idsp</tt> TXT record per IDSP the agent uses, naming that IDSP's domain and nothing else. All such records <bcp14>MUST</bcp14> be published in a DNSSEC-signed zone.</t>
        </li>
        <li>
          <t>The agent, or a key custodian operating the agent on the operator's behalf, signs each HTTP request using HTTP Message Signatures <xref target="RFC9421"/> as profiled in <xref target="sec-5"/>. The signature uses the agent's private key and identifies the corresponding public key through a keyid parameter that resolves to the agent domain. If the agent is presenting a claim, the request also carries a <tt>Groundmark-Claim</tt> header field holding a reference, covered by the signature (<xref target="sec-6"/>).</t>
        </li>
        <li>
          <t>The relying party retrieves the <tt>_agentid</tt> TXT record for the agent domain using a DNSSEC-validating resolver and verifies the request signature against the selected public key. A successful verification establishes that the request was signed by the private key corresponding to the DNSSEC-authenticated key currently published for the agent domain.</t>
        </li>
        <li>
          <t>If the relying party's policy requires a credential, it retrieves the <tt>_idsp</tt> records for the agent domain, confirms that the host of the presented reference is an IDSP those records name, and only then fetches the credential from that IDSP. It verifies the credential and binds it to the request as specified in <xref target="GROUNDMARK-PROTOCOL"/> and summarized in <xref target="sec-7"/>.</t>
        </li>
      </ol>
      <t>Two things are in DNS: the agent's key and the name of its IDSP. Nothing about any claim is in DNS. Claims pass between the relying party and the IDSP, and only when the agent has presented a reference in a signed request. This mirrors the role DNS already plays for email authentication mechanisms such as DKIM <xref target="RFC6376"/> and DMARC <xref target="RFC7489"/>, and is the same order of disclosure as an MX record naming a mail provider.</t>
      <t>Retrieving an agent's <tt>_agentid</tt> and <tt>_idsp</tt> records without verifying a request signature does not authenticate a caller and does not establish current control of the published private key. A protocol that exchanges a Groundmark verification result for an OAuth token or another session credential <bcp14>MUST</bcp14> first authenticate a signature made by the selected agent key. The lifetime and scope of the resulting credential are properties of that higher-layer protocol.</t>
      <section anchor="sec-3.1">
        <name>Worked Example</name>
        <t>The following non-normative example illustrates a complete Groundmark exchange. An operator deploys an agent under the domain <tt>purchasing.acmecorp.example</tt>, publishing one identity record and one IDSP record:</t>
        <sourcecode type="" markers="false">_agentid.purchasing.acmecorp.example. 300 IN TXT
  "v=gm1; k=ed25519; p=oW8nN1xJxGv...HzG"

_idsp.purchasing.acmecorp.example. 300 IN TXT
  "v=gm1; idsp=verify.example.net"</sourcecode>
        <t>When the agent issues an HTTP POST to a relying party and presents a claim, the request carries Signature-Input, Signature, Content-Digest and Groundmark-Claim header fields per <xref target="RFC9421"/>, <xref target="RFC9530"/> and <xref target="sec-6"/>:</t>
        <t>The following example uses the single-backslash line-folding convention described in RFC 8792. Remove each added backslash and line break, and the leading whitespace on the continuation line, to recover the original example.</t>
        <sourcecode type="" markers="false">NOTE: '\' line wrapping per RFC 8792

POST /orders HTTP/1.1
Host: api.supplier.example
Content-Type: application/json
Content-Digest: \
  sha-256=:X48E9qOokqqrvdts8nOJRJN3OWDUoyWxBf7kbu9DBPE=:
Groundmark-Claim: operator-verified;ref="https://verify.example.net\
  /r/Vb2m7kQ1xZr9Lw0pT4yHcA"
Signature-Input: gm=("@method" "@authority" "@target-uri" \
    "content-digest" "groundmark-claim";sf);\
    created=1747654321;expires=1747654621;\
    nonce="8b1c4e...";\
    keyid="purchasing.acmecorp.example";alg="ed25519"
Signature: gm=:9R...base64url...==:

{"sku":"X-42","quantity":3}</sourcecode>
        <t>The relying party:</t>
        <ol>
          <li>
            <t>Parses Signature-Input and confirms required components and parameters.</t>
          </li>
          <li>
            <t>Resolves <tt>_agentid.purchasing.acmecorp.example</tt> via a DNSSEC-validating resolver.</t>
          </li>
          <li>
            <t>Verifies the Content-Digest against the request body.</t>
          </li>
          <li>
            <t>Reconstructs the <xref target="RFC9421"/> signature base from the covered components.</t>
          </li>
          <li>
            <t>Verifies the Ed25519 signature against the public key from the <tt>_agentid</tt> record.</t>
          </li>
        </ol>
        <t>If the relying party's policy requires more than Level 0, it additionally resolves <tt>_idsp.purchasing.acmecorp.example</tt>, confirms that <tt>verify.example.net</tt> is named there, fetches the credential at the presented reference from <tt>verify.example.net</tt>, verifies it per <xref target="GROUNDMARK-PROTOCOL"/>, and applies its policy.</t>
        <t>The Level 0 result of this exchange is an Agent Identity Instance composed of the canonical agent domain and the thumbprint of the exact key that verified the request. Relying parties <bcp14>MUST NOT</bcp14> treat the FQDN alone as durable identity across a key change unless a separate continuity mechanism is verified and accepted by policy.</t>
      </section>
    </section>
    <section anchor="sec-4">
      <name>DNS Record Formats</name>
      <t>Groundmark defines two TXT record formats published under reserved underscore labels at the agent domain. Both share the version tag <tt>v=gm1</tt> to distinguish them from other TXT record uses at the same domain.</t>
      <t>The use of two distinct labels reflects a deliberate separation of concerns: <tt>_agentid</tt> carries the cryptographic material that is the root of request authentication, and is expected to be small, stable, and cached only within a short TTL. <tt>_idsp</tt> names the agent's IDSP, whose relationship with the operator has a lifecycle independent of the signing key and can be added, removed, or changed without touching the <tt>_agentid</tt> key publication.</t>
      <section anchor="sec-4.1">
        <name>The _agentid TXT Record</name>
        <t>The <tt>_agentid</tt> TXT record is published at:</t>
        <sourcecode type="" markers="false">_agentid.&lt;agent-domain&gt;. IN TXT
  "v=gm1; k=ed25519; purpose=request-signing;
   kid=&lt;key-id&gt;; p=&lt;base64url-public-key&gt;"</sourcecode>
        <t>At an agent domain, the record declares the agent's request-signing public key and algorithm and is the root of cryptographic verification for that agent identity. The companion specification uses the same <tt>_agentid</tt> label at IDSP domains to publish purpose-scoped service keys, cross-checked against the IDSP's <tt>did:web</tt> document. Such publication does not turn the service domain into an agent identity, and a service key <bcp14>MUST</bcp14> carry an explicit non-default <tt>purpose=</tt> value.</t>
        <section anchor="sec-4.1.1">
          <name>ABNF Grammar</name>
          <sourcecode type="" markers="false">agentid-record  = version 1*( ";" SP agentid-param )
version         = "v=gm1"
agentid-param   = key-alg-param / pubkey-param / keyid-param /
                  purpose-param / ext-param
key-alg-param   = "k=" key-alg
key-alg         = "ed25519" / x-token
pubkey-param    = "p=" base64url-value
keyid-param     = "kid=" 1*( ALPHA / DIGIT / "-" / "_" / "." )
purpose-param   = "purpose=" key-purpose
key-purpose     = 1*( ALPHA / DIGIT / "-" )
ext-param       = param-name "=" param-value
param-name      = 1*( ALPHA / DIGIT / "-" )
param-value     = *( %x21-3A / %x3C-7E )
                  ; printable ASCII excluding ";"
base64url-value = 1*( ALPHA / DIGIT / "-" / "_" / "=" )
x-token         = "x-" 1*( ALPHA / DIGIT / "-" )</sourcecode>
          <t>The <bcp14>OPTIONAL</bcp14>
            <tt>kid=</tt> parameter identifies a key within an <tt>_agentid</tt> RRset. It matches the fragment of the <tt>keyid</tt> parameter used in a request signature and also permits companion protocols to select service keys by identifier. It is <bcp14>REQUIRED</bcp14> whenever more than one <tt>_agentid</tt> record is present at a label.</t>
          <t>The <bcp14>OPTIONAL</bcp14>
            <tt>purpose=</tt> parameter declares the protocol role for which a key is published. This document defines <tt>request-signing</tt>. The companion specification defines additional purposes, including <tt>attestation-signing</tt> and <tt>status-signing</tt>. Absence of <tt>purpose=</tt> is equivalent to <tt>purpose=request-signing</tt> for compatibility with version <tt>gm1</tt>; an omitted purpose <bcp14>MUST NOT</bcp14> authorize a key for any other use.</t>
        </section>
        <section anchor="sec-4.1.2">
          <name>Processing Requirements</name>
          <t>The <tt>k=</tt> (key algorithm) and <tt>p=</tt> (public key) parameters <bcp14>MUST</bcp14> be present. The version tag <tt>v=gm1</tt>
            <bcp14>MUST</bcp14> appear first.</t>
          <t>This document defines <tt>ed25519</tt> as the only mandatory-to-implement algorithm. The <tt>p=</tt> field <bcp14>MUST</bcp14> contain the Base64url-encoded <xref target="RFC4648"/> raw public key bytes for the specified algorithm (32 bytes for Ed25519). Support for additional algorithms <bcp14>MAY</bcp14> be added by future documents updating this specification.</t>
          <t>A publisher exposing a single request-signing key <bcp14>MAY</bcp14> publish one <tt>_agentid</tt> record without <tt>kid=</tt>. Multiple <tt>_agentid</tt> records <bcp14>MAY</bcp14> be published for key rotation or for purpose-separated keys used by companion Groundmark protocols. When more than one record is present, every record <bcp14>MUST</bcp14> carry a <tt>kid=</tt> value and every <tt>kid=</tt> value in the RRset <bcp14>MUST</bcp14> be distinct, even when the records declare different purposes.</t>
          <t>A key <bcp14>MUST</bcp14> be used only for its declared purpose. A request verifier <bcp14>MUST</bcp14> select a key whose purpose is <tt>request-signing</tt> or whose purpose is omitted. A record with an unrecognized purpose remains syntactically valid but <bcp14>MUST NOT</bcp14> be used unless the consuming protocol and relying-party policy explicitly authorize that purpose.</t>
          <t>A relying party <bcp14>MUST</bcp14> treat the identity as invalid, and <bcp14>MUST NOT</bcp14> proceed with signature verification against any record at the label, if any of the following conditions hold at the time of lookup:</t>
          <ul>
            <li>
              <t>More than one <tt>_agentid</tt> record is present at the label and any of them lacks a <tt>kid=</tt> parameter.</t>
            </li>
            <li>
              <t>More than one <tt>_agentid</tt> record is present and two or more of them share the same <tt>kid=</tt> value.</t>
            </li>
          </ul>
          <t>Operators <bcp14>SHOULD</bcp14> set the TTL of the <tt>_agentid</tt> record to 300 seconds or less to enable timely withdrawal. Relying parties <bcp14>MUST</bcp14> respect DNS TTL values and <bcp14>MUST NOT</bcp14> cache <tt>_agentid</tt> records beyond their TTL.</t>
          <t>Relying parties <bcp14>MUST</bcp14> use a DNSSEC-validating resolver profile conforming to <xref target="sec-9.1"/> when retrieving <tt>_agentid</tt> records. <tt>insecure</tt>, <tt>bogus</tt>, <tt>indeterminate</tt>, timeout, transport, and validation-error results are fatal to request authentication. A relying party <bcp14>MUST</bcp14> distinguish secure NODATA from validation failure for diagnostics, but either result means no usable agent identity was authenticated.</t>
        </section>
      </section>
      <section anchor="sec-4.2">
        <name>The _idsp TXT Record</name>
        <t>The <tt>_idsp</tt> TXT record names an IDSP for the agent. It carries the IDSP's domain and nothing else: no claim type, URL, digest, or expiry.</t>
        <sourcecode type="" markers="false">_idsp.&lt;agent-domain&gt;. IN TXT
  "v=gm1; idsp=&lt;idsp-domain&gt;"</sourcecode>
        <section anchor="sec-4.2.1">
          <name>ABNF Grammar</name>
          <t>The following example uses the single-backslash line-folding convention described in RFC 8792. Remove each added backslash and line break, and the leading whitespace on the continuation line, to recover the original example.</t>
          <sourcecode type="" markers="false">NOTE: '\' line wrapping per RFC 8792

idsp-record  = version ";" SP "idsp=" idsp-domain *( ";" SP ext-par\
  am )
idsp-domain  = label *( "." label )
label        = ( ALPHA / DIGIT ) *( *"-" ( ALPHA / DIGIT ) )</sourcecode>
          <t>
            <tt>version</tt> and <tt>ext-param</tt> are as in <xref target="sec-4.1.1"/>.</t>
        </section>
        <section anchor="sec-4.2.2">
          <name>Processing Requirements</name>
          <t>One record per IDSP. An agent <bcp14>MAY</bcp14> have several <tt>_idsp</tt> records, one for each IDSP it uses. Each names exactly one IDSP.</t>
          <t>
            <tt>idsp=</tt> is a DNS name in lowercase A-label form with no trailing dot, no port, and no path. It is the host from which the IDSP serves references, the domain of its <tt>did:web</tt> identifier, and the domain at which it publishes its <tt>_agentid</tt> service keys.</t>
          <t>Publishers <bcp14>MUST NOT</bcp14> add parameters that describe claims. Receivers <bcp14>MUST</bcp14> ignore unknown parameters.</t>
          <t>Relying parties <bcp14>MUST</bcp14> use a DNSSEC-validating resolver profile conforming to <xref target="sec-9.1"/> when retrieving <tt>_idsp</tt> records. Secure NODATA means the agent names no IDSP; the agent is Level 0. <tt>insecure</tt>, <tt>bogus</tt>, <tt>indeterminate</tt>, timeout, transport, and validation-error results <bcp14>MUST</bcp14> be observable to the verifier and <bcp14>MUST NOT</bcp14> be silently collapsed into ordinary absence when the relying party's policy requires a credential. When no credential is required by policy, such a failure does not make the Level 0 request authentication succeed or fail; it only prevents credential evaluation.</t>
          <t>Operators <bcp14>SHOULD</bcp14> set the TTL of <tt>_idsp</tt> records to 300 seconds or less. Removing an <tt>_idsp</tt> record withdraws that IDSP's standing for the agent: after cached copies expire, references at that IDSP fail the host check of <xref target="sec-6.1.3"/>. Withdrawal is not revocation and does not change any credential's status. An operator changes IDSP by changing this record; that is the whole of the DNS change.</t>
          <t>An operator <bcp14>MAY</bcp14> publish an <tt>_idsp</tt> record naming its own domain and serve credentials about itself by exactly the protocol any IDSP uses. Nothing in the protocol prevents this and nothing in the protocol vouches for it; the credential states truthfully who issued it and by what method, and the relying party decides what it is worth. This self-issuance replaces the self-asserted <tt>val=</tt> claim of the -00 design.</t>
        </section>
      </section>
      <section anchor="sec-4.3">
        <name>Retired: The _agentclaim TXT Record</name>
        <t>
          <tt>draft-noss-jeftovic-groundmark-core-00</tt> defined an <tt>_agentclaim</tt> TXT record that published, for each claim, its type, its IDSP, and either a URL to the attestation or a self-asserted value. Working texts after -00 added a committed form that published a digest of the URL instead.</t>
        <t>Both forms are retired in this version. Publishing a claim's type, issuer, and location in public, cached, passively collected DNS was the disclosure that the privacy critique of the -00 design correctly identified, and the committed form still revealed how many credentials an agent held and when each changed. Under this version nothing about any claim is in DNS; claims reach a relying party only by presentation in a signed request (<xref target="sec-6"/>) and by a fetch from the IDSP that DNS names.</t>
        <t>Conforming publishers <bcp14>MUST NOT</bcp14> publish new <tt>_agentclaim</tt> records. A verifier <bcp14>MAY</bcp14> read existing records only under an explicit legacy policy during a migration window defined by the operator community; this document does not define that window. This document does not request registration of <tt>_agentclaim</tt> (<xref target="sec-13"/>).</t>
      </section>
    </section>
    <section anchor="sec-5">
      <name>Request Authentication</name>
      <t>Groundmark profiles HTTP Message Signatures <xref target="RFC9421"/> for the purpose of authenticating agent requests. This document does not define a bespoke signing mechanism: the signature base, the Signature-Input header field, and the Signature header field are all as defined by <xref target="RFC9421"/>. This section specifies which of the choices left open by <xref target="RFC9421"/> are constrained for Groundmark implementations.</t>
      <t>The use of <xref target="RFC9421"/> provides body integrity, authority binding, nonce semantics, and a well-reviewed canonicalization, and avoids introducing a novel cryptographic construction.</t>
      <section anchor="sec-5.1">
        <name>Signing Algorithm</name>
        <t>Groundmark implementations <bcp14>MUST</bcp14> support Ed25519 <xref target="RFC8032"/>, identified in Signature-Input by the algorithm name <tt>ed25519</tt> as registered in the "HTTP Signature Algorithms" registry established by <xref target="RFC9421"/>. Other algorithms <bcp14>MAY</bcp14> be used where both signer and verifier support them, but Ed25519 is the only mandatory-to-implement algorithm in this document.</t>
      </section>
      <section anchor="sec-5.2">
        <name>Key Identification</name>
        <t>The keyid signature parameter in Signature-Input <bcp14>MUST</bcp14> be one of the following two forms:</t>
        <ul>
          <li>
            <t>The agent's fully qualified domain name (FQDN), in lowercase ASCII, with no <tt>#</tt> suffix. In this form, the relying party retrieves the <tt>_agentid</tt> RRset at the named domain; verification proceeds if and only if exactly one usable <tt>request-signing</tt> record is present and that record has no <tt>kid=</tt> parameter.</t>
          </li>
          <li>
            <t>The agent's FQDN followed by <tt>#</tt> and an opaque key identifier; for example, <tt>purchasing.acmecorp.example#k2</tt>. In this form, the relying party retrieves the <tt>_agentid</tt> records at the named domain and selects the record whose <tt>kid=</tt> parameter matches the identifier after the <tt>#</tt> and whose purpose is <tt>request-signing</tt> or omitted. This form <bcp14>MUST</bcp14> be used whenever multiple <tt>_agentid</tt> records are concurrently published.</t>
          </li>
        </ul>
        <t>A relying party <bcp14>MUST</bcp14> reject a signature whose keyid does not resolve to exactly one usable <tt>_agentid</tt> record under the rules above.</t>
        <t>
          <xref target="RFC9421"/> Section 1.4 leaves key retrieval to the application; Groundmark's is DNS. A Groundmark signature is structurally compatible with the Web Bot Auth profile of <xref target="RFC9421"/>
          <xref target="I-D.ietf-webbotauth-httpsig-protocol"/>, which retrieves keys from an HTTPS JWKS named in a <tt>Signature-Agent</tt> field. An agent <bcp14>MAY</bcp14> carry both; the relationship between a Groundmark keyid and <tt>Signature-Agent</tt> is specified in <xref target="GROUNDMARK-PROTOCOL"/>.</t>
      </section>
      <section anchor="sec-5.3">
        <name>Required Covered Components</name>
        <t>A Groundmark-compliant signature <bcp14>MUST</bcp14> cover, at minimum, the following <xref target="RFC9421"/> derived components:</t>
        <ul>
          <li>
            <t>
              <tt>@method</tt>
            </t>
          </li>
          <li>
            <t>
              <tt>@authority</tt>
            </t>
          </li>
          <li>
            <t>
              <tt>@target-uri</tt>
            </t>
          </li>
        </ul>
        <t>A Groundmark-compliant signature on any HTTP request that carries a request body <bcp14>MUST</bcp14> additionally cover the Content-Digest HTTP field as defined in <xref target="RFC9530"/>. The signer <bcp14>MUST</bcp14> include a Content-Digest field in the signed request and <bcp14>MUST</bcp14> select an algorithm from the "Hash Algorithms for HTTP Digest Fields" registry; the algorithm <tt>sha-256</tt> is mandatory to implement for both signers and verifiers.</t>
        <t>A signature on a request with no body (for example, most GET requests) <bcp14>MAY</bcp14> omit Content-Digest.</t>
        <t>A request carrying a <tt>Groundmark-Claim</tt> header field <bcp14>MUST</bcp14> cover <tt>"groundmark-claim";sf</tt> (<xref target="sec-6.1.2"/>). Every request field that the relying party uses for authorization, tenant selection, resource selection, routing, amount calculation, claim selection, idempotency, or any durable side effect <bcp14>MUST</bcp14> be covered by the HTTP Message Signature. In particular, <tt>idempotency-key</tt>
          <bcp14>MUST</bcp14> be covered whenever the application relies on that header for idempotency semantics.</t>
      </section>
      <section anchor="sec-5.4">
        <name>Required Signature Parameters</name>
        <t>The Signature-Input header field <bcp14>MUST</bcp14> include the following parameters:</t>
        <ul>
          <li>
            <t>
              <tt>created</tt>: the time of signing, as a UNIX timestamp in seconds.</t>
          </li>
          <li>
            <t>
              <tt>keyid</tt>: as specified in <xref target="sec-5.2"/>.</t>
          </li>
          <li>
            <t>
              <tt>alg</tt>: present and matching the algorithm associated with the public key in the <tt>_agentid</tt> record. (As a profile of <xref target="RFC9421"/>, this document REQUIRES <tt>alg</tt> to be present, although <xref target="RFC9421"/> itself permits the algorithm to be derived from the key.)</t>
          </li>
        </ul>
        <t>The Signature-Input header field <bcp14>SHOULD</bcp14> include <tt>expires</tt>, set to a time no more than 300 seconds after <tt>created</tt>. The state-changing profile in <xref target="sec-5.5"/> requires <tt>expires</tt>. Relying parties <bcp14>MUST</bcp14> reject signatures whose <tt>created</tt> time differs from the verifier's current clock by more than 300 seconds in either direction, and <bcp14>MUST</bcp14> reject signatures whose <tt>expires</tt> time, if present, is in the past.</t>
        <t>For state-changing transactions and other higher-risk operations, relying parties require a <tt>nonce</tt> parameter as specified in <xref target="sec-5.5"/>. The nonce is an HTTP Message Signature parameter and is therefore covered by <tt>@signature-params</tt>.</t>
      </section>
      <section anchor="sec-5.5">
        <name>Request Profiles</name>
        <t>Groundmark defines two request profiles. A relying party <bcp14>MAY</bcp14> impose stricter local policy than either profile.</t>
        <section anchor="sec-5.5.1">
          <name>Read-Only Profile</name>
          <t>The read-only profile is for safe, idempotent retrieval operations without financial, authorization, or durable side effects.</t>
          <t>A read-only request signature <bcp14>MUST</bcp14> cover the components required by <xref target="sec-5.3"/>. It <bcp14>MUST</bcp14> include <tt>created</tt>, <tt>keyid</tt>, and <tt>alg</tt>. It <bcp14>SHOULD</bcp14> include <tt>expires</tt>, with a short validity window. A relying party <bcp14>MAY</bcp14> require a nonce for read-only operations according to local risk policy. Every application field used for authorization, tenant selection, resource selection, routing, claim selection, or other security-relevant interpretation <bcp14>MUST</bcp14> be signature-covered.</t>
        </section>
        <section anchor="sec-5.5.2">
          <name>State-Changing Profile</name>
          <t>The state-changing profile applies to POST, PUT, PATCH, DELETE, payment, authorization, provisioning, account, inventory, or other operations with financial, authorization, or durable side effects, regardless of HTTP method.</t>
          <t>For this profile:</t>
          <ul>
            <li>
              <t>The relying party <bcp14>MUST</bcp14> issue an unpredictable nonce.</t>
            </li>
            <li>
              <t>The nonce lifetime <bcp14>MUST</bcp14> be no more than 300 seconds.</t>
            </li>
            <li>
              <t>The relying party <bcp14>SHOULD</bcp14> deliver the nonce as the <tt>nonce</tt> parameter of an <tt>Accept-Signature</tt> response field (<xref target="RFC9421"/>
                <xref target="sec-5.1"/>) in the response that challenges or precedes the request, listing the components it expects covered, including <tt>"groundmark-claim";sf</tt> when it expects a credential. An application <bcp14>MAY</bcp14> deliver the nonce another way.</t>
            </li>
            <li>
              <t>The nonce <bcp14>MUST</bcp14> be carried as a Signature-Input parameter and thereby bound through <tt>@signature-params</tt>.</t>
            </li>
            <li>
              <t>
                <tt>expires</tt>
                <bcp14>MUST</bcp14> be present and signed.</t>
            </li>
            <li>
              <t>Nonce use <bcp14>MUST</bcp14> be atomic and single-use. The verifier <bcp14>MUST</bcp14> consume the nonce with an atomic consume-if-absent operation before returning final acceptance to the application.</t>
            </li>
            <li>
              <t>The verifier <bcp14>MUST</bcp14> perform nonce consumption only after all configured cryptographic, DNSSEC, credential, status, and relying-party policy checks have succeeded.</t>
            </li>
            <li>
              <t>A body-bearing request <bcp14>MUST</bcp14> include and cover <tt>content-digest</tt>.</t>
            </li>
            <li>
              <t>
                <tt>groundmark-claim</tt>
                <bcp14>MUST</bcp14> be present and covered as <tt>"groundmark-claim";sf</tt> whenever a credential is presented.</t>
            </li>
            <li>
              <t>
                <tt>idempotency-key</tt>
                <bcp14>MUST</bcp14> be present and covered whenever the application implements idempotency for the operation.</t>
            </li>
            <li>
              <t>Every header or derived component used to determine amount, resource, authorization, tenant, routing, claim selection, or durable side effects <bcp14>MUST</bcp14> be covered.</t>
            </li>
          </ul>
          <t>If any check after request-signature verification fails, the nonce <bcp14>MUST</bcp14> remain unconsumed so a corrected request can use it within the nonce's validity window. If the atomic consume operation reports that the nonce has already been consumed, the verifier <bcp14>MUST</bcp14> reject the request as a replay and <bcp14>MUST NOT</bcp14> return acceptance to the application.</t>
        </section>
      </section>
      <section anchor="sec-5.6">
        <name>Verification Steps</name>
        <t>A relying party verifying a Groundmark request signature <bcp14>MUST</bcp14> perform the following steps. Failure of any step <bcp14>MUST</bcp14> result in rejection of the signature.</t>
        <ol>
          <li>
            <t>Parse the Signature-Input and Signature header fields per <xref target="RFC9421"/>. Confirm that the required covered components and signature parameters specified in <xref target="sec-5.3"/> and <xref target="sec-5.4"/> are present.</t>
          </li>
          <li>
            <t>Verify that <tt>created</tt> is within 300 seconds of the verifier's current clock, and that <tt>expires</tt>, if present, is in the future.</t>
          </li>
          <li>
            <t>Resolve the agent domain from the keyid parameter and retrieve the appropriate <tt>_agentid</tt> TXT record using a DNSSEC-validating resolver. If DNSSEC validation fails or no usable record is present, reject the request.</t>
          </li>
          <li>
            <t>If a request body is present, verify that the value in the Content-Digest header field matches a digest of the received body, computed using an algorithm the verifier supports.</t>
          </li>
          <li>
            <t>Reconstruct the signature base per <xref target="RFC9421"/> from the covered components in the order indicated by Signature-Input.</t>
          </li>
          <li>
            <t>Verify the signature in the Signature header field against the reconstructed signature base using the public key from the <tt>_agentid</tt> record. Compute the Agent Key Thumbprint; the result is the Agent Identity Instance.</t>
          </li>
          <li>
            <t>If the verifier's policy requires a credential, proceed to <xref target="sec-6"/> and <xref target="sec-7"/>.</t>
          </li>
          <li>
            <t>If the applicable request profile requires nonce enforcement, atomically consume the nonce at the final acceptance boundary. For Level 0-only verification this boundary is after Step 6. For composite verification involving a credential or application policy, this boundary is after all configured credential, status, and policy checks have succeeded.</t>
          </li>
        </ol>
      </section>
    </section>
    <section anchor="sec-6">
      <name>Presentation by Reference</name>
      <section anchor="sec-6.1">
        <name>The Groundmark-Claim Header Field</name>
        <t>An agent presents a claim by carrying a <tt>Groundmark-Claim</tt> header field and covering it with its request signature. The field binds a reference to the signed request. Because no claim is in DNS, presentation is the only way a relying party learns of a claim.</t>
        <section anchor="sec-6.1.1">
          <name>Syntax</name>
          <t>
            <tt>Groundmark-Claim</tt> is a List Structured Field <xref target="RFC9651"/>. Each member names a presented claim: a Token for a short claim type or a String for an HTTPS claim type URI, using the same representation as <tt>Groundmark-Accept</tt> (<xref target="sec-6.2"/>). Each member has one required parameter:</t>
          <ul>
            <li>
              <t>
                <tt>ref</tt>: <bcp14>REQUIRED</bcp14>. A String containing an absolute HTTPS URL with no userinfo component and no fragment. Its host <bcp14>MUST</bcp14> satisfy <xref target="sec-6.1.3"/>.</t>
            </li>
          </ul>
          <t>A receiver <bcp14>MUST</bcp14> ignore unrecognized parameters. This specification does not define an <tt>idsp</tt> parameter: the authorized IDSP is determined from the host of <tt>ref</tt> and the DNSSEC-validated <tt>_idsp</tt> RRset.</t>
          <t>The following example uses the single-backslash line-folding convention described in RFC 8792. Remove each added backslash and line break, and the leading whitespace on the continuation line, to recover the original example.</t>
          <sourcecode type="" markers="false">NOTE: '\' line wrapping per RFC 8792

Groundmark-Claim: operator-verified;ref="https://verify.example.net\
  /r/Vb2m7kQ1xZr9Lw0pT4yHcA"</sourcecode>
          <t>A claim type defined outside this specification:</t>
          <t>The following example uses the single-backslash line-folding convention described in RFC 8792. Remove each added backslash and line break, and the leading whitespace on the continuation line, to recover the original example.</t>
          <sourcecode type="" markers="false">NOTE: '\' line wrapping per RFC 8792

Groundmark-Claim: "https://claims.example.org/v1/fleet-licensed";re\
  f="https://verify.example.net/r/q8Zt3mWc0bKx5Yp2Rn7LfA"</sourcecode>
          <t>This version permits exactly one member after combining field lines as specified in <xref target="RFC9651"/>
            <xref target="sec-4.2"/>. A relying party <bcp14>MUST</bcp14> reject the presented claim if the field cannot be parsed, contains zero or more than one member, lacks a valid <tt>ref</tt>, or otherwise violates this section. Multiple field lines do not themselves constitute multiple claims. Future versions may define multi-member bundles.</t>
          <t>A malformed <tt>Groundmark-Claim</tt>
            <bcp14>MUST</bcp14> be reported as a presentation error and <bcp14>MUST NOT</bcp14> be silently treated as absent. Rejecting the presented claim does not necessarily reject the entire request: if local policy permits Level 0, the relying party <bcp14>MAY</bcp14> proceed without accepting any presented credential.</t>
        </section>
        <section anchor="sec-6.1.2">
          <name>Signature Coverage</name>
          <t>A request carrying <tt>Groundmark-Claim</tt>
            <bcp14>MUST</bcp14> cover its strict Structured Field serialization using the <xref target="RFC9421"/> component identifier <tt>"groundmark-claim";sf</tt>. A relying party <bcp14>MUST</bcp14> reject a presented claim unless this exact component identifier is covered by a verified request signature. Strict serialization protects the parsed value independently of whitespace and field-line splitting.</t>
          <t>The following example uses the single-backslash line-folding convention described in RFC 8792. Remove each added backslash and line break, and the leading whitespace on the continuation line, to recover the original example.</t>
          <sourcecode type="" markers="false">NOTE: '\' line wrapping per RFC 8792

Signature-Input: gm=("@method" "@authority" "@target-uri" "groundma\
  rk-claim";sf);created=1795305600;expires=1795305900;keyid="purcha\
  sing.acmecorp.example";alg="ed25519"</sourcecode>
        </section>
        <section anchor="sec-6.1.3">
          <name>The Host Check, Before Any Fetch</name>
          <t>After the request signature verifies and before anything is fetched, the relying party <bcp14>MUST</bcp14>:</t>
          <ol>
            <li>
              <t>retrieve <tt>_idsp</tt> for the agent domain under <xref target="sec-9.1"/>;</t>
            </li>
            <li>
              <t>parse <tt>ref</tt> as an HTTPS URL and extract its host, lowercased in A-label form; and</t>
            </li>
            <li>
              <t>confirm that the host is exactly equal to the <tt>idsp=</tt> value of one of the DNSSEC-validated <tt>_idsp</tt> records.</t>
            </li>
          </ol>
          <t>If the RRset fails validation, if there is no <tt>_idsp</tt> record, or if the host matches none, the relying party <bcp14>MUST</bcp14> reject the presented claim and <bcp14>MUST NOT</bcp14> fetch <tt>ref</tt>. This check is what makes every fetched URL one the operator's DNSSEC-signed zone authorized, and what makes a reference useless once the operator moves to another IDSP. A credential re-hosted anywhere other than the named IDSP fails here.</t>
        </section>
        <section anchor="sec-6.1.4">
          <name>The Presented Claim Satisfies Policy</name>
          <t>The presented claim <bcp14>MUST</bcp14> be the one that satisfies the relying party's policy. A relying party <bcp14>MUST NOT</bcp14> accept a request on the strength of a different credential when its policy required the presented claim type.</t>
        </section>
      </section>
      <section anchor="sec-6.2">
        <name>The Groundmark-Accept Header Field</name>
        <t>Because no claim is published, a relying party cannot read an agent's claims from DNS before first contact. This is accepted on purpose: the only way to support pre-contact evaluation is to publish claims, and publishing claims is the disclosure this design removes. In its place, a relying party states which claim types can satisfy its policy at a resource by sending <tt>Groundmark-Accept</tt> in a response. <tt>Accept-Signature</tt>
          <xref target="RFC9421"/> says how to sign; <tt>Groundmark-Accept</tt> says what to present. The cost is at most one round trip.</t>
        <t>
          <tt>Groundmark-Accept</tt> is a List Structured Field <xref target="RFC9651"/>. Each member is a Token naming a short claim type or a String carrying a claim type URI, with these <bcp14>OPTIONAL</bcp14> parameters:</t>
        <ul>
          <li>
            <t>
              <tt>level</tt>: an Integer from 0 to 3, the minimum attestation level, as defined by the trust framework the relying party applies. Absent means any level.</t>
          </li>
          <li>
            <t>
              <tt>idsp</tt>: a String carrying an IDSP domain the relying party accepts for this claim type. A claim type accepted from several IDSPs is listed once per IDSP. Absent means the relying party does not disclose its issuer policy here.</t>
          </li>
        </ul>
        <sourcecode type="" markers="false">Groundmark-Accept: operator-verified;level=1,
  age-over-18;idsp="verify.example.net"</sourcecode>
        <t>A receiver <bcp14>MUST</bcp14> ignore members and parameters it does not recognize. A field that fails to parse <bcp14>MUST</bcp14> be treated as absent. The field states that a credential of each listed type, within the stated constraints, can contribute to satisfying the relying party's policy; it does not say whether listed types are alternatives or all required.</t>
        <t>A relying party <bcp14>MUST</bcp14> include <tt>Groundmark-Accept</tt> in any 401 or 403 that rejects a request for lack of an acceptable credential. It <bcp14>SHOULD</bcp14> include it in 402 responses, so that payment and identity requirements are learned in one round trip. It <bcp14>MAY</bcp14> send it on any response. When it accompanies a challenge, the response <bcp14>SHOULD</bcp14> carry <tt>Accept-Signature</tt> listing <tt>"groundmark-claim";sf</tt>, with a <tt>nonce</tt> when the state-changing profile applies. A relying party that implements only Level 0 does not send it. An advertisement is not a commitment: the relying party <bcp14>MUST</bcp14> enforce its policy on the signed request whatever it advertised.</t>
        <t>
          <tt>Groundmark-Accept</tt> is advisory. An agent <bcp14>MUST</bcp14> apply its operator's disclosure policy for the target authority before presenting anything, and <bcp14>MUST NOT</bcp14> present a claim solely because its type was listed; the advertisement therefore cannot be used to probe for what an agent holds. Within what that policy permits, the agent <bcp14>SHOULD</bcp14> present the least disclosing claim that matches. An agent with nothing it may present proceeds at Level 0 and lets the relying party decide.</t>
        <t>The field is protected by TLS and is not otherwise signed unless the relying party signs its responses under <xref target="RFC9421"/>. A stripped field leaves the agent at Level 0. The field describes the resource's policy, not the requester, and <bcp14>MAY</bcp14> appear on cacheable responses without a <tt>Vary</tt> entry.</t>
      </section>
      <section anchor="sec-6.3">
        <name>Reference Hygiene</name>
        <t>A reference is a bearer value. Holding it is what allows a fetch.</t>
        <ul>
          <li>
            <t>The path of a reference <bcp14>MUST</bcp14> contain at least 128 bits of cryptographically random entropy.</t>
          </li>
          <li>
            <t>An IDSP <bcp14>MUST NOT</bcp14> derive a reference path from the agent domain, operator, claim type, issuance order, issuance time, or anything else an observer could enumerate.</t>
          </li>
          <li>
            <t>An IDSP <bcp14>MUST NOT</bcp14> expose any index, listing, or search interface from which references can be obtained without already holding them.</t>
          </li>
          <li>
            <t>Relying parties, agents, and IDSPs <bcp14>MUST NOT</bcp14> log, expose in telemetry, forward to third parties, or republish a reference. Logs <bcp14>MAY</bcp14> record the reference's origin and a SHA-256 digest of the full URL.</t>
          </li>
          <li>
            <t>References are never published in DNS.</t>
          </li>
        </ul>
      </section>
    </section>
    <section anchor="sec-7">
      <name>Credential Verification (Overview)</name>
      <t>This section is informative. The normative text is in <xref target="GROUNDMARK-PROTOCOL"/>.</t>
      <t>A credential served by an IDSP is a W3C Verifiable Credential <xref target="VCDM2"/> secured as an SD-JWT <xref target="RFC9901"/> as profiled by <xref target="VC-JOSE-COSE"/>. Its issuer is the IDSP's <tt>did:web</tt> identifier, whose keys are also published as <tt>_agentid</tt> service keys at the IDSP domain and <bcp14>MUST</bcp14> agree with the <tt>did:web</tt> document. The IDSP serves, at the presented reference, only the claims the operator has released to the requesting relying party, together with structured evidence of how each claim was verified. Status is published as a Token Status List <xref target="I-D.ietf-oauth-status-list"/>.</t>
      <t>After verifying the credential's signature and validity, a relying party checks four bindings that no VC specification provides and that make a credential a Groundmark credential:</t>
      <ol>
        <li>
          <t>
            <strong>Agent.</strong> The credential's subject agent domain equals the agent domain being evaluated, the one resolved from the request's <tt>keyid</tt>.</t>
        </li>
        <li>
          <t>
            <strong>Key.</strong> The credential's <tt>cnf</tt> key thumbprint equals the Agent Key Thumbprint of the exact key that verified the <xref target="RFC9421"/> request.</t>
        </li>
        <li>
          <t>
            <strong>Issuer.</strong> The credential's issuer is <tt>did:web:&lt;h&gt;</tt>, where <tt>&lt;h&gt;</tt> is the <tt>idsp=</tt> value of a DNSSEC-validated <tt>_idsp</tt> record for the agent domain.</t>
        </li>
        <li>
          <t>
            <strong>Reference.</strong> The host of the presented <tt>ref</tt> is that same <tt>&lt;h&gt;</tt>, checked before the fetch (<xref target="sec-6.1.3"/>).</t>
        </li>
      </ol>
      <t>Bindings 1, 2 and 4 together replace the signed <tt>endpoint_url</tt> of the -00 attestation design: a credential copied elsewhere fails the host check, one presented for a different agent fails binding 1, and one presented with a different key fails binding 2.</t>
    </section>
    <section anchor="sec-8">
      <name>DNS Publication Withdrawal and Key Rotation</name>
      <t>DNS publication controls what a relying party can currently discover and authorize. Removing a record is therefore a withdrawal of a publication, not an authoritative lifecycle statement about a credential or historical identity.</t>
      <t>
        <strong>Agent-key withdrawal.</strong> The operator removes an <tt>_agentid</tt> request-signing record. After cached copies expire, new requests cannot authenticate as the removed Agent Identity Instance. Withdrawal does not assert why the key disappeared and does not prove that the key was destroyed or historically compromised.</t>
      <t>
        <strong>IDSP withdrawal.</strong> The operator removes an <tt>_idsp</tt> record. After cached copies expire, references at that IDSP fail the host check and no credential from it can be evaluated for the agent. Withdrawal does not change any credential's signed status and <bcp14>MUST NOT</bcp14> be represented as IDSP-issued revocation.</t>
      <t>
        <strong>Credential status.</strong> An IDSP makes authoritative lifecycle statements about a credential through the status mechanism in <xref target="GROUNDMARK-PROTOCOL"/>. Status-layer revocation is separate from DNS withdrawal and does not disable an otherwise valid agent request-signing key.</t>
      <t>These controls are complementary. An operator responding to compromise can withdraw an agent key or an IDSP immediately, while an IDSP can publish a status change for an individual credential. Implementations and user interfaces <bcp14>MUST</bcp14> preserve the distinction between DNS withdrawal and signed revocation.</t>
      <section anchor="sec-8.1">
        <name>Key Rotation</name>
        <t>Operators rotating an agent signing key <bcp14>SHOULD</bcp14> use the following procedure to avoid request rejection during transition.</t>
        <t>If the operator's current <tt>_agentid</tt> record does not carry a <tt>kid=</tt> parameter, the operator <bcp14>MUST</bcp14> first publish a replacement of the current record that includes a <tt>kid=</tt> parameter, and wait at least one TTL period before proceeding. This is because, during rotation, the validity rule of <xref target="sec-4.1.2"/> requires every published record to carry a <tt>kid=</tt>.</t>
        <t>The rotation itself proceeds as follows:</t>
        <ol>
          <li>
            <t>Generate the new key pair.</t>
          </li>
          <li>
            <t>Publish a second <tt>_agentid</tt> record at the agent domain, with a <tt>kid=</tt> parameter distinct from the existing record.</t>
          </li>
          <li>
            <t>Obtain reissued credentials naming the new key, since a credential names one key in <tt>cnf</tt> and a credential naming the old key fails binding 2 once the old key is withdrawn.</t>
          </li>
          <li>
            <t>Begin issuing requests with the new key. Requests <bcp14>MUST</bcp14> identify the new key via the keyid signature parameter using the <tt>&lt;FQDN&gt;#&lt;kid&gt;</tt> form specified in <xref target="sec-5.2"/>.</t>
          </li>
          <li>
            <t>After a transition period not less than twice the published <tt>_agentid</tt> TTL, remove the previous <tt>_agentid</tt> record.</t>
          </li>
        </ol>
        <t>Relying parties supporting key rotation <bcp14>MUST</bcp14> select the <tt>_agentid</tt> record matching the keyid value carried in the signature. Relying parties <bcp14>MAY</bcp14> cache multiple <tt>_agentid</tt> records concurrently up to their respective TTLs.</t>
        <t>Overlap of two keys in DNS is a deployment convenience, not proof that the new key inherits the old key's standing. Relying parties <bcp14>MUST</bcp14> compute the Agent Key Thumbprint for the selected key and treat a change in thumbprint according to <xref target="sec-8.2"/>.</t>
      </section>
      <section anchor="sec-8.2">
        <name>Identity Reset</name>
        <t>For Level 0 security decisions, the authenticated identity is the Agent Identity Instance:</t>
        <sourcecode type="" markers="false">(canonical_agent_domain, agent_key_thumbprint)</sourcecode>
        <t>A request from the same agent domain but with a different Agent Key Thumbprint is a new Agent Identity Instance unless the relying party verifies and accepts a separately specified continuity proof.</t>
        <t>Relying parties <bcp14>MUST NOT</bcp14> carry durable allowlists, reputation, transaction limits, standing approvals, or previous credentials solely by FQDN across an Identity Reset. Phase 0 continuity requires re-establishment or reissuance under the new key. This document does not define the deferred continuity protocol.</t>
      </section>
    </section>
    <section anchor="sec-9">
      <name>Security Considerations</name>
      <section anchor="sec-9.1">
        <name>DNSSEC Requirement</name>
        <t>All DNS lookups in the Groundmark verification flow <bcp14>MUST</bcp14> be performed using a DNSSEC-validating resolver <xref target="RFC4033"/>. Without DNSSEC validation, DNS cache poisoning attacks could substitute an attacker's public key or an attacker's IDSP for the legitimate ones, rendering the entire verification flow meaningless.</t>
        <t>An implementation <bcp14>MUST</bcp14> use one of the following resolver profiles:</t>
        <ul>
          <li>
            <t>in-process DNSSEC validation; or</t>
          </li>
          <li>
            <t>a trusted validating resolver reached over a channel that provides endpoint authentication and integrity.</t>
          </li>
        </ul>
        <t>Loopback or protected local IPC to a validating resolver is an acceptable authenticated channel. An implementation <bcp14>MUST NOT</bcp14> rely on an AD bit received over an unauthenticated or otherwise untrusted network path.</t>
        <t>Implementations <bcp14>MUST</bcp14> treat <tt>insecure</tt>, <tt>bogus</tt>, <tt>indeterminate</tt>, timeout, transport failure, SERVFAIL indicating validation failure, AD=0 where AD is relied upon, and any other inability to confirm a validated answer as fatal for <tt>_agentid</tt> lookups and for IDSP-key lookups. For <tt>_idsp</tt>, implementations <bcp14>MUST</bcp14> distinguish secure NODATA from validation failure. Validation failure <bcp14>MUST</bcp14> be observable and <bcp14>MUST NOT</bcp14> silently become ordinary "no IDSP" success when a credential is required by policy.</t>
        <t>This DNSSEC requirement applies to operators publishing <tt>_agentid</tt> and <tt>_idsp</tt> records, and to IDSPs publishing their own signing keys. It does not require DNSSEC adoption across the general Internet. Entities making the deliberate decision to participate in Groundmark are the appropriate population to bear this operational requirement, and the requirement is proportionate to the trust being claimed. The authors note that no open-source DID resolver or agent-key resolver validates DNSSEC at the time of writing; this requirement is Groundmark's own.</t>
        <t>Implementations <bcp14>MAY</bcp14> use DNS-over-HTTPS <xref target="RFC8484"/> or other authenticated transport to a trusted recursive resolver as part of their DNSSEC strategy, but the validation chain itself <bcp14>MUST</bcp14> be verified by the implementation or by the trusted validating resolver within the authenticated trust boundary.</t>
      </section>
      <section anchor="sec-9.2">
        <name>Replay Attacks</name>
        <t>The 300-second <tt>created</tt> window in <xref target="RFC9421"/> signatures limits replay exposure but does not by itself prevent replay within the window. Relying parties servicing state-changing, financial, authorization, or durable-side-effect operations <bcp14>MUST</bcp14> use the state-changing profile in <xref target="sec-5.5.2"/>.</t>
        <t>Nonce consumption <bcp14>MUST</bcp14> be one atomic consume-if-absent operation. A read followed by a separate write is not sufficient under concurrency: two requests can otherwise both observe the nonce as unused and both be accepted. The nonce <bcp14>MUST</bcp14> be consumed only after every configured cryptographic, DNSSEC, credential, status, and relying-party policy check has succeeded, and before the application acts on the request.</t>
        <t>The <tt>@authority</tt> covered component, required by <xref target="sec-5.3"/>, binds the signature to a specific target host, preventing cross-service replay even if the signature is otherwise valid.</t>
      </section>
      <section anchor="sec-9.3">
        <name>Body Integrity</name>
        <t>For requests with a body, the Content-Digest covered-component requirement of <xref target="sec-5.3"/> provides body integrity: an intermediary that modifies the request body will invalidate the signature. Implementations <bcp14>MUST</bcp14> verify the Content-Digest value against the received body before accepting the signature as valid.</t>
      </section>
      <section anchor="sec-9.4">
        <name>References as Bearer Values</name>
        <t>A reference functions as an opaque bearer value for a credential at the IDSP. The entropy and non-enumeration requirements of <xref target="sec-6.3"/> defend against enumeration of IDSP endpoints. Because a reference is useful only when presented in a request signed by the agent's key, and only to a relying party that can verify that the reference's host is the agent's IDSP, a leaked reference does not by itself allow impersonation; it allows a fetch, which is why the logging restrictions of <xref target="sec-6.3"/> apply. Confidentiality properties of credential content, including the IDSP's release rule, are specified in <xref target="GROUNDMARK-PROTOCOL"/>.</t>
      </section>
      <section anchor="sec-9.5">
        <name>Re-Hosted Credentials and IDSP Host Decommissioning</name>
        <t>A credential copied to another location and presented by reference fails the host check of <xref target="sec-6.1.3"/>, because the new host is not named in the agent's <tt>_idsp</tt>. A reference embeds the IDSP host. An IDSP <bcp14>MUST NOT</bcp14> release a host used in references until every credential served from it has expired or been revoked, and <bcp14>SHOULD</bcp14> serve HTTP 410 Gone at decommissioned paths for at least 90 days first. Because the host must also appear in the agent's <tt>_idsp</tt> record, a third party that later acquires the host is not named by any operator's zone unless an operator still names it; operators <bcp14>SHOULD</bcp14> remove <tt>_idsp</tt> records for IDSPs they no longer use.</t>
      </section>
      <section anchor="sec-9.6">
        <name>Key Compromise</name>
        <t>Compromise of an agent signing key permits an attacker to impersonate the agent, and to present its references, until the corresponding <tt>_agentid</tt> record is removed and caches expire. To minimize exposure:</t>
        <ul>
          <li>
            <t>Operators <bcp14>SHOULD</bcp14> set <tt>_agentid</tt> TTLs to 300 seconds or less.</t>
          </li>
          <li>
            <t>Operators <bcp14>SHOULD</bcp14> provision the rotation procedure of <xref target="sec-8.1"/> in advance so that emergency key replacement can be performed without delay.</t>
          </li>
          <li>
            <t>Relying parties <bcp14>MUST NOT</bcp14> cache <tt>_agentid</tt> records beyond their DNS-declared TTL.</t>
          </li>
        </ul>
        <t>This document defines no emergency "kill" signal distinct from DNS publication withdrawal. Operators requiring a shorter withdrawal window should run authoritative nameservers capable of rapid zone updates and use short TTLs. Credential revocation is provided separately by the companion specification's status mechanism.</t>
      </section>
      <section anchor="sec-9.7">
        <name>Domain Expiry, Re-Registration, and Registrar Compromise</name>
        <t>Domain expiry, re-registration, registrar-account compromise, DNS operator compromise, and authoritative DNS compromise can all cause a different party to publish records under the same FQDN. DNSSEC authenticates the DNS data, not the legal or historical continuity of the registrant.</t>
        <t>For that reason, relying parties <bcp14>MUST</bcp14> treat a key-thumbprint change without an accepted continuity proof as an Identity Reset. Old reputation, allowlists, transaction limits, approvals, and credentials <bcp14>MUST NOT</bcp14> carry forward solely because the FQDN string is the same.</t>
      </section>
      <section anchor="sec-9.8">
        <name>Current-Key Provenance Versus Operator Assurance</name>
        <t>Successful core verification establishes control of the private key corresponding to the DNSSEC-authenticated <tt>_agentid</tt> key used for the request. It does not establish legal identity, registrar vetting, brand authorization, operational competence, regulatory compliance, or continuity with a previous key or registrant.</t>
        <t>When a hosting provider or another key custodian operates the private key, core verification establishes only that the custodied key signed the request. It does not prove that a particular operator authorized that request or that the custodian remains authorized. Such relationships require explicit higher-layer credentials and relying-party policy.</t>
        <t>Operator accountability and other higher-level claims are supplied, if required, by explicitly evaluated credentials under <xref target="GROUNDMARK-PROTOCOL"/> and by relying-party policy. A Level 0 result <bcp14>MUST NOT</bcp14> be described as legal identity, brand verification, or registrar-verified operator accountability. A valid credential signature likewise proves only that the IDSP's key signed it, not that the IDSP is trusted or authorized for the claim; that is a trust-framework question outside this document.</t>
      </section>
    </section>
    <section anchor="sec-10">
      <name>Privacy Considerations</name>
      <t>This section addresses the privacy properties of the protocol defined in this document, in the spirit of <xref target="RFC6973"/>. Privacy considerations arising from specific claim types and from the IDSP's release rule are the subject of the companion specification.</t>
      <section anchor="sec-10.1">
        <name>What DNS Discloses</name>
        <t>DNS is public, cached, logged by passive collectors, and queried in the clear across many paths. Anything placed there is published to everyone, permanently in practice. This version publishes two things:</t>
        <ul>
          <li>
            <t>the agent's public request-signing key, in <tt>_agentid</tt>;</t>
          </li>
          <li>
            <t>the domain of the agent's IDSP, in <tt>_idsp</tt>.</t>
          </li>
        </ul>
        <t>Nothing in DNS states what kind of claim an agent can back, how many, from whom beyond the IDSP's name, when they were issued, or where they can be read. A reader of DNS learns that the agent participates in Groundmark and which IDSP vouches for it. The -00 design published the claim type, the IDSP and a URL per claim; that disclosure is removed (<xref target="sec-4.3"/>).</t>
      </section>
      <section anchor="sec-10.2">
        <name>Organizational and Individual Operators</name>
        <t>Groundmark's primary deployment model is organizational. The operator is, in the typical case, a company or other organization deploying agents in a commercial or operational context, under domains that already publish substantial public metadata: MX records, SPF, DKIM selectors, DMARC policy, CAA records, and (subject to applicable law) registrant data. Adding a key and a provider name extends this existing organizational-disclosure model only slightly.</t>
        <t>An individual operator (sole proprietor, freelancer, or hobbyist) deploying agents under a personal domain is different, which is why the protocol makes no claim public at all and leaves every release to the operator's instruction to its IDSP. An individual who prefers not to publish records under a personal domain <bcp14>SHOULD</bcp14> publish agent identity records under a provider's domain rather than under a personal domain, where the provider's underlying relationship with the operator preserves the accountability chain. This is a recommendation, not a normative requirement.</t>
      </section>
      <section anchor="sec-10.3">
        <name>What Remains Observable</name>
        <t>The design does not make agents unobservable, and it does not claim to.</t>
        <ul>
          <li>
            <t>
              <strong>Linkability by agent domain.</strong> Every relying party sees the agent domain, and relying parties can correlate on it. Operators that need unlinkability across relying parties <bcp14>SHOULD</bcp14> use per-relationship agent domains.</t>
          </li>
          <li>
            <t>
              <strong>The IDSP sees where its credentials go.</strong> Because relying parties fetch from the IDSP, the IDSP learns which relying parties an agent presents to, and when. This is the same property as server retrieval in ISO/IEC 18013-5. For organizational agents it is the accountability the IDSP exists to provide. For a person's agent it means the choice of IDSP is a choice of who sees the agent's counterparties; a person <bcp14>MAY</bcp14> self-issue (<xref target="sec-4.2.2"/>) or choose an IDSP whose practices on this are acceptable to them.</t>
          </li>
          <li>
            <t>
              <strong>The IDSP name is a signal.</strong> An <tt>_idsp</tt> record naming an IDSP known for one kind of verification discloses something by itself. Operators choosing a specialist IDSP accept that.</t>
          </li>
          <li>
            <t>
              <strong>Resolver-side observation.</strong> DNS resolution of <tt>_agentid</tt> and <tt>_idsp</tt> records is, like any DNS lookup, observable by network operators on the path between the relying party and the authoritative servers. Relying parties concerned about this leakage <bcp14>SHOULD</bcp14> use authenticated, encrypted transports to their recursive resolver (such as DNS-over-HTTPS <xref target="RFC8484"/>).</t>
          </li>
        </ul>
      </section>
      <section anchor="sec-10.4">
        <name>Selective Disclosure</name>
        <t>The protocol publishes only public keys in <tt>_agentid</tt> and only an IDSP name in <tt>_idsp</tt>. A claim reaches a relying party only when the agent presents a reference in a signed request, and the IDSP serves only the claims released to that relying party. Credential values are bounded predicates such as "the operator is over 18", not the underlying personal data; the companion specification carries this through to the credential format.</t>
      </section>
    </section>
    <section anchor="sec-11">
      <name>Operational Considerations</name>
      <section anchor="sec-11.1">
        <name>Caching and Resolver Load</name>
        <t>Groundmark verification is designed to be amortized through caching, not performed in full on every request. A relying party that has recently verified a request from a given agent domain may have its <tt>_agentid</tt> and <tt>_idsp</tt> records cached at the local resolver; a credential fetched once may be valid for hours or days, subject to its validity period, its status, and the IDSP's Cache-Control directives.</t>
        <t>To support this:</t>
        <ul>
          <li>
            <t>IDSPs <bcp14>MUST</bcp14> set Cache-Control max-age values on credential responses consistent with the credential's expected freshness, and <bcp14>MUST NOT</bcp14> set values so short as to force effectively per-request revalidation. Specific normative guidance for IDSPs is given in the companion specification.</t>
          </li>
          <li>
            <t>Relying parties <bcp14>SHOULD</bcp14> cache <tt>_agentid</tt> and <tt>_idsp</tt> records and credential payloads up to the lesser of the resource's stated lifetime and any local cache policy.</t>
          </li>
          <li>
            <t>Implementations operating at high transaction volumes (for example, serving requests from AI agent fleets) <bcp14>SHOULD</bcp14> prefer a resolver architecture that aggregates DNS lookups for an agent domain rather than re-resolving per request.</t>
          </li>
        </ul>
        <t>The two-level structure (cheap, near-constant DNS lookups; less frequent, cacheable credential fetches) is intended to make Groundmark workable at scales characteristic of automated agent deployments.</t>
      </section>
      <section anchor="sec-11.2">
        <name>Coexistence with Other Protocols</name>
        <t>
          <tt>_agentid</tt> and <tt>_idsp</tt> are scoped underscored node names under <xref target="RFC8552"/>. They do not conflict with other underscore-labeled records published at the same domain, including <tt>_dmarc</tt>, <tt>_dkim</tt>, DANE TLSA records, or the labels used by other agent-discovery proposals (<tt>_dnsid</tt>, <tt>_agents</tt>, <tt>_agent</tt>, <tt>_ans</tt>, <tt>_did</tt>). An operator <bcp14>MAY</bcp14> simultaneously publish Groundmark identity records and records of those protocols under the same agent domain without interaction at the DNS layer.</t>
      </section>
    </section>
    <section anchor="sec-12">
      <name>Related Work</name>
      <t>This section positions Groundmark relative to other work in adjacent problem spaces. Groundmark is designed to compose with these specifications rather than to replace them.</t>
      <section anchor="sec-12.1">
        <name>HTTP Message Signatures (RFC 9421) and Web Bot Auth</name>
        <t>Groundmark uses <xref target="RFC9421"/> for request authentication. It does not modify or extend <xref target="RFC9421"/>; it specifies a profile (covered components, required signature parameters, key identification convention) suitable for DNS-anchored agent identity. The Web Bot Auth work <xref target="I-D.ietf-webbotauth-httpsig-protocol"/> profiles <xref target="RFC9421"/> for the same purpose with keys retrieved from an HTTPS JWKS; the two profiles share the signature base and differ in key discovery. Web Bot Auth establishes where a request came from; Groundmark adds who stands behind it.</t>
      </section>
      <section anchor="sec-12.2">
        <name>DKIM and DMARC</name>
        <t>Groundmark's DNS publication pattern is modelled on DKIM <xref target="RFC6376"/>, which established the practical pattern of publishing a public key in a DNS TXT record under a reserved label for the purpose of application-layer signature verification. <xref target="RFC7489"/> (DMARC) demonstrates the extension of this pattern to policy publication. Groundmark applies the same pattern to agent identity rather than email authentication.</t>
      </section>
      <section anchor="sec-12.3">
        <name>W3C Decentralized Identifiers and Verifiable Credentials</name>
        <t>Groundmark's credential layer is built on the W3C stack rather than beside it. The IDSP is identified by <tt>did:web</tt>
          <xref target="DID-WEB"/>, with its verification methods expressed per Controlled Identifiers 1.0 <xref target="CID"/>; the credential is a Verifiable Credential <xref target="VCDM2"/> secured as SD-JWT per <xref target="VC-JOSE-COSE"/> and <xref target="RFC9901"/>; method disclosure uses the <tt>evidence</tt> property of <xref target="VCDM2"/>; status uses a Token Status List <xref target="I-D.ietf-oauth-status-list"/>. What Groundmark adds to that stack is specified in this document and the companion: a DNSSEC-anchored binding of the IDSP's keys and of the agent's key, presentation by reference with the IDSP serving the credential, a normative method-disclosure requirement, and the four bindings of <xref target="sec-7"/>. No new DID method is defined; <tt>did:web</tt> with the DNSSEC cross-check is sufficient, and prior art for binding DIDs to DNSSEC exists in <xref target="I-D.carter-high-assurance-dids-with-dns"/> and <xref target="I-D.ranjbar-dane-did"/>.</t>
      </section>
      <section anchor="sec-12.4">
        <name>Agent Discovery in DNS: DNSid, DNS-AID, ANSv2, and DAWN</name>
        <t>Several DNS-anchored agent proposals exist at the time of writing. DNSid <xref target="I-D.ihsanullah-dnsid"/> publishes a durable owner binding and lifecycle log under <tt>_dnsid</tt>, and names Groundmark as the complementary layer for current operator attestation. DNS-AID <xref target="I-D.mozleywilliams-dnsop-dnsaid"/> and ANSv2 <xref target="I-D.narajala-courtney-ansv2"/> address agent discovery and naming; the IETF DAWN working group addresses discovery and excludes identity and trust from its charter. Groundmark addresses request authentication and operator accountability under different underscored DNS labels and may coexist with all of these at the same domain.</t>
      </section>
      <section anchor="sec-12.5">
        <name>x402</name>
        <t>
          <xref target="X402"/> defines an HTTP-native payment protocol in which an agent receiving an HTTP 402 response pays and retries the request. A <tt>Groundmark-Accept</tt> field on a 402 response lets payment and identity requirements arrive together.</t>
      </section>
    </section>
    <section anchor="sec-13">
      <name>IANA Considerations</name>
      <section anchor="sec-13.1">
        <name>Underscored and Globally Scoped DNS Node Names Registry</name>
        <t>IANA is requested to add the following entries to the "Underscored and Globally Scoped DNS Node Names" registry established by <xref target="RFC8552"/>:</t>
        <table>
          <name>Groundmark underscore label registrations</name>
          <thead>
            <tr>
              <th>RR Type</th>
              <th>_NODE NAME</th>
              <th>Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>TXT</td>
              <td>_agentid</td>
              <td>This document</td>
            </tr>
            <tr>
              <td>TXT</td>
              <td>_idsp</td>
              <td>This document</td>
            </tr>
          </tbody>
        </table>
        <t>The registry operates under Expert Review per <xref target="RFC8552"/>. The <tt>_agentclaim</tt> entry requested by <tt>draft-noss-jeftovic-groundmark-core-00</tt> is not requested by this document (<xref target="sec-4.3"/>).</t>
      </section>
      <section anchor="sec-13.2">
        <name>HTTP Field Names</name>
        <t>IANA is requested to add the following entries to the "Hypertext Transfer Protocol (HTTP) Field Name Registry" <xref target="RFC9110"/>:</t>
        <table>
          <thead>
            <tr>
              <th>Field Name</th>
              <th>Status</th>
              <th>Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>Groundmark-Claim</td>
              <td>permanent</td>
              <td>This document, <xref target="sec-6.1"/>
              </td>
            </tr>
            <tr>
              <td>Groundmark-Accept</td>
              <td>permanent</td>
              <td>This document, <xref target="sec-6.2"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Both fields are List Structured Fields <xref target="RFC9651"/>.</t>
        <t>This document requests no new registries. It requests no new HTTP Signature Algorithms, signature parameters, derived components, media types, or well-known URIs.</t>
      </section>
      <section anchor="sec-13.3">
        <name>HTTP Signature Algorithms</name>
        <t>This document does not define new entries in the "HTTP Signature Algorithms" registry established by <xref target="RFC9421"/>. Groundmark implementations use registered algorithms only; the mandatory-to-implement algorithm <tt>ed25519</tt> is already registered by <xref target="RFC9421"/>.</t>
      </section>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author surname="Bradner" initials="S."/>
            <date year="1997" month="March"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
        </reference>
        <reference anchor="RFC4033" target="https://www.rfc-editor.org/info/rfc4033">
          <front>
            <title>DNS Security Introduction and Requirements</title>
            <author surname="Arends" initials="R."/>
            <author surname="Austein" initials="R."/>
            <author surname="Larson" initials="M."/>
            <author surname="Massey" initials="D."/>
            <author initials="S." surname="Rose"/>
            <date year="2005" month="March"/>
          </front>
          <seriesInfo name="RFC" value="4033"/>
        </reference>
        <reference anchor="RFC4648" target="https://www.rfc-editor.org/info/rfc4648">
          <front>
            <title>The Base16, Base32, and Base64 Data Encodings</title>
            <author surname="Josefsson" initials="S."/>
            <date year="2006" month="October"/>
          </front>
          <seriesInfo name="RFC" value="4648"/>
        </reference>
        <reference anchor="RFC7638" target="https://www.rfc-editor.org/info/rfc7638">
          <front>
            <title>JSON Web Key (JWK) Thumbprint</title>
            <author surname="Jones" initials="M."/>
            <author initials="N." surname="Sakimura"/>
            <date year="2015" month="September"/>
          </front>
          <seriesInfo name="RFC" value="7638"/>
        </reference>
        <reference anchor="RFC8032" target="https://www.rfc-editor.org/info/rfc8032">
          <front>
            <title>Edwards-Curve Digital Signature Algorithm (EdDSA)</title>
            <author surname="Josefsson" initials="S."/>
            <author initials="I." surname="Liusvaara"/>
            <date year="2017" month="January"/>
          </front>
          <seriesInfo name="RFC" value="8032"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author surname="Leiba" initials="B."/>
            <date year="2017" month="May"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
        </reference>
        <reference anchor="RFC8552" target="https://www.rfc-editor.org/info/rfc8552">
          <front>
            <title>Scoped Interpretation of DNS Resource Records through "Underscored" Naming of Attribute Leaves</title>
            <author surname="Crocker" initials="D."/>
            <date year="2019" month="March"/>
          </front>
          <seriesInfo name="BCP" value="222"/>
          <seriesInfo name="RFC" value="8552"/>
        </reference>
        <reference anchor="RFC9110" target="https://www.rfc-editor.org/info/rfc9110">
          <front>
            <title>HTTP Semantics</title>
            <author surname="Fielding" initials="R."/>
            <author surname="Nottingham" initials="M."/>
            <author initials="J." surname="Reschke"/>
            <date year="2022" month="June"/>
          </front>
          <seriesInfo name="RFC" value="9110"/>
        </reference>
        <reference anchor="RFC9421" target="https://www.rfc-editor.org/info/rfc9421">
          <front>
            <title>HTTP Message Signatures</title>
            <author surname="Backman" initials="A." role="editor"/>
            <author surname="Richer" initials="J." role="editor"/>
            <author initials="M." surname="Sporny"/>
            <date year="2024" month="February"/>
          </front>
          <seriesInfo name="RFC" value="9421"/>
        </reference>
        <reference anchor="RFC9530" target="https://www.rfc-editor.org/info/rfc9530">
          <front>
            <title>Digest Fields</title>
            <author surname="Polli" initials="R."/>
            <author initials="L." surname="Pardue"/>
            <date year="2024" month="February"/>
          </front>
          <seriesInfo name="RFC" value="9530"/>
        </reference>
        <reference anchor="RFC9651" target="https://www.rfc-editor.org/info/rfc9651">
          <front>
            <title>Structured Field Values for HTTP</title>
            <author surname="Nottingham" initials="M."/>
            <author initials="P-H." surname="Kamp"/>
            <date year="2024" month="September"/>
          </front>
          <seriesInfo name="RFC" value="9651"/>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <reference anchor="Cameron2005" target="https://www.identityblog.com/?p=352">
          <front>
            <title>The Laws of Identity</title>
            <author surname="Cameron" initials="K."/>
            <date year="2005" month="May"/>
          </front>
        </reference>
        <reference anchor="CID" target="https://www.w3.org/TR/cid/">
          <front>
            <title>Controlled Identifiers v1.0</title>
            <author>
              <organization>W3C</organization>
            </author>
            <date year="2025" month="May" day="15"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
        </reference>
        <reference anchor="DID-WEB" target="https://w3c-ccg.github.io/did-method-web/">
          <front>
            <title>did:web Method Specification</title>
            <author>
              <organization>W3C Credentials Community Group</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="GROUNDMARK-PROTOCOL" target="https://github.com/Groundmark/groundmark/blob/main/spec/groundmark-protocol.md">
          <front>
            <title>Groundmark Protocol: DNS-anchored identity and IDSP-served credentials for autonomous agents</title>
            <author surname="Noss" initials="E."/>
            <author initials="M." surname="Jeftovic"/>
            <date year="2026" month="November"/>
          </front>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.carter-high-assurance-dids-with-dns" target="https://datatracker.ietf.org/doc/html/draft-carter-high-assurance-dids-with-dns-08">
          <front>
            <title>High Assurance DIDs with DNS</title>
            <author surname="Carter" initials="J."/>
            <author surname="Latour" initials="J."/>
            <author surname="Glaude" initials="M."/>
            <author initials="T." surname="Bouma"/>
            <date year="2025" month="November"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-carter-high-assurance-dids-with-dns-08"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ietf-oauth-status-list" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21">
          <front>
            <title>Token Status List</title>
            <author surname="Looker" initials="T."/>
            <author surname="Bastian" initials="P."/>
            <author initials="C." surname="Bormann"/>
            <date year="2026" month="June"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-oauth-status-list-21"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ietf-webbotauth-httpsig-protocol" target="https://datatracker.ietf.org/doc/html/draft-ietf-webbotauth-httpsig-protocol-01">
          <front>
            <title>HTTP Message Signatures for automated traffic</title>
            <author surname="Meunier" initials="T. et al."/>
            <date year="2026" month="October"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-webbotauth-httpsig-protocol-01"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ihsanullah-dnsid" target="https://datatracker.ietf.org/doc/html/draft-ihsanullah-dnsid-01">
          <front>
            <title>DNSid</title>
            <author surname="Ihsanullah" initials="N."/>
            <date year="2026" month="June"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ihsanullah-dnsid-01"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.mozleywilliams-dnsop-dnsaid" target="https://datatracker.ietf.org/doc/html/draft-mozleywilliams-dnsop-dnsaid-02">
          <front>
            <title>DNS-AID</title>
            <author surname="Mozley" initials="D."/>
            <author initials="N." surname="Williams"/>
            <date year="2026" month="May"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-mozleywilliams-dnsop-dnsaid-02"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.narajala-courtney-ansv2" target="https://datatracker.ietf.org/doc/html/draft-narajala-courtney-ansv2-01">
          <front>
            <title>Agent Name Service v2</title>
            <author surname="Narajala" initials="V."/>
            <author initials="S." surname="Courtney"/>
            <date year="2026" month="April"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-narajala-courtney-ansv2-01"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ranjbar-dane-did" target="https://datatracker.ietf.org/doc/html/draft-ranjbar-dane-did-00">
          <front>
            <title>Rooting DIDs in DNSSEC</title>
            <author surname="Ranjbar" initials="K."/>
            <date year="2026" month="July"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ranjbar-dane-did-00"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="RFC6376" target="https://www.rfc-editor.org/info/rfc6376">
          <front>
            <title>DomainKeys Identified Mail (DKIM) Signatures</title>
            <author surname="Crocker" initials="D." role="editor"/>
            <author surname="Hansen" initials="T." role="editor"/>
            <author initials="M." surname="Kucherawy" role="editor"/>
            <date year="2011" month="September"/>
          </front>
          <seriesInfo name="STD" value="76"/>
          <seriesInfo name="RFC" value="6376"/>
        </reference>
        <reference anchor="RFC6973" target="https://www.rfc-editor.org/info/rfc6973">
          <front>
            <title>Privacy Considerations for Internet Protocols</title>
            <author surname="Cooper" initials="A."/>
            <author surname="Tschofenig" initials="H."/>
            <author surname="Aboba" initials="B."/>
            <author surname="Peterson" initials="J."/>
            <author surname="Morris" initials="J."/>
            <author surname="Hansen" initials="M."/>
            <author initials="R." surname="Smith"/>
            <date year="2013" month="July"/>
          </front>
          <seriesInfo name="RFC" value="6973"/>
        </reference>
        <reference anchor="RFC7489" target="https://www.rfc-editor.org/info/rfc7489">
          <front>
            <title>Domain-based Message Authentication, Reporting, and Conformance (DMARC)</title>
            <author surname="Kucherawy" initials="M." role="editor"/>
            <author initials="E." surname="Zwicky" role="editor"/>
            <date year="2015" month="March"/>
          </front>
          <seriesInfo name="RFC" value="7489"/>
        </reference>
        <reference anchor="RFC8484" target="https://www.rfc-editor.org/info/rfc8484">
          <front>
            <title>DNS Queries over HTTPS (DoH)</title>
            <author surname="Hoffman" initials="P."/>
            <author initials="P." surname="McManus"/>
            <date year="2018" month="October"/>
          </front>
          <seriesInfo name="RFC" value="8484"/>
        </reference>
        <reference anchor="RFC9334" target="https://www.rfc-editor.org/info/rfc9334">
          <front>
            <title>Remote ATtestation procedureS (RATS) Architecture</title>
            <author surname="Birkholz" initials="H."/>
            <author surname="Thaler" initials="D."/>
            <author surname="Richardson" initials="M."/>
            <author surname="Smith" initials="N."/>
            <author initials="W." surname="Pan"/>
            <date year="2023" month="January"/>
          </front>
          <seriesInfo name="RFC" value="9334"/>
        </reference>
        <reference anchor="RFC9711" target="https://www.rfc-editor.org/info/rfc9711">
          <front>
            <title>The Entity Attestation Token (EAT)</title>
            <author surname="Lundblade" initials="L."/>
            <author surname="Mandyam" initials="G."/>
            <author surname="O'Donoghue" initials="J."/>
            <author initials="C." surname="Wallace"/>
            <date year="2025" month="April"/>
          </front>
          <seriesInfo name="RFC" value="9711"/>
        </reference>
        <reference anchor="RFC9901" target="https://www.rfc-editor.org/info/rfc9901">
          <front>
            <title>Selective Disclosure for JWTs (SD-JWT)</title>
            <author surname="Fett" initials="D."/>
            <author surname="Yasuda" initials="K."/>
            <author initials="B." surname="Campbell"/>
            <date year="2025" month="November"/>
          </front>
          <seriesInfo name="RFC" value="9901"/>
        </reference>
        <reference anchor="VC-JOSE-COSE" target="https://www.w3.org/TR/vc-jose-cose/">
          <front>
            <title>Securing Verifiable Credentials using JOSE and COSE</title>
            <author>
              <organization>W3C</organization>
            </author>
            <date year="2026" month="October" day="13"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
        </reference>
        <reference anchor="VCDM2" target="https://www.w3.org/TR/vc-data-model-2.0/">
          <front>
            <title>Verifiable Credentials Data Model v2.0</title>
            <author>
              <organization>W3C</organization>
            </author>
            <date year="2025" month="May" day="15"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
        </reference>
        <reference anchor="X402" target="https://x402.org">
          <front>
            <title>x402: An HTTP-Native Payment Protocol</title>
            <author>
              <organization>Coinbase</organization>
            </author>
            <date year="2025"/>
          </front>
        </reference>
      </references>
    </references>
    <section anchor="acknowledgements">
      <name>Acknowledgements</name>
      <t>The authors thank Doc Searls for substantive review of earlier drafts, Ramy Nasr for the presentation-binding design that this version builds on, and the broader registrar and DNS community whose infrastructure makes this approach viable. The authors thank Kim Cameron, whose Laws of Identity <xref target="Cameron2005"/> informed the design of the credential layer defined in the companion specification.</t>
    </section>
    <section anchor="change-log">
      <name>Change Log</name>
      <section anchor="changes-01">
        <name>-01</name>
        <ul>
          <li>
            <t>Documented the authors' intention to conclude the IETF track and transition ongoing specification development to DIF.</t>
          </li>
          <li>
            <t>Restated the credential layer on W3C Verifiable Credentials secured as SD-JWT, with the IDSP identified by <tt>did:web</tt>; moved its normative text to the companion Groundmark Protocol specification. This document replaces both <tt>-core-00</tt> and <tt>-attestation-00</tt>; there is no <tt>-attestation-01</tt>.</t>
          </li>
          <li>
            <t>Retired the <tt>_agentclaim</tt> record in all forms and replaced it with the <tt>_idsp</tt> record, which names the agent's IDSP and nothing else. No claim is published in DNS. Withdrew the <tt>_agentclaim</tt> IANA request.</t>
          </li>
          <li>
            <t>Added presentation by reference: <tt>Groundmark-Claim</tt> as an RFC 9651 List Structured Field with required <tt>ref</tt> parameter, strict <tt>"groundmark-claim";sf</tt> signature coverage, the host check before any fetch, and <tt>Groundmark-Accept</tt> as a List Structured Field. Requested registration of both field names.</t>
          </li>
          <li>
            <t>Added an informative overview of credential verification and the four bindings between request, DNS and credential, replacing the signed <tt>endpoint_url</tt> binding.</t>
          </li>
          <li>
            <t>Clarified that core verification establishes current-key provenance, not legal identity, registrar identity proofing, brand authorization, or continuity across key changes.</t>
          </li>
          <li>
            <t>Defined Agent Key Thumbprint, Agent Identity Instance, and Identity Reset semantics for Level 0 security decisions.</t>
          </li>
          <li>
            <t>Added purpose-scoped <tt>_agentid</tt> keys, including simultaneous role-separated service keys, while preserving omitted-purpose compatibility for request-signing keys.</t>
          </li>
          <li>
            <t>Distinguished DNS publication withdrawal from authoritative signed credential revocation.</t>
          </li>
          <li>
            <t>Clarified key-custodian and hosted-agent semantics, including that DNS discovery without request-signature verification does not authenticate a caller.</t>
          </li>
          <li>
            <t>Added request profiles distinguishing read-only requests from state-changing or higher-risk operations that require nonce enforcement, with nonce delivery via <tt>Accept-Signature</tt>.</t>
          </li>
          <li>
            <t>Required atomic single-use nonce consumption at the final acceptance boundary, after configured cryptographic, DNSSEC, credential, status, and policy checks succeed.</t>
          </li>
          <li>
            <t>Strengthened the DNSSEC resolver profile, including authenticated resolver-channel requirements and fatal handling for insecure, bogus, indeterminate, timeout, transport, and validation-error results.</t>
          </li>
          <li>
            <t>Rewrote the privacy considerations around what DNS now discloses and what remains observable, including the IDSP's view of where its credentials go.</t>
          </li>
          <li>
            <t>Added security considerations for domain expiry, re-registration, registrar compromise, current-key provenance, operator assurance boundaries, re-hosted credentials, and IDSP host decommissioning.</t>
          </li>
          <li>
            <t>Added a terminology note on "attestation" with respect to RATS and EAT.</t>
          </li>
          <li>
            <t>Updated related work for Web Bot Auth, DNSid, DNS-AID, ANSv2, DAWN, and the DNS-anchored DID drafts.</t>
          </li>
        </ul>
      </section>
      <section anchor="changes-00">
        <name>-00</name>
        <ul>
          <li>
            <t>Initial submission.</t>
          </li>
          <li>
            <t>Split from prior draft draft-noss-groundmark-agent-identity-dns into a narrow core protocol document plus a companion attestation framework document.</t>
          </li>
          <li>
            <t>Replaced the bespoke Agent-Identity HTTP header with a profile of HTTP Message Signatures <xref target="RFC9421"/> including required coverage of @method, @authority, @target-uri, and Content-Digest <xref target="RFC9530"/> for requests with bodies.</t>
          </li>
          <li>
            <t>Added explicit Non-Goals section.</t>
          </li>
          <li>
            <t>Added Privacy Considerations and Operational Considerations sections.</t>
          </li>
          <li>
            <t>Added Related Work section.</t>
          </li>
          <li>
            <t>Specified key rotation procedure using a <tt>kid=</tt> parameter and the keyid signature parameter.</t>
          </li>
        </ul>
      </section>
    </section>
  </back>
</rfc>
