Network Working Group M. Matsuda Internet-Draft Independent Intended status: Experimental 1 December 2026 Expires: 4 June 2027 Mutual Consent Email Protocol (MCEP): Sender Authentication and Strict Rejection draft-matsuda-mcep-00 Abstract Traditional email infrastructure follows an open-by-default model in which any sender can transmit messages to any known recipient address without the recipient's prior consent. Domain-level authentication mechanisms such as SPF, DKIM, and DMARC establish which domain a message comes from, but not whether the recipient agreed to receive it. Attackers therefore exploit leaked addresses and lookalike domains, while probabilistic spam filters either deliver phishing messages or silently quarantine legitimate transactional notifications. This document specifies the Mutual Consent Email Protocol (MCEP), a consent-bound email authentication framework built on 1-to-1 Pairwise Bindings established by explicit recipient approval. Each message to a protected address carries a signature that the receiving mail service provider verifies against that binding. For addresses of the "strict" class, a message without a valid signature is rejected during the SMTP transaction (SMTP 550) rather than quarantined; other classes follow recipient policy. MCEP complements SPF, DKIM, and DMARC, relies on existing mechanisms for keys and transport security without defining a new certificate format, and mitigates phishing and spoofing even when a recipient address has leaked. 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." Matsuda Expires 4 June 2027 [Page 1] Internet-Draft MCEP December 2026 This Internet-Draft will expire on 4 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. Terminology and Requirements Language . . . . . . . . . . 4 1.2. Problem Statement . . . . . . . . . . . . . . . . . . . . 6 1.3. Relationship to Other Work . . . . . . . . . . . . . . . 7 2. Protocol Architecture, Policy Model, and Address Classes . . 9 3. Discovery, Onboarding, Fallback, and Migration . . . . . . . 11 3.1. Endpoint Discovery . . . . . . . . . . . . . . . . . . . 11 3.2. Authenticated Registration Handshake . . . . . . . . . . 17 3.3. Fallback for Domains Not Capable of MCEP . . . . . . . . 20 3.4. Peer-to-Peer Onboarding and First-Contact Policies . . . 21 3.5. Domain and Key Migration . . . . . . . . . . . . . . . . 24 3.6. Out-of-Band Control Plane Request Signing . . . . . . . . 27 4. Message Transmission, Verification Pipeline, and Error Handling . . . . . . . . . . . . . . . . . . . . . . . . 28 4.1. Inbound Verification Order . . . . . . . . . . . . . . . 28 4.2. Retries, Multiple Recipients, and Bounces . . . . . . . . 31 4.3. Intermediaries, Forwarding, and Delegated Senders . . . . 32 4.4. Response Uniformity and Transient Failures . . . . . . . 33 4.5. Monitoring Mode . . . . . . . . . . . . . . . . . . . . . 33 4.6. Handling of Unverified Messages . . . . . . . . . . . . . 34 5. Header Field Definitions and Cryptographic Algorithms . . . . 34 5.1. Supported Cryptographic Algorithms . . . . . . . . . . . 35 5.2. MCEP-Signature . . . . . . . . . . . . . . . . . . . . . 36 5.2.1. Syntax . . . . . . . . . . . . . . . . . . . . . . . 36 5.2.2. Identifiers . . . . . . . . . . . . . . . . . . . . . 36 5.2.3. Signed Data . . . . . . . . . . . . . . . . . . . . . 37 5.2.4. Address Normalization . . . . . . . . . . . . . . . . 38 5.3. MCEP-Key-Update . . . . . . . . . . . . . . . . . . . . . 38 5.4. MCEP-Revocation . . . . . . . . . . . . . . . . . . . . . 40 6. Keys, Lifecycle States . . . . . . . . . . . . . . . . . . . 42 Matsuda Expires 4 June 2027 [Page 2] Internet-Draft MCEP December 2026 6.1. Key Permissions Advertisement and Enforcement . . . . . . 42 6.2. Key States and Pre-Registration Rollover . . . . . . . . 43 6.3. Binding Dormancy and Resumption . . . . . . . . . . . . . 44 7. Privacy Considerations . . . . . . . . . . . . . . . . . . . 44 8. Consent Scopes and Irreversible Revocation . . . . . . . . . 44 9. Security Considerations . . . . . . . . . . . . . . . . . . . 47 10. Operational Considerations . . . . . . . . . . . . . . . . . 50 10.1. Deployment and Fail-Safe Configuration . . . . . . . . . 50 10.2. Consent Initiation and Binding Establishment Flows . . . 52 10.3. Long-Term Coexistence and Transition Strategy . . . . . 53 10.4. Local Sender Allowlist Management . . . . . . . . . . . 54 11. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 55 11.1. Message Header Field Registrations . . . . . . . . . . . 55 11.2. Underscored DNS Node Name Registration . . . . . . . . . 56 11.3. Well-Known URI Registration . . . . . . . . . . . . . . 56 12. References . . . . . . . . . . . . . . . . . . . . . . . . . 56 12.1. Normative References . . . . . . . . . . . . . . . . . . 56 12.2. Informative References . . . . . . . . . . . . . . . . . 58 Appendix A. Example Discovery Configuration Document . . . . . . 60 Appendix B. Example Out-of-Band HTTPS Control Plane Payloads . . 60 B.1. Registration Request and Response (registration_uri) . . 61 B.2. Key Rotation Request and Response (key_rotate_uri) . . . 62 B.3. Revocation Request, Response, and Callback Notification (revocation_uri) . . . . . . . . . . . . . . . . . . . . 63 B.4. Domain and Address Migration Requests and Responses (migration_uri) . . . . . . . . . . . . . . . . . . . . . 64 Appendix C. Canonical Input String Construction Example . . . . 65 Appendix D. Verification Test Vectors . . . . . . . . . . . . . 66 D.1. Vector 1: Ed25519 Standard Message . . . . . . . . . . . 66 D.2. Vector 2: ES256 (P-256) IEEE P1363 Low-S Normalization . 67 Appendix E. Open Issues (to be removed before publication) . . . 67 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 70 1. Introduction Legacy email follows an opportunistic reachability model based on the Simple Mail Transfer Protocol (SMTP) [RFC5321]: once a recipient address is exposed - such as in a data breach - any sender can transmit to it. Existing authentication extensions - SPF [RFC7208], DKIM [RFC6376], and DMARC [RFC9989] - verify domain alignment but do not establish whether the recipient has consented to receive messages from a specific sender, nor do they bind a specific sender-recipient relationship to dedicated cryptographic keys. Consequently, attackers can still exploit leaked addresses and lookalike domains to evade detection, leaving recipients to rely on heuristic content filtering that may either pass crafted phishing messages or silently quarantine critical notifications. Matsuda Expires 4 June 2027 [Page 3] Internet-Draft MCEP December 2026 MCEP shifts email security to an explicit-consent architecture over HTTPS and SMTP without requiring a central ledger. The protocol is symmetric: every MCEP-capable Mail Service Provider (MSP) publishes its configuration in the same manner whether acting as a sender or a receiver, establishing explicit cryptographic boundaries: * *1-to-1 Pairwise Bindings:* A sender and a recipient establish a unique, per-relationship set of keys and a Consent ID ("cid") through a registration handshake that the recipient approves explicitly. * *Deterministic SMTP Rejection:* Where required by recipient policy (such as Strict Reject mode or messages claiming a registered sender identity), inbound Mail Transfer Agents (MTAs) verify per- message cryptographic signatures and reject unverified messages at the SMTP protocol layer (SMTP 550) rather than accepting and quarantining them. * *Explicit Scope and Scope Separation:* MCEP focuses strictly on sender authentication, explicit recipient consent, replay protection, and deterministic rejection. End-to-end payload encryption is out of scope for this specification; transport confidentiality is delegated to TLS 1.3 [RFC9846], SMTP STARTTLS [RFC3207], and MTA-STS [RFC8461]. This version favors simplicity. Features beyond the minimum needed to bind messages to a consent relationship, to reject unverified messages, and to bound replay are intentionally left out and can be added in later versions. Internationalized email addresses are out of scope in this version. Throughout this document, "consent" is used as a specific technical term defined in Section 1.1. 1.1. Terminology and Requirements Language 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. Mail Service Provider (MSP): The inbound or outbound email provider or MTA operating on behalf of a domain. Forwarder: An MTA or MSP that receives a message for a recipient Matsuda Expires 4 June 2027 [Page 4] Internet-Draft MCEP December 2026 address and, instead of delivering it to a local mailbox, automatically re-sends it to a different address in a new SMTP transaction. The term is used as in DKIM2 [I-D.ietf-dkim-dkim2-spec]. Mailing list managers are treated separately (see Section 4.3). Initiator: The party (typically the requesting peer or its MSP/MUA) that initiates a Pairwise Binding registration handshake or an out-of-band key rotation, migration, or revocation request. Responder: The party (typically the receiving peer or its MSP/MUA) that receives, validates, and approves or processes a registration handshake or out-of-band control-plane request. Consent: In the context of MCEP, an explicit technical authorization by a recipient (or by its MSP or MUA on the recipient's behalf) that enables a Pairwise Binding with a specific sender. MCEP consent determines whether mail is accepted or rejected at the transport layer. It is not a record of legal or regulatory consent (for example, opt-in evidence for marketing communications), and MCEP does not provide such evidence. Consent ID ("cid"): A lowercase UUID [RFC9562] identifying a single 1-to-1 relationship between one recipient address and one sender. It is fixed at registration and never changes. Pairwise Binding: A cryptographically bound 1-to-1 relationship between a specific sender and a specific recipient, identified by a Consent ID ("cid"). Referred to simply as a "binding" throughout the remainder of this document. Root Identity Key (Tier 1): A long-term asymmetric key pair held by an organizational sender (typically in an HSM) used solely to authorize Delegated or Operational Keys, sign key updates, and issue revocations. Delegated Key (Tier 2, optional): An optional intermediate key pair delegated by the Root Identity Key in the domain's discovery configuration, authorized to perform delegated administrative operations such as binding registration ("register"), Operational Key rotation ("rotate"), and revocation ("revoke"). Operational Key (Tier 3): A short-term asymmetric key pair, identified by "kid", used by a sender to sign individual outbound messages. Message ID (mid): A lowercase UUID generated once per message and unchanged across all retransmissions of that message. Matsuda Expires 4 June 2027 [Page 5] Internet-Draft MCEP December 2026 Dormant: The state of a binding that has seen no verified traffic for a configured inactivity period. It is not a revocation (Section 6.3). Strict Reject: The inbound enforcement behavior (governed by flag 0x02) that rejects messages lacking a valid binding during the SMTP transaction (SMTP 550) rather than accepting or quarantining them. Selective Reject: The inbound enforcement behavior (governed by flag 0x01) that rejects unsigned or invalidly signed messages claiming to originate from a sender with an active binding during the SMTP transaction (SMTP 550). 1.2. Problem Statement SPF [RFC7208], DKIM [RFC6376], and DMARC [RFC9989] authenticate the domain of a message. They do not allow a recipient to express which senders the recipient has agreed to receive mail from. A message from an attacker-controlled lookalike domain, or from a sender the recipient has never interacted with, passes all three if the attacker configures that domain correctly. MCEP additionally authenticates the consent relationship between a specific recipient address and a specific sender, and is intended to be used together with SPF, DKIM, and DMARC. Table 1 compares outcomes. "Pass" means the message passes or is not stopped by the mechanism; "None" or "Fail" means the authentication check finds no valid signature or fails alignment (leaving rejection decisions to DMARC or local policy); and "Reject" means the message is rejected or detected. The MCEP column assumes Strict Reject (Section 4.6). Matsuda Expires 4 June 2027 [Page 6] Internet-Draft MCEP December 2026 +===+=======================+======+========+==========+===========+ | # | Scenario | SPF | DKIM | DMARC | MCEP | +===+=======================+======+========+==========+===========+ | 1 | Simple spoofing of a | Fail | None / | Reject | Reject | | | domain's From address | | Fail | (note 1) | | +---+-----------------------+------+--------+----------+-----------+ | 2 | Attacker-registered | Pass | Pass | Pass | Reject | | | lookalike domain | | | | | +---+-----------------------+------+--------+----------+-----------+ | 3 | Message to a leaked | Pass | Pass | Pass | Reject | | | address from a third | | | | | | | party | | | | | +---+-----------------------+------+--------+----------+-----------+ | 4 | Non-MCEP sender to a | Pass | Pass | Pass | Reject | | | protected address | | | | | +---+-----------------------+------+--------+----------+-----------+ | 5 | Compromise of a | Pass | Pass | Pass | Pass | | | registered sender's | | | | (note 2) | | | Operational Key | | | | | +---+-----------------------+------+--------+----------+-----------+ | 6 | Compromise of the | - | - | - | Not | | | recipient's MSP | | | | mitigated | | | | | | | (note 3) | +---+-----------------------+------+--------+----------+-----------+ Table 1: Outcome of Attack Scenarios Note 1: Only if the sender's domain publishes a policy of "reject" or "quarantine". Note 2: Scoped keys, short validity periods, and revocation (Section 8) limit the impact, but messages signed with the key are accepted until it is revoked or expires. Note 3: An MSP that holds keys for a recipient can use them. In monitoring mode (Section 4.5), "Reject" means "recorded and delivered". MCEP does not protect against compromise of a registered sender's signing infrastructure before revocation, against a recipient who approves a fraudulent registration, or against compromise of the recipient's MSP. 1.3. Relationship to Other Work This section positions MCEP relative to related work known to the author at the time of writing. The Internet-Drafts cited here are works in progress and may change or expire. Matsuda Expires 4 June 2027 [Page 7] Internet-Draft MCEP December 2026 DKIM2 and ARC DKIM2 [I-D.ietf-dkim-dkim2-spec] extends domain-based signatures to record how intermediaries handle and modify a message, to detect replay, and to limit Delivery Status Notifications to entities involved in the transmission of a message. ARC [RFC8617] is an experimental protocol that preserves authentication results across forwarding and whose operational experience informed DKIM2. Both address properties of the domain and the message path. MCEP instead authenticates a recipient-approved relationship between a sender and a recipient and rejects non-conforming mail during the SMTP transaction. The mechanisms are complementary; MCEP's handling of forwarding and bounces (see Section 4.2, Section 4.3, and Appendix E) can build on them as they stabilize. XCIM XCIM [I-D.saez-xcim] defines portable evidence, attested by a trusted third party and anchored on a blockchain, that a recipient consented to receive defined types of communication from an identified sender, independently of individual messages. Consent in MCEP is narrower (see Section 1.1): a bilateral technical authorization between providers, enforced for every message, that requires no third party and provides no legal evidence. An XCIM result could serve as one input to a recipient's decision to approve an MCEP registration; this document does not define such an integration. VEIF and EVP VEIF [I-D.uimonen-veif] binds messages to a sender identity verified by an identity provider, for accountability. It does not require binding a message to a particular recipient and leaves replay detection optional. EVP [I-D.hardt-email-verification] lets a browser prove control of an email address to a web application and can issue per-site private addresses, which address leaked addresses at the address level. MCEP leaves the recipient's address unchanged and restricts which senders may use it. Neither VEIF nor EVP establishes a recipient-approved relationship. Matsuda Expires 4 June 2027 [Page 8] Internet-Draft MCEP December 2026 CURE CURE [I-D.cure-core] describes a way for a recipient domain to issue an opaque HMAC-based token after a recipient action such as a reply; senders present the token in a header field, and SMTP responses are designed not to reveal the recipient's consent state. It focuses on recipient-side acceptance signaling. MCEP addresses a related but different aspect: it ties each message to an explicitly approved 1-to-1 relationship through per-message asymmetric signatures and replay protection and, for addresses in a Strict Reject mode, rejects non-conforming mail during the SMTP transaction. These approaches are not necessarily mutually exclusive. 2. Protocol Architecture, Policy Model, and Address Classes MCEP operates across two planes: an out-of-band HTTPS control plane for endpoint discovery, registration, key rotation, and revocation, and an in-band SMTP data plane carrying cryptographic headers verified by the inbound MTA (e.g., via Milter). As an illustrative reference model, recipient enforcement policies can be represented internally as a 32-bit unsigned bitmask (uint32_t) composed of individual behavioral flags (implementations MAY use any equivalent internal representation): The enforcement mode and handling of unverified messages are configured per recipient address by the mailbox owner (within the modes offered by their MSP). * *0x01 (MCEP_FLAG_PROTECT_REGISTERED):* Requires explicit recipient approval for new bindings (unless pre-authorized in the local Sender Allowlist) and rejects unsigned or invalidly signed messages claiming to originate from a sender that already holds an active binding with the recipient (Selective Reject). * *0x02 (MCEP_FLAG_REJECT_UNREGISTERED):* Rejects messages from any sender lacking a valid binding. * *0x04 (MCEP_FLAG_ALLOWLIST_BYPASS):* Permits delivery from non- MCEP senders explicitly pre-authorized in the recipient's local Sender Allowlist (Section 10.4), including aligned SPF/DKIM senders and single-address legacy overrides, when 0x02 is active. * *0x08 (Reserved for Future Extension):* Reserved for future protocol extensions. Implementations of this version MUST treat this bit as unset (0). Matsuda Expires 4 June 2027 [Page 9] Internet-Draft MCEP December 2026 * *0x10 (MCEP_FLAG_MONITOR_ONLY - OPTIONAL):* Dry-run / debug modifier flag. When combined with an enforcement mode, the MTA evaluates all policy rules and logs would-be rejections for operational debugging without issuing SMTP 550 rejections. Combining these flags defines the logical address classes and operational modes: * *0x00 (MCEP_MODE_PUBLIC / "public" class):* Open public-facing addresses (e.g., general support desks) with no restriction flags set. MCEP-capable senders may be auto-registered subject to rate limits, signature checks are executed if an "MCEP-Signature" header is present, and unverified messages from non-MCEP senders are accepted. * *0x01 (MCEP_MODE_BASIC / "basic" class - Default):* Protects bound senders via Selective Reject and requires explicit recipient approval for new bindings, while accepting and marking unverified messages from unregistered senders (Section 4.6). * *0x02 (MCEP_MODE_PUBLIC_STRICT / "public-strict" mode):* MCEP-only open gateway mode. Like "public" (0x00), MCEP-capable senders may be auto-registered subject to rate limits, but messages from unregistered or non-MCEP senders are rejected (SMTP 550). * *0x03 (0x01 | 0x02 / MCEP_MODE_STRICT / "strict" class):* The target strict enforcement mode for high-security addresses, requiring explicit approval for new bindings and rejecting all messages lacking a valid binding with no fallback to unprotected delivery, no non-MCEP allowlist bypass, and no automatic sender domain migration. * *0x06 (0x02 | 0x04 / MCEP_MODE_PUBLIC_GUARDED / "public-guarded" mode):* Allowlist-assisted MCEP-only public mode, allowing auto- registration for MCEP-capable senders while restricting non-MCEP delivery strictly to senders in the local Sender Allowlist. * *0x07 (0x01 | 0x02 | 0x04 / MCEP_MODE_GUARDED / "guarded" mode):* Long-term practical protection mode for individual and organizational addresses, requiring explicit approval for new bindings and rejecting unregistered senders by default while permitting non-MCEP senders pre-authorized in the local Sender Allowlist. Each valid enforcement mode above (*0x00*, *0x01*, *0x02*, *0x03*, *0x06*, and *0x07*) MAY additionally be combined with *0x10* (MCEP_FLAG_MONITOR_ONLY, yielding 0x10, 0x11, 0x12, 0x13, 0x16, or 0x17). Because 0x04 (MCEP_FLAG_ALLOWLIST_BYPASS) has no additional Matsuda Expires 4 June 2027 [Page 10] Internet-Draft MCEP December 2026 effect unless 0x02 is set, implementations encountering redundant combinations (0x04, 0x05, 0x14, or 0x15) MUST either reject them as configuration errors or log a warning and treat them as equivalent to 0x00, 0x01, 0x10, and 0x11, respectively. 3. Discovery, Onboarding, Fallback, and Migration 3.1. Endpoint Discovery An MSP supporting MCEP MUST publish a JSON configuration document (media type "application/json") at the well-known HTTPS URI [RFC8615]: https://example.com/.well-known/mcep-configuration In addition, the domain SHOULD publish a DNS TXT record at "_mcep." advertising the protocol version, the SHA-256 fingerprint of the configuration document, and (if configured) the SHA-256 fingerprint of its Root Identity Key. DNSSEC is RECOMMENDED. When a DNS TXT record is present, the retrieving client MUST verify that the retrieved configuration document matches the advertised fingerprints. If the computed SHA-256 digest of the retrieved JSON document or "root_public_key" does not match the advertised "cfg" or "rk" value (which can occur transiently due to DNS TTL caching skew during configuration updates), the client MUST reject the mismatched document, MUST treat the event as a transient retrieval failure (retaining any previously cached configuration until refreshed), and MUST NOT treat the domain as non-capable of MCEP. When published, the "_mcep." DNS TXT record consists of semicolon-separated "tag=value" pairs (whitespace around semicolons ignored): * *v=MCEP1* (REQUIRED): Protocol version identifier (MUST appear first). * *cfg=* (REQUIRED): Lowercase hexadecimal SHA-256 digest of the exact UTF-8 byte sequence of the published JSON configuration document. * *rk=* (OPTIONAL): Lowercase hexadecimal SHA-256 digest of the raw public key bytes of "root_public_key" (present when "root_public_key" is configured). The JSON configuration object defines the fields listed in Table 2: Matsuda Expires 4 June 2027 [Page 11] Internet-Draft MCEP December 2026 +========================+===========+=======+======================+ | Field |Requirement|Type | Description | +========================+===========+=======+======================+ | version |REQUIRED |Integer| Protocol version | | | | | number (1). | +------------------------+-----------+-------+----------------------+ | issuer |REQUIRED |String | Authoritative HTTPS | | | |(URI) | origin URI | | | | | ("https://" | | | | | with no trailing | | | | | slash, query, or | | | | | fragment). | +------------------------+-----------+-------+----------------------+ | registration_uri |REQUIRED |String | HTTPS endpoint URI | | | |(URI) | for binding | | | | | registration | | | | | (Section 3.2). | +------------------------+-----------+-------+----------------------+ | key_rotate_uri |REQUIRED |String | HTTPS endpoint URI | | | |(URI) | for out-of-band | | | | | Operational Key | | | | | rotation | | | | | (Section 6.2). | +------------------------+-----------+-------+----------------------+ | revocation_uri |REQUIRED |String | HTTPS endpoint URI | | | |(URI) | for revocation | | | | | requests and | | | | | notifications | | | | | (Section 8). | +------------------------+-----------+-------+----------------------+ | supported_algorithms |REQUIRED |Array | Non-empty list of | | | |of | supported signature | | | |Strings| algorithm | | | | | identifiers (e.g., | | | | | ["ed25519", | | | | | "es256"]). | +------------------------+-----------+-------+----------------------+ | max_age |REQUIRED |Integer| Maximum cache | | | | | lifetime in seconds | | | | | for the | | | | | configuration | | | | | document. | +------------------------+-----------+-------+----------------------+ | root_public_key |OPTIONAL |Object | Organizational Tier | | | | | 1 Root Identity Key | | | | | object (REQUIRED | | | | | whenever | | | | | "delegated_keys" is | Matsuda Expires 4 June 2027 [Page 12] Internet-Draft MCEP December 2026 | | | | present). | +------------------------+-----------+-------+----------------------+ | delegated_keys |OPTIONAL |Array | Tier 2 Delegated | | | |of | Key objects | | | |Objects| authorized under | | | | | "root_public_key" | | | | | (see rules below). | +------------------------+-----------+-------+----------------------+ | delegated_keys_max_age |OPTIONAL |Integer| Maximum cache | | | | | lifetime in seconds | | | | | for | | | | | "delegated_keys" | | | | | (REQUIRED whenever | | | | | "delegated_keys" is | | | | | non-empty; MUST NOT | | | | | exceed "max_age"; | | | | | defaults to | | | | | "max_age" if | | | | | omitted when | | | | | "delegated_keys" is | | | | | absent or empty). | +------------------------+-----------+-------+----------------------+ | classes |OPTIONAL |Array | Supported recipient | | | |of | address class | | | |Strings| names. | +------------------------+-----------+-------+----------------------+ | migration_uri |OPTIONAL |String | HTTPS endpoint URI | | | |(URI) | for domain and key | | | | | migration requests | | | | | (Section 3.5). | +------------------------+-----------+-------+----------------------+ | declaration_uri |OPTIONAL |String | HTTPS URI for | | | |(URI) | publishing signed | | | | | domain migration | | | | | declarations | | | | | (Section 3.5). | +------------------------+-----------+-------+----------------------+ Table 2: MCEP Discovery Configuration JSON Fields Whenever "delegated_keys" is present, every entry in the array MUST satisfy all of the following rules: * *Reserved Identifier Exclusion:* Its "kid" MUST NOT be the reserved identifier "root". Matsuda Expires 4 June 2027 [Page 13] Internet-Draft MCEP December 2026 * *Bounded Validity Period:* It SHOULD carry a bounded validity period ("exp - nb", e.g., at most 30 days) so compromised keys expire automatically even if all revocation signals are lost. * *Root Signature Verification:* It MUST include a "root_sig" field computed by the Root Identity Key over that entry using the canonical JSON encoding defined in Section 3.6 with domain- separation label "MCEP-DelegateKey-v1". Receivers MUST reject or ignore any Delegated Key lacking a valid "root_sig" or using the reserved "kid" value "root". Additionally, the "issuer" value MUST exactly match the HTTPS origin from which the configuration document was retrieved; otherwise, the client MUST reject the configuration to prevent issuer mix-up attacks. *Delegated Key (Tier 2) Caching, Asynchronous Refresh, and Revocation:* Receivers MUST NOT perform network retrieval while processing an in-band MCEP header. In-band and out-of-band Tier 2 authorizations are evaluated against a cached discovery configuration whose age - measured as elapsed time since the configuration was successfully retrieved and verified - does not exceed min(delegated_keys_max_age, 24 hours) (86400 seconds), enforcing a strict receiver-local per-domain minimum refresh interval (e.g., 60 seconds) and all transport security, timeout, size, and SSRF IP re- validation protections specified below. To prevent infinite SMTP 451 retry loops on unknown or removed keys across multi-minute MTA queue intervals, receivers MUST maintain a per-(domain, signer_kid) negative cache entry with a TTL of min(delegated_keys_max_age, 1 hour) (3600 seconds, using "max_age" when "delegated_keys_max_age" is omitted) whenever a completed discovery refresh still omits the referenced signer_kid (and MUST clear any matching negative entry if a subsequent refresh observes that signer_kid). To prevent memory exhaustion from random signer_kid floods, receivers SHOULD enforce bounded per-domain and global capacity limits on negative cache entries (e.g., at most 64 entries per domain and a bounded total cache size with LRU eviction). Table 3 summarizes the required behavior across cache states: Matsuda Expires 4 June 2027 [Page 14] Internet-Draft MCEP December 2026 +=============+============================+========================+ | Cache State | In-Band (SMTP) | Out-of-Band (HTTPS | | | | API) | +=============+============================+========================+ | Fresh | Proceed to signature, nb/ | Proceed to signature, | | cache, | exp, and permission checks | nb/exp, and | | signer_kid | | permission checks | | present | | | +-------------+----------------------------+------------------------+ | Negative | Reject immediately with | Reject request | | cache hit | uniform SMTP 550 | immediately (HTTP | | for | (Section 4.4) | 400/403) | | (domain, | | | | signer_kid) | | | +-------------+----------------------------+------------------------+ | Fresh | Enqueue async refresh | Perform live | | cache, | (respecting the per-domain | discovery retrieval | | signer_kid | minimum refresh interval) | (respecting the per- | | absent (no | and return SMTP 451 4.3.0; | domain minimum | | negative | record negative cache | refresh interval), | | cache | entry if kid remains | record negative entry | | entry) | absent after refresh | if still absent, and | | | | reject (HTTP 400/403) | +-------------+----------------------------+------------------------+ | No fresh | Return SMTP 451 4.3.0 and | Perform live | | cache | enqueue async refresh | discovery retrieval | | (missing or | | and re-evaluate | | age > | | | | effective | | | | max age) | | | +-------------+----------------------------+------------------------+ | Discovery | Keep existing cache and | Keep existing cache | | retrieval | skip negative caching; | and skip negative | | fails or | continue returning SMTP | caching; return HTTP | | times out | 451 4.3.0 until refresh | 503 | | (async or | succeeds | | | live) | | | +-------------+----------------------------+------------------------+ Table 3: Tier 2 Delegated Key Cache Evaluation Rules Receivers SHOULD also trigger a proactive asynchronous refresh once half of the effective cache lifetime has elapsed, and senders introducing a new Delegated Key SHOULD publish it at least delegated_keys_max_age seconds (plus DNS TTL) prior to in-band use when avoiding an initial SMTP 451 deferral is desired. When a successfully retrieved and verified discovery document omits a previously cached "kid", that key is immediately unauthorized for Matsuda Expires 4 June 2027 [Page 15] Internet-Draft MCEP December 2026 subsequent operations without permanently blacklisting the "kid" unless an explicit Root-signed POST /mcep/revoke with "target": "delegated_kid" is received (Section 8). In-band headers signed directly by the Tier 1 Root Identity Key (signer_kid=root) are verified against the binding's locally pinned "root_public_key" without consulting the discovery cache and are therefore unaffected by discovery cache expiry or SMTP 451 deferrals. *Capability Pinning and Per-Binding Root Key Mismatch Handling:* After successful retrieval and verification, an MSP MUST cache and consider the domain MCEP-capable for at least "max_age" seconds. A subsequent failure to retrieve the document - including an HTTP 404 response or a missing DNS record - MUST NOT be treated as evidence that the domain is non-capable, and MUST be handled as a transient failure. Root Identity Key pinning is maintained strictly per binding (keyed by "cid"): routine background refreshes of the discovery document MUST NOT overwrite any binding's locally pinned "root_public_key", and a change to a binding's pinned "root_public_key" takes effect only upon explicit confirmation via an authenticated domain migration (Section 3.5) or a dual-signed planned Root Identity Key rotation (Section 3.5) for that binding whose live discovery document matches the newly rotated key. Whenever a retrieved discovery document's "root_public_key" differs from a specific binding's locally pinned "root_public_key", receivers MUST continue to anchor trust for that binding exclusively on its own locally pinned "root_public_key": any Delegated Key entry in "delegated_keys" whose "root_sig" does not verify against that binding's locally pinned "root_public_key" MUST be treated as unauthorized for operations on that binding. Similarly, when evaluating a new registration request (Section 3.2), if any existing active or dormant binding for that sender domain holds a pinned "root_public_key" that differs from the "root_public_key" presented in the new request (or in the domain's discovery document), the receiver MUST NOT auto-approve the new registration, instead requiring explicit recipient confirmation or rejection per Section 8. In multi-tenant or virtual-hosted environments serving multiple domains on shared infrastructure, the MSP SHOULD dynamically generate the "mcep-configuration" response based on the requested HTTP Host header, ensuring each hosted domain advertises its own tenant- isolated issuer and endpoints. *Transport Security and SSRF Protections:* When retrieving the configuration document or making any out-of-band HTTPS control plane request, a client MUST enforce the following rules: Matsuda Expires 4 June 2027 [Page 16] Internet-Draft MCEP December 2026 * *TLS Version and Certificate Validation:* Use HTTPS over TLS 1.3 or higher [RFC9846] with strict X.509 certificate chain and hostname validation; plaintext HTTP MUST NOT be used. * *No HTTP Redirects:* HTTP redirects (3xx responses) MUST NOT be followed; any redirect response MUST be rejected as a fetch failure. * *Strict Timeout and Response Size Limits:* Enforce bounded connection and read timeouts (e.g., 5 to 10 seconds) and reject response bodies exceeding a strict maximum size limit (e.g., 64 KiB) to prevent resource exhaustion. * *Loopback, Link-Local, and Private IP Rejection (SSRF Prevention):* Resolve target hostnames prior to connection and MUST reject any connection resolving to loopback, link-local, multicast, reserved, or private IPv4/IPv6 address ranges (including [RFC1918] and [RFC4193] ranges), re-validating the connected peer IP address to prevent DNS rebinding attacks. 3.2. Authenticated Registration Handshake All binding registrations MUST be conducted over the out-of-band HTTPS control plane ("registration_uri"); senders MUST NOT initiate or negotiate a binding in-band over SMTP headers or message payloads. A sender that requires registration as a condition of a contract SHOULD request it within an authenticated session of the contracting party, and SHOULD NOT request it by email. In every case, the recipient MUST approve the registration explicitly through an authenticated operation under the control of the receiving MSP or the recipient's MUA. Approval MUST NOT be possible via a link in an email alone, and the MSP MUST NOT deliver approval prompts to the protected address itself; pending requests SHOULD be surfaced through an MSP-controlled management interface or authenticated client notification. Where automatic approval is permitted (such as via a public-facing address class, a pre-authorized Sender Allowlist entry, or a recipient-issued invitation token), such auto-approval MUST be treated normatively as the execution of explicit prior consent pre- configured by the recipient for that address or relationship, and MUST NOT bypass the cryptographic identity verification requirements of Section 3.1 and Section 8. During registration, the Initiator sends an HTTPS POST to the Responder's "registration_uri" signed by one of the following three authorized key types: Matsuda Expires 4 June 2027 [Page 17] Internet-Draft MCEP December 2026 * *Tier 2 Delegated Key:* A Delegated Key listed in the Initiator's discovery document ("delegated_keys") explicitly holding "register" permission directly under the Initiator's "root_public_key" (multi-hop delegation chains are not permitted). * *Tier 1 Root Identity Key:* The Initiator's top-level "root_public_key" itself, when no Delegated Key is used. * *Initial Operational Key (Self-Signed Mode):* The initial Operational Key itself, strictly for self-signed peer-to-peer relationships without a Root Identity Key ("auth_mode": "self- signed"). The registration JSON payload carries the following fields: * *"cid" (REQUIRED):* A newly generated lowercase UUIDv4 Consent ID. * *"auth_mode" (REQUIRED):* Explicit authentication mode, either "discovery" or "self-signed". * *"sender" and "recipient" (REQUIRED):* Normalized sender and recipient identifiers. * *"sender_scope" (REQUIRED):* Either "exact" or "domain" (see below). * *"kid", "alg", "pk", "nb", and "exp" (REQUIRED):* Initial Operational Key identifier, algorithm, public key material, and validity bounds (plus optional "permissions", defaulting per Section 6.1). * *"nonce", "t", and "sig" (REQUIRED):* Fresh 128-bit nonce, UNIX timestamp, and canonical request signature (Section 3.6). * *"purpose_scope" (OPTIONAL):* Requested purpose scope ("general", "mandatory_transactional", "optional_marketing", or "mailing_list"; defaults to "general" if omitted). * *"root_public_key" (OPTIONAL):* Organizational Tier 1 Root Identity Key object (when applicable). If "auth_mode" is "discovery", the Responder MUST validate the Initiator's domain discovery configuration (Section 3.1). If "auth_mode" is "self-signed", the Responder MUST enforce "sender_scope": "exact" and MUST reject the request if the sender's domain is already known or pinned as MCEP-capable (preventing downgrade to unauthenticated self-signed registration). Matsuda Expires 4 June 2027 [Page 18] Internet-Draft MCEP December 2026 Next, the Responder validates that the proposed "cid" has not been previously used or revoked. If the proposed "cid" has already been used or revoked, the Responder MUST NOT create a new binding or alter any existing binding state, and MUST return a uniform response (such as HTTP 202 Accepted with status "pending" and a synthetic "pending_expires_at" computed as t + default_ttl, where default_ttl is the Responder's configured pending-registration lifetime in seconds, e.g., 604800 seconds / 7 days) that is indistinguishable in status code, structure, and timing from a newly queued pending registration, preventing state probing. Otherwise, for a fresh "cid" requiring manual approval, the Responder creates an expiring "pending" registration that MUST NOT accept any message until approved. When presenting a pending request, the Responder's MSP or MUA MUST clearly display the requested purpose scope and MAY allow the recipient to downgrade the approved scope (for example, from "mandatory_transactional" to "optional_marketing") prior to approval, so that senders cannot unilaterally impose non-dormancy. Upon explicit approval, the Responder activates the binding with the approved scope and returns the "cid" alongside the Responder's public key - either immediately in a 200 OK response when pre-authorized, or, after an initial 202 Accepted ("pending") response, by posting a symmetric registration payload carrying the Responder's public key and signature back to the Initiator's "registration_uri" (as well as exposing activation status via an authenticated status URI for standalone clients). *Sender Scope ("sender_scope": "exact" vs. "domain"):* During registration, the binding MUST include a "sender_scope" field set to either *"exact"* (consent applies strictly to a single normalized sender mailbox, e.g., "info@example.com") or *"domain"* (consent applies to an entire sender domain, e.g., "*@example.com"). Domain- wide bindings ("sender_scope": "domain") apply strictly to exact domain matches (excluding subdomains, which MUST bind separately) and allow a single organization to send from multiple operational addresses under one Consent ID without requiring separate handshakes per address. Domain-wide bindings MUST only be permitted for organizational domains publishing a "root_public_key"; MSPs and recipients MUST NOT create "domain" bindings for shared or multi- tenant email domains (such as public webmail providers), where "sender_scope": "exact" MUST be enforced. To prevent sequence inversion when multiple addresses or parallel workers share a domain- wide "cid", senders SHOULD assign distinct Operational Keys ("kid") per sending account or worker (tracking "last_seq" independently per ("cid", "kid")) or serialize "seq" allocation across shared keys. Because "auth_mode" and "sender_scope" are orthogonal, Table 4 summarizes the differences in validity, trust guarantees, and use cases across the four combinations: Matsuda Expires 4 June 2027 [Page 19] Internet-Draft MCEP December 2026 +===============+===============================+==================+ | auth_mode + | Eligibility & Key Differences | Primary Use | | sender_scope | | Cases | +===============+===============================+==================+ | "discovery" + | Requires "root_public_key" | Organizations | | "domain" | (prohibited on shared webmail | and automated | | | domains). Grants domain-wide | systems sending | | | sending under one "cid"; | from multiple | | | supports async callbacks. | addresses | | | | (*@example.com). | +---------------+-------------------------------+------------------+ | "discovery" + | Allowed on all discovery | Individual users | | "exact" | domains (including shared/ | on MCEP-capable | | | multi-tenant MSPs). MSP | MSPs, or | | | authority prevents squatting; | specific | | | supports async callbacks and | departmental | | | immediate activation on | mailboxes. | | | "public"/Allowlist endpoints. | | +---------------+-------------------------------+------------------+ | "self-signed" | Allowed only when the | Peer-to-peer | | + "exact" | sender's domain is not pinned | correspondence | | | as MCEP-capable. No domain | between | | | discovery or async callback | standalone MUAs | | | endpoints; requires Return- | on non-MCEP | | | Routability check if auto- | domains. | | | activated. | | +---------------+-------------------------------+------------------+ | "self-signed" | *Prohibited* (MUST be | Not applicable. | | + "domain" | rejected). Unauthenticated | | | | keys cannot claim domain-wide | | | | scope. | | +---------------+-------------------------------+------------------+ Table 4: Combinations of Authentication Mode and Sender Scope Across all permitted combinations above, registrations on restricted address classes ("basic", "strict", and "guarded") require explicit recipient approval, a valid invitation token, or a pre-authorized Sender Allowlist entry before activation (Section 3.4). 3.3. Fallback for Domains Not Capable of MCEP When a sender onboarding a recipient (such as during account registration or notification signup) finds that the recipient's domain does not support MCEP, it cannot establish a binding (Section 3.2) or send messages protected by "MCEP-Signature" (Section 4.1), and instead falls back to a conventional out-of-band address verification flow followed by standard unsigned SMTP delivery Matsuda Expires 4 June 2027 [Page 20] Internet-Draft MCEP December 2026 (referred to here as a "legacy fallback"). A sender MAY use such a legacy fallback in place of MCEP registration and signed delivery only when the recipient domain is verified not to be MCEP-capable - specifically, when both hold: (a) retrieval of the configuration document yields HTTP 404 over a validated TLS connection, and (b) DNS returns a definitive negative answer (NXDOMAIN or NODATA) for "_mcep.". Any timeout, server error, TLS error, SERVFAIL, or other retrieval failure, as well as any failure on a domain previously pinned as MCEP-capable, MUST be treated as a transient failure rather than non-capability (Section 3.1). Any legacy fallback MUST confirm address control using a single-use verification code expiring within a short period (default 10 minutes) with strict rate and attempt limits, preferably within an authenticated session. The sender MUST NOT represent fallback- verified addresses as protected by MCEP. When the recipient domain later becomes MCEP-capable, a sender MAY offer an upgrade within an authenticated session following Section 3.2; once an MCEP binding is established, unsigned messages MUST NOT be sent or accepted for that binding unless revoked. 3.4. Peer-to-Peer Onboarding and First-Contact Policies For individual peer-to-peer relationships where the sender's domain does not publish an MCEP discovery configuration, registrations SHOULD be initiated via out-of-band invitation tokens (e.g., QR codes or direct links shared outside email) or through explicit recipient approval within the Mail User Agent (MUA) interface. Self-signed peer-to-peer registrations lacking a domain discovery configuration MUST be restricted strictly to "sender_scope": "exact". *Precedence Between First-Contact Policy and Address Class:* To control unsolicited out-of-band registration requests to "registration_uri", a recipient address enforces a local first- contact registration policy that acts as the primary intake gate and MUST be evaluated prior to address-class auto-approval rules: *"disabled"* (highest restriction: unconditionally rejects or silently discards all new registration requests regardless of address class, including "public" (0x00), "public-strict" (0x02), and "public-guarded" (0x06), while preserving existing active bindings), *"recipient-initiated"* (restricts MCEP binding initiation - even on "public" class addresses - strictly to senders presenting a valid recipient-issued invitation token or matching an entry in the local Sender Allowlist, blocking all other registration requests), or *"open-pending"* (default: admits incoming HTTPS registration requests to the approval evaluation step below). Matsuda Expires 4 June 2027 [Page 21] Internet-Draft MCEP December 2026 For requests admitted past the first-contact policy gate, the receiver MUST determine activation versus pending placement by evaluating the following rules in strict order (stopping at the first matching rule): 1. *Prior Revocation or Block-List Match:* If the sender has a prior revocation history for that recipient (Section 8) or matches a recipient block list - and has not been explicitly re-authorized after that revocation via a newly issued invitation token or post-revocation Sender Allowlist entry - the receiver MUST NOT auto-approve the request on any address class (including "public" 0x00, "public-strict" 0x02, and "public-guarded" 0x06), and MUST instead hold it in "pending" state or silently discard it locally per Section 8. 2. *Invitation Token or Allowlisted Discovery Sender:* If the request presents a valid recipient-issued invitation token, or matches the local Sender Allowlist (Section 10.4) with a verified domain discovery configuration (Section 3.1), the receiver MUST auto-approve and activate the binding immediately across all address classes. 3. *Public-Class Discovery Sender:* If the target address uses a public-facing class ("public" 0x00, "public-strict" 0x02, or "public-guarded" 0x06) and the sender is authenticated via its domain discovery configuration (Section 3.1), the receiver MUST auto-approve and activate the binding immediately subject to the rate limits in Section 8. 4. *All Remaining Requests (Default Pending):* For all other requests - including unauthenticated self-signed requests lacking both domain discovery and an invitation token, as well as discovery-verified senders on "basic" (0x01), "strict" (0x03), or "guarded" (0x07) not matched above - the receiver MUST place the registration in "pending" state rather than auto-approving it. An unauthenticated self-signed request MUST NOT be auto-approved solely on the claimed sender address (preventing identity squatting), and MUST remain "pending" until confirmed via explicit recipient approval or Return-Routability Verification (described below). While a request remains in "pending" state, it MUST NOT block non-MCEP mail delivery that is otherwise permitted under the address's active policy (such as unbound delivery on "basic" 0x01 or allowlisted delivery on "guarded" 0x07). Matsuda Expires 4 June 2027 [Page 22] Internet-Draft MCEP December 2026 *Return-Routability Verification Procedure:* To prevent unsolicited outbound challenge spam (backscatter or mail-bombing abuse), a receiving MSP MUST NOT transmit automated Return-Routability Verification emails for general unapproved pending requests, and MUST enforce both of the following restrictions: * *Eligible Targets Only:* Automated challenge transmission MUST be restricted strictly to target addresses configured for public auto-registration ("public" 0x00, "public-strict" 0x02, or "public-guarded" 0x06) or senders explicitly pre-authorized in the recipient's local Sender Allowlist (Section 10.4). * *Strict Rate Limits:* The receiving MSP MUST enforce strict per- target-mailbox rate limits (e.g., at most one challenge per 24 hours) as well as per-source-IP rate limits. When permitted, Return-Routability Verification proceeds in four steps: 1. *Challenge Transmission (Responder):* The receiving MSP sends a verification email containing only the pending "cid", a single- use cryptographic challenge nonce of at least 128 bits, and a short expiration timestamp (default 10 minutes), without quoting any unverified payload or attacker-supplied text. 2. *Local Pending Match (Initiator):* Upon receiving a challenge email, the Initiator's MUA MUST process it only if the referenced "cid" matches an active local pending registration initiated by that MUA toward the matching responder domain, ignoring all unsolicited or unknown challenge messages. 3. *Signed HTTPS Confirmation (Initiator):* The Initiator's MUA MUST submit the signed confirmation payload (signed by the Initiator's registered key under domain-separation label "MCEP-Register-v1") strictly to the pinned "registration_uri" discovered over HTTPS for that target domain. 4. *Binding Activation (Responder):* Once the Responder verifies the unexpired nonce and signature, it immediately promotes the binding from "pending" to "active" and returns HTTP 200 OK with its public key ("recipient_pk"). Matsuda Expires 4 June 2027 [Page 23] Internet-Draft MCEP December 2026 3.5. Domain and Key Migration All migration requests submitted to a peer's "migration_uri" (Section 3.6) MUST include an explicit "type" field identifying the migration operation - specifically "sender_domain" (cross-domain sender migration), "root_key_rotation" (same-domain planned Root Identity Key rotation), or "recipient_address" (recipient MSP or address migration) - so that receivers dispatch requests to the corresponding verification rules and domain-separated signature labels without ambiguity. Requests missing a valid "type" field MUST be rejected. *Sender Domain Migration ("type": "sender_domain"):* Changes to a sender's domain MUST NOT trigger automatic, unconfirmed re-binding, and are not permitted for "strict" addresses (where the sender MUST register anew via Section 3.2). For other classes, sender domain migrations MUST require explicit recipient re-approval, or - where pre-authorized administrative migration is supported - MUST require dual signatures ("old_root_sig" and "new_root_sig") from both the old and new Root Identity Keys over a domain-separated payload ("MCEP- Migration-v1" covering type, cid, recipient, old/new domains, new keys, validity period, and a monotonic migration sequence number), reverse HTTPS and DNS verification of the new domain's configuration, and a minimum 7-day pending hold window during which either the recipient or the original sender can cancel the migration. Receivers MAY enforce a maximum cumulative migration count per Consent ID (for example, at most 2 or 3 cross-domain migrations) and require a fresh registration (Section 3.2) once reached; however, subdomain changes within the same organizational domain authorized under the same Root Identity Key MAY be exempted from this count limit. If the old Root Identity Key is lost or suspected compromised, migration MUST NOT be used. Note that this migration hold window applies exclusively to pending domain migrations of established bindings and is distinct from the initial pending-registration expiration lifetime (default_ttl in Section 3.2). *Planned Root Identity Key Rotation ("type": "root_key_rotation"):* To allow organizations to replace HSMs or upgrade cryptographic algorithms without re-registering every binding, a sender whose Root Identity Key is uncompromised MAY perform a planned, same-domain Root Identity Key rotation via the receiver's "migration_uri" (Section 3.6, domain-separation label "MCEP-Migration-v1", with "type": "root_key_rotation" and identical old and new domain identifiers) in four steps: Matsuda Expires 4 June 2027 [Page 24] Internet-Draft MCEP December 2026 1. *Publish New Discovery Record (Sender):* Before submitting the rotation request, the sender MUST publish the new "root_public_key" in its HTTPS discovery document and updated "_mcep." DNS TXT record (Section 3.1) and allow prior DNS TTLs to expire so live discovery reflects the new key. 2. *Submit Dual-Signed Rotation Request (Sender):* The request MUST carry the proposed new Root Identity Key ("new_root_key") and dual signatures ("old_root_sig" and "new_root_sig") computed by the receiver's currently pinned old Root Identity Key and the proposed new Root Identity Key, respectively, covering "type", Consent ID ("cid"), "recipient", domain, "new_root_key", optional new Operational Key fields ("new_kid", "new_alg", "new_pk", "nb", "exp"), monotonic migration sequence number ("mseq"), and timestamp ("t"). 3. *Verify Signatures and Live Discovery (Receiver):* Upon receiving the request, the receiver MUST first verify "old_root_sig" against its locally pinned Root Identity Key and "new_root_sig" against the proposed "new_root_key", and then fetch and verify the sender's live discovery configuration and DNS TXT record (Section 3.1) to confirm that the newly published "root_public_key" matches "new_root_key" (returning a retryable transient error such as HTTP 503 if DNS propagation is still in progress). 4. *Atomic Key Update (Receiver):* Once live discovery matches, the receiver MUST atomically update the binding's pinned Root Identity Key immediately upon verification. If accompanying Operational Key fields ("new_kid", "new_alg", "new_pk", "nb", "exp") are included, the receiver MUST install the new Operational Key as "active" (initializing its "last_seq" to 0) and transition the replaced prior Operational Key to the "retiring" grace slot governed by the strict acceptance rules in Section 6.2. Planned Root Identity Key rotation is subject to the following scope and exception rules: * *All Address Classes Permitted (No 7-Day Hold):* Because the sender's domain identity does not change, same-domain Root Identity Key rotation is permitted across all address classes (including "strict" 0x03), does not count toward cross-domain migration limits, and takes effect immediately without requiring the 7-day cross-domain hold window. Matsuda Expires 4 June 2027 [Page 25] Internet-Draft MCEP December 2026 * *Compromised or Lost Key Prohibition:* If the old Root Identity Key is lost or suspected compromised, planned rotation MUST NOT be used; affected bindings MUST instead be revoked and re-established via Section 3.2. *Exceptional Automatic Migration:* A receiver MAY complete a sender domain migration without explicit recipient approval only if all of the following conditions hold: * *Non-Strict Address Class:* The target recipient address is not configured in "strict" (0x03) mode. * *Explicit Recipient Opt-In:* The recipient has explicitly opted into automatic migration (default: disabled). * *Single Cross-Domain Automatic Migration Limit:* The binding has not previously undergone a cross-domain automatic migration (maximum of one cross-domain automatic migration per Consent ID, excluding same-organization subdomain changes authorized under the same Root Identity Key). * *Uncontested 7-Day Hold Window:* The minimum 7-day pending hold window has elapsed without cancellation by either the recipient or the original sender. * *Unrevoked Old Root Identity Key:* The old Root Identity Key remains unrevoked and valid throughout the hold window. * *Continuous Pre-Migration Declaration Observation:* The old domain continuously published a signed migration declaration via both DNS and HTTPS (at its advertised "declaration_uri") for at least 14 days prior to the migration notice as verified from the receiver's own observation records (receivers MUST NOT rely on timestamps asserted inside the declaration itself, and any content change resets the observation period). * *Multi-Channel Notification and Revert Window:* The recipient has been notified via at least two independent channels and provided with a post-migration revert window. *Recipient Address Migration ("type": "recipient_address"):* When a recipient moves from an old MSP to a new MSP, bindings are migrated rather than transferring private keys. The user authenticates to both MSPs and authorizes migration of selected Consent IDs. The old MSP signs a Migration Attestation ("old_msp_sig", domain-separation label "MCEP-RecipientMigration-v1") covering "type": "recipient_address", the Consent ID ("cid"), the old and new recipient addresses, the new recipient public key Matsuda Expires 4 June 2027 [Page 26] Internet-Draft MCEP December 2026 ("new_recipient_pk"), a monotonic migration sequence number ("mseq"), and a short expiration timestamp. The new MSP counter-signs the attestation ("new_msp_sig") and submits it via HTTPS POST to the sender's "migration_uri". The sender verifies both signatures against the old pinned recipient key (or old MSP key) and the new MSP's discovery configuration, and atomically updates the recipient address and public key. The old MSP SHOULD remain available to sign attestations for a transition period after service termination and SHOULD then purge the old key material. For the purpose of subdomain exemptions, two domains are considered part of the same organization only if they share the same Organizational Domain boundary (as defined in [RFC9989], excluding multi-tenant or provider-allocated subdomains such as shared hosting subdomains) and are both cryptographically authorized under the same Root Identity Key. 3.6. Out-of-Band Control Plane Request Signing To ensure interoperability while permitting optional fields and future extensions, all signed JSON payloads sent over the out-of-band HTTPS control plane endpoints (Appendix B) MUST compute their cryptographic signature over a canonical byte sequence constructed from a domain-separation label and all non-signature top-level JSON fields sorted in ascending ASCII lexicographical order by key name: * *POST /mcep/register ("sig"):* Domain-separation label "MCEP- Register-v1". * *POST /mcep/rotate ("rs"):* Domain-separation label "MCEP-Rotate- v1". * *POST /mcep/revoke ("rs"):* Domain-separation label "MCEP-Revoke- v1" (covering all request fields including "target" - such as "binding", "kid", or "delegated_kid" - and "kid" when present). * *Outbound Revocation Callback Notification ("rs"):* Domain- separation label "MCEP-RevokeNotify-v1" (computed over asynchronous revocation notification payloads sent to a peer's "revocation_uri"). * *POST /mcep/migrate - Sender Domain / Root Key ("old_root_sig" and "new_root_sig"):* Domain-separation label "MCEP-Migration-v1" (when "type" is "sender_domain" or "root_key_rotation"). * *POST /mcep/migrate - Recipient Address ("old_msp_sig" and "new_msp_sig"):* Domain-separation label "MCEP-RecipientMigration- v1" (when "type" is "recipient_address"). Matsuda Expires 4 June 2027 [Page 27] Internet-Draft MCEP December 2026 * *Status Poll Request ("sig"):* Domain-separation label "MCEP- Status-v1". * *Discovery Document Delegated Keys ("root_sig"):* Domain- separation label "MCEP-DelegateKey-v1" (computed over each delegated key object in "delegated_keys", excluding "root_sig"). *Canonical Encoding Rule:* Starting with the length-prefixed domain- separation label (: