<?xml version='1.0' encoding='ascii'?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<rfc ipr="trust200902" category="std" docName="draft-ietf-eppext-keyrelay-06" obsoletes="" updates="" submissionType="IETF" xml:lang="en">
  <?rfc toc="yes"?>
  <!--generate a table of contents -->
  <?rfc symrefs="yes"?>
  <!--use anchors instead of numbers for references -->
  <?rfc sortrefs="yes" ?>
  <!--alphabetize the references -->
  <?rfc compact="yes" ?>
  <!--conserve vertical whitespace -->
  <?rfc subcompact="no" ?>
  <!--but keep a blank line between list items -->
  <front>
    <title abbrev="EPP Keyrelay">Key Relay Mapping for the Extensible Provisioning Protocol</title>
    <author initials="HW" surname="Ribbers" fullname="Rik Ribbers">
      <organization>SIDN</organization>
      <address>
        <postal>
          <street>Meander 501</street>
          <city>Arnhem</city>
          <region/>
          <code>6825 MD</code>
          <country>NL</country>
        </postal>
        <email>rik.ribbers@sidn.nl</email>
        <uri>https://www.sidn.nl/</uri>
      </address>
    </author>
    <author initials="MW" surname="Groeneweg" fullname="Marc Groeneweg">
      <organization>SIDN</organization>
      <address>
        <postal>
          <street>Meander 501</street>
          <city>Arnhem</city>
          <region/>
          <code>6825 MD</code>
          <country>NL</country>
        </postal>
        <email>marc.groeneweg@sidn.nl</email>
        <uri>https://www.sidn.nl/</uri>
      </address>
    </author>
    <author initials="R" surname="Gieben" fullname="Miek Gieben">
      <organization/>
      <address>
        <email>miek@miek.nl</email>
      </address>
    </author>
    <author initials="ALJ" surname="Verschuren" fullname="Antoin Verschuren">
      <organization/>
      <address>
        <email>ietf@antoin.nl</email>
      </address>
    </author>
    <date month="August" year="2015" day="24"/>
    <area>Application</area>
    <workgroup>eppext</workgroup>
    <keyword>Extensible Provisioning Protocol</keyword>
    <abstract><!--This document was prepared using Pandoc2rfc, https://github.com/miekg/pandoc2rfc --><t>This document describes an Extensible Provisioning Protocol (EPP) mapping for a key relay object that relays DNSSEC key material between EPP clients using the poll queue defined in RFC5730.  </t><t>This key relay mapping will help facilitate changing the DNS operator of a domain while keeping the DNSSEC chain of trust intact.  </t> </abstract>
  </front>
  <middle><!--This document was prepared using Pandoc2rfc, https://github.com/miekg/pandoc2rfc --><section title="Introduction" anchor="introduction" toc="default"><t>There are certain transactions initiated by a DNS-operator, which require an authenticated exchange of information between DNS-operators. Often, there is no direct channel between these parties or it is non-scalable and insecure.  </t><t>One such transaction is the exchange of DNSSEC key material when changing the DNS operator for DNSSEC signed zones. We suggest that DNS-operators use the administrative EPP channel to bootstrap the delegation by relaying DNSSEC key material for the zone.  </t><t>In this document we define an EPP extension to support and automate this transaction.  </t><section title="Conventions Used in This Document" anchor="conventions-used-in-this-document" toc="default"><t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, RFC 2119 <xref target="RFC2119" pageno="false" format="default"/>.  </t><t>XML is case sensitive. Unless stated otherwise, XML specifications and examples provided in this document MUST be interpreted in the character case presented in order to develop a conforming implementation.  </t><t>In examples, "C:" represents lines sent by a protocol client, and "S:" represents lines returned by a protocol server. Indentation and white space in examples is provided only to illustrate element relationships and is not a mandatory feature of this protocol.  </t></section><section title="Secure Transfer of DNSSEC Key Material" anchor="secure-transfer-of-dnssec-key-material" toc="default"><t>Exchanging DNSSEC key material in preparation of a domain name transfer is one of the phases in the lifecycle of a domain name <xref target="I-D.koch-dnsop-dnssec-operator-change" pageno="false" format="default"/>.  </t><t>DNS-operators need to exchange DNSSEC key material before the registration data can be changed to keep the DNSSEC chain of trust intact. This exchange is normally initiated through the gaining registrar.  </t><t>The gaining and losing DNS operators could talk directly to each other (the ~ arrow in <xref target="fig:keyrelay" pageno="false" format="default"/>) to exchange the DNSKEY, but often there is no trusted path between the two. As both can securely interact with the registry over the administrative channel through the registrar, the registry can act as a relay for the key material exchange.  </t><t>The registry is merely used as a relay channel. Therefore it is up to the losing DNS-operator to complete the intended transaction.  The registry SHOULD have certain policies in place that require the losing DNS operator to cooperate with this transaction, however this is beyond this I-D. This I-D focuses on the EPP protocol syntax.  </t><figure anchor="fig:keyrelay" align="center" title="Transfer of DNSSEC key material." suppress-title="false" alt="" width="" height=""><artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">
   +--------------------+  DNSKEY   +---------------------+
   |gaining DNS operator| ~~~~~~~~&gt; | losing DNS operator |
   +--------------------+           +---------------------+
                  |                   ^
                  |                   |
                  V                   |
   +--------------------+         +---------------------+
   |  gaining registrar |         | registrar of record |
   +--------------------+         +---------------------+
                  |                   ^
     EPP keyrelay |                   | EPP poll
                  V                   |
             +-----------------------------+
             |           registry          |
             +-----------------------------+
</artwork></figure><t></t><t>There is no distinction in the EPP protocol between Registrars and DNS-operators, there is only mention of an EPP client and EPP server. Therefore the term EPP client will be used for the interaction with the EPP server for relaying DNSSEC key material.  </t></section></section><section title="Object Attributes" anchor="object-attributes" toc="default"><section title="DNSSEC Key Material" anchor="dnssec-key-material" toc="default"><t>The DNSSEC key material is represented in EPP by a &lt;keyRelayData&gt; element.  </t><section title="&lt;keyRelayData&gt; element" anchor="keyrelaydata-element" toc="default"><t>The &lt;keyRelayData&gt; contains the following elements: </t><t><list style="symbols"><t>One REQUIRED &lt;keyData&gt; element that contains the DNSSEC key material as described in <xref target="RFC5910" pageno="false" format="default"/>, Section 4.2.  </t><t>An OPTIONAL &lt;expiry&gt; element that describes the expected lifetime of the relayed key(s) in the zone. When the &lt;expiry&gt; element is provided the losing DNS operator SHOULD remove the inserted key material from the zone after the expire time. This may be because the transaction that needed the insertion should either be completed or abandoned by that time. If a client receives a key relay object that has been sent previously it MUST update the expire time of the key material. This enables the clients to update the lifetime of the key material when a transfer is delayed.  </t></list></t><t>The &lt;expiry&gt; element MUST contain one of the following child elements: </t><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
  *  &lt;absolute&gt;: The DNSSEC key material is valid from the current 
  date and time until it expires on the specified date and time. If a 
  date in the past is provided this MUST be interpreted as a revocation 
  of a previously send key relay object.
</artwork></figure><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
  *  &lt;relative&gt;: The DNSSEC key material is valid from the current date
  and time until the end of the specified duration. If a period of 
  zero is provided this MUST be interpreted as a revocation of a 
  previously send key relay object.
</artwork></figure></section></section></section><section title="EPP Command Mapping" anchor="epp-command-mapping" toc="default"><t>A detailed description of the EPP syntax and semantics can be found in the EPP core protocol specification <xref target="RFC5730" pageno="false" format="default"/>. The command mapping described here is specifically for use in this key relay mapping.  </t><section title="EPP Query Commands" anchor="epp-query-commands" toc="default"><t>EPP provides three commands to retrieve object information: &lt;check&gt; to determine if an object is known to the server, &lt;info&gt; to retrieve detailed information associated with an object, and &lt;transfer&gt; to retrieve object transfer status information.  </t><section title="EPP &lt;check&gt; Command" anchor="epp-check-command" toc="default"><t>Check semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;check&gt; command and the EPP &lt;check&gt; response.  </t></section><section title="EPP &lt;info&gt; Command" anchor="epp-info-command" toc="default"><t>Info command semantics do not apply to the key relay objects, so there is no mapping defined for the EPP &lt;info&gt; Command.  </t><t>The EPP &lt;info&gt; response for key relay objects is used in the EPP poll response, as described in <xref target="RFC5730" pageno="false" format="default"/>. The key relay object created with the &lt;create&gt; command, described in <xref target="epp-create-command" pageno="false" format="default"/> is inserted into the receiving client&#8217;s poll queue. The receiving client will receive the key relay object using the EPP &lt;poll&gt; command, as described in <xref target="RFC5730" pageno="false" format="default"/>.  </t><t>When a &lt;poll&gt; command has been processed successfully for a key relay poll message, the EPP &lt;resData&gt; element MUST contain a child &lt;keyrelay:infData&gt; element that is identified by the keyrelay namespace. The &lt;keyrelay:infData&gt; element contains the following child elements: </t><t>o A REQUIRED &lt;name&gt; element containing the domain name for which the DNSSEC key material is relayed.  </t><t>o A REQUIRED &lt;authInfo&gt; element that contains authorization information associated with the domain object (<xref target="RFC5731" pageno="false" format="default"/>, Section 3.2.1).  </t><t>o One or more REQUIRED &lt;keyRelayData&gt; elements containing data to be relayed, as defined in <xref target="dnssec-key-material" pageno="false" format="default"/>. A server MAY apply a server policy that specifies the number of &lt;keyRelayData&gt; elements that can be incorporated. When a server policy is violated, a server MUST respond with an EPP result code 2308 "Data management policy violation".  </t><t>o An OPTIONAL &lt;crDate&gt; element that contains the date and time of the submitted &lt;create&gt; command.  </t><t>o An OPTIONAL &lt;reID&gt; element that contains the identifier of the client that requested the key relay.  </t><t>o An OPTIONAL &lt;acID&gt; element that contains the identifier of the client that SHOULD act upon the key relay.  </t><t>Example &lt;poll&gt; response: </t><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
S:&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
S:&lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0" 
S:    xmlns:keyrelay="urn:ietf:params:xml:ns:keyrelay-1.0"
S:  xmlns:s="urn:ietf:params:xml:ns:secDNS-1.1" 
S:  xmlns:d="urn:ietf:params:xml:ns:domain-1.0"&gt;
S:  &lt;response&gt;
S:    &lt;result code="1301"&gt;
S:      &lt;msg&gt;Command completed successfully; ack to dequeue&lt;/msg&gt;
S:    &lt;/result&gt;
S:    &lt;msgQ count="5" id="12345"&gt;
S:      &lt;qDate&gt;1999-04-04T22:01:00.0Z&lt;/qDate&gt;
S:      &lt;msg&gt;Keyrelay action completed successfully.&lt;/msg&gt;
S:    &lt;/msgQ&gt;
S:    &lt;resData&gt;
S:      &lt;keyrelay:infData&gt;
S:        &lt;keyrelay:name&gt;example.org&lt;/keyrelay:name&gt;
S:        &lt;keyrelay:authInfo&gt;
S:          &lt;d:pw&gt;JnSdBAZSxxzJ&lt;/d:pw&gt;
S:        &lt;/keyrelay:authInfo&gt;
S:        &lt;keyrelay:keyRelayData&gt;
S:          &lt;keyrelay:keyData&gt;
S:            &lt;s:flags&gt;256&lt;/s:flags&gt;
S:            &lt;s:protocol&gt;3&lt;/s:protocol&gt;
S:            &lt;s:alg&gt;8&lt;/s:alg&gt;
S:            &lt;s:pubKey&gt;cmlraXN0aGViZXN0&lt;/s:pubKey&gt;
S:          &lt;/keyrelay:keyData&gt;
S:          &lt;keyrelay:expiry&gt;
S:            &lt;keyrelay:relative&gt;P1M13D&lt;/keyrelay:relative&gt;
S:          &lt;/keyrelay:expiry&gt;
S:        &lt;/keyrelay:keyRelayData&gt;
S:        &lt;keyrelay:crDate&gt;
S:          1999-04-04T22:01:00.0Z
S:        &lt;/keyrelay:crDate&gt;
S:        &lt;keyrelay:reID&gt;
S:          ClientX
S:        &lt;/keyrelay:reID&gt;
S:        &lt;keyrelay:acID&gt;
S:          ClientY
S:        &lt;/keyrelay:acID&gt;
S:      &lt;/keyrelay:infData&gt;
S:    &lt;/resData&gt;
S:    &lt;trID&gt;
S:      &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
S:      &lt;svTRID&gt;54321-ZYX&lt;/svTRID&gt;
S:    &lt;/trID&gt;
S:  &lt;/response&gt;
S:&lt;/epp&gt;
</artwork></figure></section><section title="EPP &lt;transfer&gt; Command" anchor="epp-transfer-command" toc="default"><t>Transfer semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;transfer&gt; command.  </t></section></section><section title="EPP Transform Commands" anchor="epp-transform-commands" toc="default"><t>EPP provides five commands to transform objects: &lt;create&gt; to create an instance of an object, &lt;delete&gt; to delete an instance of an object, &lt;renew&gt; to extend the validity period of an object, &lt;transfer&gt; to manage object sponsorship changes, and &lt;update&gt; to change information associated with an object.  </t><section title="EPP &lt;create&gt; Command" anchor="epp-create-command" toc="default"><t>The EPP &lt;create&gt; command provides a transform operation that allows a client to create a key relay object that includes the domain name and DNSSEC key material to be relayed. When the &lt;create&gt; command is validated, the server MUST insert an EPP &lt;poll&gt; message, using the key relay info response (See <xref target="epp-info-command" pageno="false" format="default"/>), in the receiving client&#8217;s poll queue that belongs to the registrar on record of the provided domain name.  </t><t>In addition to the standard EPP command elements, the &lt;create&gt; command MUST contain a &lt;keyrelay:create&gt; element that is identified by the keyrelay namespace. The &lt;keyrelay:create&gt; element contains the following child elements: </t><t>o A REQUIRED &lt;keyrelay:name&gt; element containing the domain name for which the DNSSEC key material is relayed.  </t><t>o One or more REQUIRED &lt;keyrelay:keyRelayData&gt; element containing data to be relayed, as defined in <xref target="dnssec-key-material" pageno="false" format="default"/> </t><t>Example &lt;create&gt; commands: </t><t>Note that in the provided example the second &lt;keyrelay:keyRelayData&gt; element had a negative period and thus represents the revocation of a previouly send key relay object (see <xref target="keyrelaydata-element" pageno="false" format="default"/>).  </t><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
C:&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
C:&lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0" 
C:    xmlns:keyrelay="urn:ietf:params:xml:ns:keyrelay-1.0"
C:  xmlns:s="urn:ietf:params:xml:ns:secDNS-1.1" 
C:  xmlns:d="urn:ietf:params:xml:ns:domain-1.0"&gt;
C:  &lt;command&gt;
C:    &lt;create&gt;
C:      &lt;keyrelay:create&gt;
C:        &lt;keyrelay:name&gt;example.org&lt;/keyrelay:name&gt;
C:        &lt;keyrelay:authInfo&gt;
C:          &lt;d:pw&gt;JnSdBAZSxxzJ&lt;/d:pw&gt;
C:        &lt;/keyrelay:authInfo&gt;
C:        &lt;keyrelay:keyRelayData&gt;
C:          &lt;keyrelay:keyData&gt;
C:            &lt;s:flags&gt;256&lt;/s:flags&gt;
C:            &lt;s:protocol&gt;3&lt;/s:protocol&gt;
C:            &lt;s:alg&gt;8&lt;/s:alg&gt;
C:            &lt;s:pubKey&gt;cmlraXN0aGViZXN0&lt;/s:pubKey&gt;
C:          &lt;/keyrelay:keyData&gt;
C:          &lt;keyrelay:expiry&gt;
C:            &lt;keyrelay:relative&gt;P1M13D&lt;/keyrelay:relative&gt;
C:          &lt;/keyrelay:expiry&gt;
C:        &lt;/keyrelay:keyRelayData&gt;
C:        &lt;keyrelay:keyRelayData&gt;
C:          &lt;keyrelay:keyData&gt;
C:            &lt;s:flags&gt;256&lt;/s:flags&gt;
C:            &lt;s:protocol&gt;3&lt;/s:protocol&gt;
C:            &lt;s:alg&gt;8&lt;/s:alg&gt;
C:            &lt;s:pubKey&gt;bWFyY2lzdGhlYmVzdA==&lt;/s:pubKey&gt;
C:          &lt;/keyrelay:keyData&gt;
C:          &lt;keyrelay:expiry&gt;
C:            &lt;keyrelay:relative&gt;-P1D&lt;/keyrelay:relative&gt;
C:          &lt;/keyrelay:expiry&gt;
C:        &lt;/keyrelay:keyRelayData&gt;
C:      &lt;/keyrelay:create&gt;
C:    &lt;/create&gt;
C:    &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
C:  &lt;/command&gt;
C:&lt;/epp&gt;
</artwork></figure><t>When a server has succesfully processed the &lt;create&gt; command it MUST respond with a standard EPP response. See <xref target="RFC5730" pageno="false" format="default"/>, Section 2.6.  </t><t>Example &lt;create&gt; response: </t><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
S:&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
S:&lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0"&gt;
S:  &lt;response&gt;
S:    &lt;result code="1000"&gt;
S:      &lt;msg&gt;Command completed successfully&lt;/msg&gt;
S:    &lt;/result&gt;
S:    &lt;trID&gt;
S:       &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
S:       &lt;svTRID&gt;54321-ZYX&lt;/svTRID&gt;
S:    &lt;/trID&gt;
S:  &lt;/response&gt;
S:&lt;/epp&gt;
</artwork></figure><t>When a server cannot process the &lt;create&gt; command due to the server policy it MUST return an EPP 2308 error message. This might be the case when the server knows that the receiving client does not support keyrelay transactions. See <xref target="RFC5730" pageno="false" format="default"/>, Section 2.6.  </t><t>Example &lt;create&gt; response: </t><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
S:&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
S:&lt;epp xmlns="urn:ietf:params:xml:ns:epp-1.0"&gt;
S:  &lt;response&gt;
S:    &lt;result code="2308"&gt;
S:      &lt;msg&gt;Data management policy violation&lt;/msg&gt;
S:    &lt;/result&gt;
S:    &lt;trID&gt;
S:       &lt;clTRID&gt;ABC-12345&lt;/clTRID&gt;
S:       &lt;svTRID&gt;54321-ZYX&lt;/svTRID&gt;
S:    &lt;/trID&gt;
S:  &lt;/response&gt;
S:&lt;/epp&gt;
</artwork></figure></section><section title="EPP &lt;delete&gt; Command" anchor="epp-delete-command" toc="default"><t>Delete semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;delete&gt; command and the EPP &lt;delete&gt; response.  </t></section><section title="EPP &lt;renew&gt; Command" anchor="epp-renew-command" toc="default"><t>Renew semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;renew&gt; command and the EPP &lt;renew&gt; response.  </t></section><section title="EPP &lt;transfer&gt; Command" anchor="epp-transfer-command-1" toc="default"><t>Transfer semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;transfer&gt; command and the EPP &lt;transfer&gt; response.  </t></section><section title="EPP &lt;update&gt; Command" anchor="epp-update-command" toc="default"><t>Update semantics do not apply to key relay objects, so there is no mapping defined for the EPP &lt;update&gt; command and the EPP &lt;update&gt; response.  </t></section></section></section><section title="Formal Syntax" anchor="formal-syntax" toc="default"><figure title="" suppress-title="false" align="left" alt="" width="" height=""><artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;schema targetNamespace="urn:ietf:params:xml:ns:keyrelay-1.0"
  xmlns:keyrelay="urn:ietf:params:xml:ns:keyrelay-1.0" 
  xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
  xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0" 
  xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1"
  xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"&gt;    

  &lt;annotation&gt;
    &lt;documentation&gt;
      Extensible Provisioning Protocol v1.0 protocol
      extension schema for relaying DNSSEC key material.
    &lt;/documentation&gt;
  &lt;/annotation&gt;    

  &lt;import namespace="urn:ietf:params:xml:ns:epp-1.0"
    schemaLocation="epp-1.0.xsd" /&gt;
  &lt;import namespace="urn:ietf:params:xml:ns:eppcom-1.0"
    schemaLocation="eppcom-1.0.xsd" /&gt;
  &lt;import namespace="urn:ietf:params:xml:ns:secDNS-1.1"
    schemaLocation="secdns-1.1.xsd" /&gt;
  &lt;import namespace="urn:ietf:params:xml:ns:domain-1.0"
    schemaLocation="domain-1.0.xsd" /&gt;    

  &lt;element name="keyRelayData" type="keyrelay:keyRelayDataType" /&gt;
  &lt;element name="infData" type="keyrelay:infDataType" /&gt;
  &lt;element name="create" type="keyrelay:createType" /&gt;    

  &lt;complexType name="createType"&gt;
    &lt;sequence&gt;
      &lt;element name="name" type="eppcom:labelType" /&gt;
      &lt;element name="keyRelayData" type="keyrelay:keyRelayDataType" /&gt;
    &lt;/sequence&gt;
  &lt;/complexType&gt;    

  &lt;complexType name="infDataType"&gt;
    &lt;sequence&gt;
      &lt;element name="name" type="eppcom:labelType" /&gt;
      &lt;element name="authInfo" type="domain:authInfoType" /&gt;
      &lt;element name="keyRelayData" type="keyrelay:keyRelayDataType" 
          maxOccurs="unbounded"/&gt;
      &lt;element name="crDate" type="dateTime"/&gt;
      &lt;element name="reID" type="eppcom:clIDType" /&gt;
      &lt;element name="acID" type="eppcom:clIDType" /&gt;
    &lt;/sequence&gt;
  &lt;/complexType&gt;    

  &lt;complexType name="keyRelayDataType"&gt;
    &lt;sequence&gt;
      &lt;element name="keyData" type="secDNS:keyDataType" /&gt;
      &lt;element name="expiry" type="keyrelay:keyRelayExpiryType" 
          minOccurs="0" /&gt;
    &lt;/sequence&gt;
  &lt;/complexType&gt;
  &lt;complexType name="keyRelayExpiryType"&gt;
    &lt;choice&gt;
      &lt;element name="absolute" type="dateTime" /&gt;
      &lt;element name="relative" type="duration" /&gt;
    &lt;/choice&gt;
  &lt;/complexType&gt;
