DANE Authentication for Network Clients Everywhere J. S. Wang Internet-Draft ACE Labs Intended status: Experimental 4 December 2026 Expires: 7 June 2027 ACE-GF Trust Chain: Hash-Based Key Commitment Anchors for DANE draft-wang-acegf-trust-chain-00 Abstract DANE binds a TLS server key to a domain name through a DNSSEC-signed TLSA record. DNSSEC itself still relies on classical signatures, so an attacker able to forge them, for example with a cryptographically relevant quantum computer, can publish a TLSA record for a key of its own. This document specifies a key commitment anchor: a Merkle tree, built with a hash function only, over the public keys a domain owner will use, including keys of algorithms it will switch to later. A client pins the tree root once. After that, the server proves each new key with an inclusion proof of a few hundred bytes, and the owner revokes keys or hands over to a new anchor with statements signed by a stateless hash-based signature (SLH-DSA) whose key is itself a leaf of the tree. Key rotation and algorithm migration then no longer depend on the security of DNSSEC at the time they happen. Anchors coexist with ordinary TLSA records and can be bound to a CA-issued certificate for the first pin. Discussion Venues This note is to be removed before publishing as an RFC. Source for this draft and an issue tracker can be found at https://github.com/acechain-io/key-anchors-ietf-draft. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." Wang Expires 7 June 2027 [Page 1] Internet-Draft ACE-GF Trust Chain December 2026 This Internet-Draft will expire on 7 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Relation to Other Work . . . . . . . . . . . . . . . . . 4 1.2. Applicability . . . . . . . . . . . . . . . . . . . . . . 4 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 4 3. The Commitment Tree . . . . . . . . . . . . . . . . . . . . . 5 3.1. Leaves . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2. Tree . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4. DNS Records . . . . . . . . . . . . . . . . . . . . . . . . . 6 4.1. Anchor Record . . . . . . . . . . . . . . . . . . . . . . 6 4.2. Proof Records . . . . . . . . . . . . . . . . . . . . . . 6 5. Statements . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.1. Format . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.2. Publication . . . . . . . . . . . . . . . . . . . . . . . 7 5.3. Meaning . . . . . . . . . . . . . . . . . . . . . . . . . 7 6. Client Processing . . . . . . . . . . . . . . . . . . . . . . 8 6.1. Pin . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 6.2. First Pin . . . . . . . . . . . . . . . . . . . . . . . . 8 6.3. Verifying a Key . . . . . . . . . . . . . . . . . . . . . 9 7. Coexistence with DANE . . . . . . . . . . . . . . . . . . . . 10 8. Security Considerations . . . . . . . . . . . . . . . . . . . 10 8.1. Strength . . . . . . . . . . . . . . . . . . . . . . . . 10 8.2. Classical Algorithms . . . . . . . . . . . . . . . . . . 10 8.3. Before the First Pin . . . . . . . . . . . . . . . . . . 10 8.4. Revocation Freshness . . . . . . . . . . . . . . . . . . 10 8.5. Pinning Risks . . . . . . . . . . . . . . . . . . . . . . 11 8.6. Unsigned Channels . . . . . . . . . . . . . . . . . . . . 11 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11 9.1. Key Anchor Algorithm Names . . . . . . . . . . . . . . . 11 10. Implementation Status . . . . . . . . . . . . . . . . . . . . 12 11. References . . . . . . . . . . . . . . . . . . . . . . . . . 12 Wang Expires 7 June 2027 [Page 2] Internet-Draft ACE-GF Trust Chain December 2026 11.1. Normative References . . . . . . . . . . . . . . . . . . 12 11.2. Informative References . . . . . . . . . . . . . . . . . 13 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 15 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 15 1. Introduction DANE [RFC6698] [RFC7671] lets a domain owner publish, in DNSSEC- signed TLSA records, which keys its servers use. Every change of key, and every change of signature algorithm, is a new TLSA record whose authenticity rests on DNSSEC at the time of the change. DNSSEC [RFC9364] today uses RSA and elliptic-curve signatures throughout the delegation chain. Post-quantum DNSSEC is being studied, but it has to be deployed in every zone from the root down before it protects a given name. An attacker who can forge DNSSEC signatures can publish a TLSA record for a key of its own and impersonate the server to any DANE client. This is true even when the server's own key is a post-quantum key such as ML-DSA [FIPS204]: the weak link is the record that names the key. This document lets a domain owner commit, ahead of time and with a hash function only, to the keys it will use. When the owner derives its keys deterministically from one secret, it can compute today the public keys it will use in the future, for several algorithms and several rotation steps, and commit to all of them in a Merkle tree [RFC9162]. ACE-GF [I-D.wang-acegf-protocol] is one such derivation: it derives keys of many algorithms, including SLH-DSA, from one sealed 256-bit root. This document does not depend on how the keys are derived. A client pins the 32-byte root once, while DNSSEC, or a certificate issued under the Web PKI, is still trustworthy. Afterwards a server key is accepted only with an inclusion proof to the pinned root. A forged TLSA record does not help an attacker, because it cannot produce an inclusion proof for its own key without a second preimage of the hash function. One leaf of the tree is an SLH-DSA [FIPS205] public key. Statements signed with it revoke committed keys, authorize keys outside the tree (for example of an algorithm that did not exist when the tree was built), and hand over to a new anchor. SLH-DSA is stateless, so restoring the owner's secret from a backup cannot lead to the reuse of one-time keys. Wang Expires 7 June 2027 [Page 3] Internet-Draft ACE-GF Trust Chain December 2026 1.1. Relation to Other Work TACK [TACK] let a site pin a signing key that endorsed its TLS keys. HTTP Public Key Pinning [RFC7469] let a site pin keys, including backup keys, in browsers, and was withdrawn from browsers because operators locked themselves out and attackers could pin their own keys. Both rest on classical signatures. This document differs in that the endorsement of routine keys is a hash-based commitment fixed in advance, the only signing key is a stateless hash-based one, and revocations are monotone in the client's pin. Section 8 discusses the pinning risks. Merkle Tree Certificates [I-D.ietf-plants-merkle-tree-certs] also use Merkle trees, to shrink post-quantum certificates issued by certification authorities to relying parties such as browsers, negotiated with Trust Anchor Identifiers [I-D.ietf-tls-trust-anchor-ids]. The two are complementary: Merkle Tree Certificates authenticate the CA's view of a name for clients that trust a root program, whereas a key commitment anchor lets the domain owner itself vouch for its future keys to clients that pinned it, without a third party at each rotation. 1.2. Applicability This mechanism is meant for clients that the owner of a name can expect to implement it: agents and services that authenticate each other across organizations, and DANE clients such as mail transfer agents. It is not proposed for general web browsers, for the reasons given in Section 8.5. 2. Conventions and Definitions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. Owner: The holder of the secret from which the committed keys are derived, who publishes the anchor. Context: A label, carried in the "domain" field of proof records that names the purpose of a key, for example "tls-server". Keys of different contexts are different keys. Statement key: The SLH-DSA-SHA2-128s key committed in the last leaf of the tree. Wang Expires 7 June 2027 [Page 4] Internet-Draft ACE-GF Trust Chain December 2026 Pin: What a client stores about an anchor (Section 6.1). BE8(n), BE16(n), BE32(n), BE64(n): The one-, two-, four- and eight- byte big-endian encodings of n. F(x): BE16 of the length of the octet string x, followed by x. Name: An algorithm name or a context: 1 to 255 octets of printable ASCII (0x21 to 0x7E) other than ";", "=", the quotation mark and the backslash. Names are compared octet by octet. A record, statement or pin that carries anything else MUST be rejected. 3. The Commitment Tree 3.1. Leaves Each committed key is one leaf. Its leaf hash is leaf = SHA-256(0x00 || "ACE-ANCHOR-LEAF-V1" || F(alg) || F(context) || BE64(index) || F(pk)) where alg is the name of the signature algorithm ("ML-DSA-44", "ML- DSA-65", "ML-DSA-87", "Ed25519", "P-256", or another name from Section 9.1), index distinguishes successive keys of the same algorithm and context, and pk is the raw public key: the value of the subjectPublicKey BIT STRING of the key's SubjectPublicKeyInfo [RFC5280], without the octet that counts unused bits. For P-256 this is the uncompressed point of 65 octets; "P-256" denotes ECDSA with SHA-256. The owner chooses which keys to commit. It SHOULD commit several indices per algorithm, so that routine rotation does not need a statement. The last leaf MUST be the statement key, with alg "SLH- DSA-SHA2-128s", the context of the tree, and index 0. The statement key MUST NOT be used for anything but statements. With ACE-GF [I-D.wang-acegf-protocol], the context is an ACE-GF Usage Domain name, and the statement key of the tree for Domain D is the SLH-DSA- SHA2-128s key of the Key Anchor Statements Domain (0x07) at Index D, so that it is never a key of Domain D itself. One tree serves one context. Several server names MAY publish the same anchor; the first pin (Section 6.2) is then taken per name. Wang Expires 7 June 2027 [Page 5] Internet-Draft ACE-GF Trust Chain December 2026 3.2. Tree The tree is the Merkle Tree Hash of RFC 9162, Section 2.1.1, over the leaf hashes in order, with interior nodes SHA-256(0x01 || left || right). The anchor is the pair (root, size), where size is the number of leaves. Inclusion proofs are generated and verified as in RFC 9162, Sections 2.1.3.1 and 2.1.3.2. A path has at most 16 hashes, so a tree has at most 2^16 leaves; clients MUST reject longer paths. RFC 9162 inclusion proofs do not bind the tree size: one path can verify against the same root for several sizes. This does not weaken the anchor, because each leaf hash binds its algorithm, context, index and key, and the client pins the size together with the root. 4. DNS Records 4.1. Anchor Record The anchor is published as a TXT record at the underscored name "_ace-anchor" below the server's name: _ace-anchor.example.com. IN TXT "v=ace-anchor1; h=sha256; size=321; root=<64 hex digits>" The fields are separated by "; ", each appears exactly once, no other field appears, and the record MUST be rejected otherwise; a later version of the record changes "v". Numbers are decimal without sign or leading zeros, and size MUST NOT be 0. Hexadecimal is written in lower case; clients accept either case. A name MAY have more than one anchor record, for example while a new anchor is being introduced. A client taking a first pin tries each of them; a client that holds a pin ignores the anchor records. 4.2. Proof Records Each key in use is published with its inclusion proof as a TXT record at "_ace-proof" below the server's name. More than one record exists while keys overlap during a rotation. _ace-proof.example.com. IN TXT "v=ace-proof1; alg=ML-DSA-65; domain=tls-server; index=0; leaf=64; " "path=" Wang Expires 7 June 2027 [Page 6] Internet-Draft ACE-GF Trust Chain December 2026 path is the concatenation of the proof's hashes. Records longer than 255 octets are split into several character-strings, which clients join in order. The authenticity of a proof comes from the hash function, not from DNSSEC; proofs MAY also be distributed by other means. 5. Statements 5.1. Format A statement is signed by the statement key over BE8(1) || root || BE64(size) || BE64(seq) || F(context) || BE16(n) || n * (F(alg) || BE64(min_index)) || BE16(m) || m * (F(alg) || BE64(index) || SHA-256(pk)) || BE8(0), or BE8(1) || root' || BE64(size') The three parts after the context are the revocations, the authorizations, and the optional next anchor; n and m are at most 1024, and alg and context are names. The statement key signs these bytes with the context string "ACE-ANCHOR-STMT-V1" and hedged signing, as defined in [FIPS205]. root and size name the anchor the statement belongs to, and seq is its sequence number. A statement file carries BE32 of the length of the signed bytes, the signed bytes, the statement key (32 octets), BE64 of its leaf index, BE8 of the number of path hashes, the path, and the 7856-octet signature. Statement files are self-delimiting. 5.2. Publication An owner publishes a statement bundle: the statement files it has signed, concatenated, oldest first, starting no later than the statement that handed over from the oldest anchor a client may still have pinned. The bundle is served at the well-known URI https:///.well-known/ace-anchor/statement [RFC8615]. Sequence numbers continue across hand-overs: the first statement of a new anchor carries a larger seq than the statement that handed over to it. An owner MUST NOT sign two different statements with the same seq. 5.3. Meaning * A revocation (alg, min_index) refuses every key of that algorithm with a smaller index, whether proved in the tree or authorized. Wang Expires 7 June 2027 [Page 7] Internet-Draft ACE-GF Trust Chain December 2026 * An authorization admits one key outside the tree. Authorizations hold only while the statement that grants them is the latest one. * A next anchor hands over to another tree. Revocations carry over to it. A statement applies only to keys of its context. An owner MUST repeat in every statement all revocations it has issued under the anchor and its predecessors. It MUST NOT sign a revocation for an algorithm name that is not committed in the tree, authorized in the same statement, or authorized or revoked in the previous statement, since names are compared exactly and a misspelt name would revoke nothing. 6. Client Processing 6.1. Pin A client keeps, per name, a pin: the anchor it trusts, the highest statement sequence number it has accepted, the SHA-256 of the signed bytes of the statement accepted with it, and per algorithm the lowest index still valid. The lowest valid indices never decrease. Signing is randomized, so the digest covers the signed bytes rather than the statement file. A client stores its pin so that an interrupted write cannot leave a shorter pin that it would accept. A client MUST NOT replace a pinned anchor with one from an anchor record, whatever the record's authentication: the pinned anchor changes only through a hand-over statement. Pins do not expire by themselves, since a pin that expired could be replaced by whoever controls the name at that moment; a pin is removed only by the user or operator of the client. 6.2. First Pin A client takes a first pin from the anchor record when it can authenticate that record. Two ways are defined: 1. The record is validated with DNSSEC. 2. A certificate that the client accepts for the server name under its Web PKI trust anchors, following [RFC9525], also contains the DNS name