&lt;/schema&gt;
</artwork></figure></section><section title="IANA Considerations" anchor="iana-considerations" toc="default"><section title="XML Namespace" anchor="xml-namespace" toc="default"><t>This document uses URNs to describe a XML namespace conforming to a registry mechanism described in <xref target="RFC3688" pageno="false" format="default"/>.  The following URI assignment is requested of IANA: </t><t>URI: urn:ietf:params:xml:ns:keyrelay-1.0 </t><t>Registrant Contact: See the "Author's Address" section of this document.  </t><t>XML: See the "Formal Syntax" section of this document.  </t></section><section title="XML Schema" anchor="xml-schema" toc="default"><t>This document uses URNs to describe a XML schema conforming to a registry mechanism described in <xref target="RFC3688" pageno="false" format="default"/>.  The following URI assignment is requested of IANA: </t><t>URI: urn:ietf:params:xml:ns:keyrelay-1.0 </t><t>XML: See the "Formal Syntax" section of this document.  </t></section><section title="EPP Extension Registry" anchor="epp-extension-registry" toc="default"><t>The EPP extension described in this document should be registered by the IANA in the EPP Extension Registry described in <xref target="RFC7451" pageno="false" format="default"/>. The details of the registration are as follows: </t><t>Name of Extension: "Key Relay Mapping for the Extensible Provisioning Protocol" </t><t>Document status: Standards Track </t><t>Reference: (insert reference to RFC version of this document) </t><t>Registrant Name and Email Address: IESG, iesg@ietf.org </t><t>TLDs: Any </t><t>IPR Disclosure: https://datatracker.ietf.org/ipr/2393/ </t><t>Status: Active </t><t>Notes: None </t></section></section><section title="Security Considerations" anchor="security-considerations" toc="default"><t>A server SHOULD NOT perform any transformation on data under server management when processing a &lt;keyrelay:create&gt; command.  </t><t>Any EPP client can use this mechanism to put data on the message queue of another EPP client, allowing for the potential of a denial of service attack. However this can, and SHOULD be detected by the server. A server MAY set a server policy which limits or rejects a &lt;keyrelay:create&gt; command if it detects the mechanism is being abused.  </t><t>For the &lt;keyrelay:keyRelayData&gt; data a correct &lt;domain:authInfo&gt; element SHOULD be used as an indication that putting the key material on the receiving EPP clients poll queue is authorized by the <spanx style="emph" xml:space="preserve">registrant</spanx> of that domain name. The authorization of EPP clients to perform DNS changes is not covered in this I-D as it depends on registry specific policy.  </t></section><section title="Acknowledgements" anchor="acknowledgements" toc="default"><t>We like to thank the following individuals for their valuable input, review, constructive criticism in earlier revisions or support for the concepts described in this document: </t><t>Maarten Wullink, Marco Davids, Ed Lewis, James Mitchell, David Peal, Patrik Faltstrom, Klaus Malorny, James Gould, Patrick Mevzek, Seth Goldman, Maarten Bosteels, Ulrich Wisser, Kees Monshouwer and Scott Hollenbeck.  </t></section> </middle>
  <back><references title="Normative References"><reference anchor="RFC2119"><front><title abbrev="RFC Key Words">Key words for use in RFCs to Indicate Requirement Levels</title><author initials="S." surname="Bradner" fullname="Scott Bradner"><organization>Harvard University</organization><address><postal><street>1350 Mass. Ave.</street><street>Cambridge</street><street>MA 02138</street></postal><phone>- +1 617 495 3864</phone><email>sob@harvard.edu</email></address></author><date year="1997" month="March"/><area>General</area><keyword>keyword</keyword><abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized.  This document defines these words as they should be interpreted in IETF documents.  Authors who follow these guidelines should incorporate this phrase near the beginning of their document: <list><t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.  </t></list></t><t>Note that the force of these words is modified by the requirement level of the document in which they are used.  </t></abstract></front><seriesInfo name="BCP" value="14"/><seriesInfo name="RFC" value="2119"/><format type="TXT" octets="4723" target="http://www.rfc-editor.org/rfc/rfc2119.txt"/><format type="HTML" octets="17970" target="http://xml.resource.org/public/rfc/html/rfc2119.html"/><format type="XML" octets="5777" target="http://xml.resource.org/public/rfc/xml/rfc2119.xml"/></reference> <reference anchor="RFC3688"><front><title>The IETF XML Registry</title><author initials="M." surname="Mealling" fullname="M. Mealling"><organization/></author><date year="2004" month="January"/><abstract><t>This document describes an IANA maintained registry for IETF standards which use Extensible Markup Language (XML) related items such as Namespaces, Document Type Declarations (DTDs), Schemas, and Resource Description Framework (RDF) Schemas.</t></abstract></front><seriesInfo name="BCP" value="81"/><seriesInfo name="RFC" value="3688"/><format type="TXT" octets="17325" target="http://www.rfc-editor.org/rfc/rfc3688.txt"/></reference> <reference anchor="RFC5730"><front><title>Extensible Provisioning Protocol (EPP)</title><author initials="S." surname="Hollenbeck" fullname="S. Hollenbeck"><organization/></author><date year="2009" month="August"/><abstract><t>This document describes an application-layer client-server protocol for the provisioning and management of objects stored in a shared central repository.  Specified in XML, the protocol defines generic object management operations and an extensible framework that maps protocol operations to objects.  This document includes a protocol specification, an object mapping template, and an XML media type registration.  This document obsoletes RFC 4930. [STANDARDS-TRACK]</t></abstract></front><seriesInfo name="STD" value="69"/><seriesInfo name="RFC" value="5730"/><format type="TXT" octets="134464" target="http://www.rfc-editor.org/rfc/rfc5730.txt"/></reference> <reference anchor="RFC5731"><front><title>Extensible Provisioning Protocol (EPP) Domain Name Mapping</title><author initials="S." surname="Hollenbeck" fullname="S. Hollenbeck"><organization/></author><date year="2009" month="August"/><abstract><t>This document describes an Extensible Provisioning Protocol (EPP) mapping for the provisioning and management of Internet domain names stored in a shared central repository.  Specified in XML, the mapping defines EPP command syntax and semantics as applied to domain names.  This document obsoletes RFC 4931. [STANDARDS-TRACK]</t></abstract></front><seriesInfo name="STD" value="69"/><seriesInfo name="RFC" value="5731"/><format type="TXT" octets="87764" target="http://www.rfc-editor.org/rfc/rfc5731.txt"/></reference> <reference anchor="RFC5910"><front><title>Domain Name System (DNS) Security Extensions Mapping for the Extensible Provisioning Protocol (EPP)</title><author initials="J." surname="Gould" fullname="J. Gould"><organization/></author><author initials="S." surname="Hollenbeck" fullname="S. Hollenbeck"><organization/></author><date year="2010" month="May"/><abstract><t>This document describes an Extensible Provisioning Protocol (EPP) extension mapping for the provisioning and management of Domain Name System security (DNSSEC) extensions for domain names stored in a shared central repository.  Specified in XML, this mapping extends the EPP domain name mapping to provide additional features required for the provisioning of DNS security extensions.  This document obsoletes RFC 4310. [STANDARDS-TRACK]</t></abstract></front><seriesInfo name="RFC" value="5910"/><format type="TXT" octets="72490" target="http://www.rfc-editor.org/rfc/rfc5910.txt"/></reference> </references><references title="Informative References"><reference anchor="I-D.koch-dnsop-dnssec-operator-change"><front><title>Changing DNS Operators for DNSSEC signed Zones</title><author initials="P" surname="Koch" fullname="Peter Koch"><organization/></author><author initials="M" surname="Sanz" fullname="Marcos Sanz"><organization/></author><author initials="A" surname="Verschuren" fullname="Antoin Verschuren"><organization/></author><date month="February" day="14" year="2014"/><abstract><t>Changing the DNS delegation for a DNS zone is quite involved if done by the books, but most often handled pragmatically in today's operational practice at the top level with registries and registrars. This document describes a delegation change procedure that maintains consistency and validation under DNSSEC.</t></abstract></front><seriesInfo name="Internet-Draft" value="draft-koch-dnsop-dnssec-operator-change-06"/><format type="TXT" target="http://www.ietf.org/internet-drafts/draft-koch-dnsop-dnssec-operator-change-06.txt"/></reference> <reference anchor="RFC7451"><front><title>Extension Registry for the Extensible Provisioning Protocol</title><author initials="S." surname="Hollenbeck" fullname="S. Hollenbeck"><organization/></author><date year="2015" month="February"/><abstract><t>The Extensible Provisioning Protocol (EPP) includes features to add functionality by extending the protocol.  It does not, however, describe how those extensions are managed.  This document describes a procedure for the registration and management of extensions to EPP, and it specifies a format for an IANA registry to record those extensions.</t></abstract></front><seriesInfo name="RFC" value="7451"/><format type="TXT" octets="20373" target="http://www.rfc-editor.org/rfc/rfc7451.txt"/></reference> </references><!--This document was prepared using Pandoc2rfc, https://github.com/miekg/pandoc2rfc --><section title="Changelog" anchor="changelog" toc="default"><t>[This section should be removed by the RFC editor before publishing] </t><section title="draft-gieben-epp-keyrelay-00" anchor="draft-gieben-epp-keyrelay-00" toc="default"><t><list style="numbers"><t>Initial document.  </t></list></t></section><section title="draft-gieben-epp-keyrelay-01" anchor="draft-gieben-epp-keyrelay-01" toc="default"><t><list style="numbers"><t>Style and grammar changes; </t><t>Added an expire element as per suggestion by Klaus Malorny; </t><t>Make the authInfo element mandatory and make the registry check it as per feedback by Klaus Malorny and James Gould.  </t></list></t></section><section title="draft-gieben-epp-keyrelay-02" anchor="draft-gieben-epp-keyrelay-02" toc="default"><t><list style="numbers"><t>Added element to identify the relaying EPP client as suggested by Klaus Malorny; </t><t>Corrected XML for missing and excess clTRID as noted by Patrick Mevzek; </t><t>Added clarifications for the examples based on feedback by Patrick Mevzeck; </t><t>Reviewed the consistency of using DNS operator versus registrar after review comments by Patrick Faltstrom and Ed Lewis.  </t></list></t></section><section title="draft-gieben-epp-keyrelay-03" anchor="draft-gieben-epp-keyrelay-03" toc="default"><t><list style="numbers"><t>Style and grammar changes </t><t>Corrected acknowledgement section </t><t>Corrected XML for Expire element to not be mandatory but only occur once.  </t></list></t></section><section title="draft-ietf-eppext-keyrelay-00" anchor="draft-ietf-eppext-keyrelay-00" toc="default"><t><list style="numbers"><t>Added feedback from Seth Goldman and put him in the acknowledgement section.  </t><t>IDnits formatting ajustments </t></list></t></section><section title="draft-ietf-eppext-keyrelay-01" anchor="draft-ietf-eppext-keyrelay-01" toc="default"><t><list style="numbers"><t>Introducing the &lt;relay&gt; command, and thus separating the data and the command.  </t><t>Updated the Introduction, describing the general use of relay vs the intended use-case of relaying DNSSEC key data.  </t><t>Restructuring the document to make it more inline with existing EPP extensions.  </t></list></t></section><section title="draft-ietf-eppext-keyrelay-02" anchor="draft-ietf-eppext-keyrelay-02" toc="default"><t><list style="numbers"><t>Updated the XML structure by removing th &lt;&gt; command based on WG feedback </t><t>Updated the wording </t></list></t></section><section title="draft-ietf-eppext-keyrelay-03" anchor="draft-ietf-eppext-keyrelay-03" toc="default"><t><list style="numbers"><t>Updated the document title in the EPP Extension Registry section </t><t>Restored Acknowledgement section, thanks to Marco Davids </t><t>Incorperated feedback from Patrick Mevzek </t></list></t></section><section title="draft-ietf-eppext-keyrelay-04" anchor="draft-ietf-eppext-keyrelay-04" toc="default"><t><list style="numbers"><t>Incorperated feedback from James Gould </t><t>Added additional text when server is aware that receiving clients do not support keyrelay transactions or DNSSEC as suggested by Kees Monshouwer.  </t><t>Added additional text for supporting key revocation as suggested by Kees Monshouwer </t><t>Updated some of the wording </t><t>Fix the usage of multiple keys in a create message </t></list></t></section><section title="draft-ietf-eppext-keyrelay-05" anchor="draft-ietf-eppext-keyrelay-05" toc="default"><t><list style="numbers"><t>Review comments after WG last call </t></list></t></section></section> </back>
</rfc>
