<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="info" docName="draft-gajcowski-cnsa-ssh-profile-07" indexInclude="true" ipr="trust200902" number="9212" prepTime="2022-03-14T18:43:37" scripts="Common,Latin" sortRefs="true" submissionType="independent" symRefs="true" tocDepth="2" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-gajcowski-cnsa-ssh-profile-07" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9212" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="CNSA Suite SSH Profile">Commercial National Security Algorithm (CNSA) Suite Cryptography for Secure Shell (SSH)</title>
    <seriesInfo name="RFC" value="9212" stream="independent"/>
    <author fullname="Nicholas Gajcowski" initials="N." surname="Gajcowski">
      <organization abbrev="NSA" showOnFrontPage="true">National Security Agency</organization>
      <address>
        <email>nhgajco@uwe.nsa.gov</email>
      </address>
    </author>
    <author fullname="Michael Jenkins" initials="M." surname="Jenkins">
      <organization abbrev="NSA" showOnFrontPage="true">National Security Agency</organization>
      <address>
        <email>mjjenki@cyber.nsa.gov</email>
      </address>
    </author>
    <date month="03" year="2022"/>
    <keyword>NSS</keyword>
    <keyword>remote administration</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">The United States Government has published the National Security
      Agency (NSA) Commercial National Security Algorithm (CNSA) Suite, which
      defines cryptographic algorithm policy for national security
      applications. This document specifies the conventions for using the
      United States National Security Agency's CNSA Suite algorithms with the
      Secure Shell Transport Layer Protocol and the Secure Shell
      Authentication Protocol. It applies to the capabilities, configuration,
      and operation of all components of US National Security Systems
      (described in NIST Special Publication 800-59) that employ Secure Shell
      (SSH).  This document is also appropriate for all other US Government
      systems that process high-value information. It is made publicly
      available for use by developers and operators of these and any other
      system deployments.
</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This document is not an Internet Standards Track specification; it is
            published for informational purposes.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This is a contribution to the RFC Series, independently of any
            other RFC stream.  The RFC Editor has chosen to publish this
            document at its discretion and makes no statement about its value
            for implementation or deployment.  Documents approved for
            publication by the RFC Editor are not candidates for any level of
            Internet Standard; see Section 2 of RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9212" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2022 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) 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.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-commercial-national-sec">The Commercial National Security Algorithm Suite</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-cnsa-and-secure-shell">CNSA and Secure Shell</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-mechanism-negotiat">Security Mechanism Negotiation and Initialization</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-key-exchange">Key Exchange</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ecdh-key-exchange">ECDH Key Exchange</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-dh-key-exchange">DH Key Exchange</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-authentication">Authentication</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-server-authentication">Server Authentication</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-user-authentication">User Authentication</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-confidentiality-and-data-in">Confidentiality and Data Integrity of SSH Binary Packets</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-galois-counter-mode">Galois/Counter Mode</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-data-integrity">Data Integrity</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rekeying">Rekeying</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="11" format="counter" sectionFormat="of" target="section-11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="12" format="counter" sectionFormat="of" target="section-12"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.12.2">
              <li pn="section-toc.1-1.12.2.1">
                <t indent="0" pn="section-toc.1-1.12.2.1.1"><xref derivedContent="12.1" format="counter" sectionFormat="of" target="section-12.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.2">
                <t indent="0" pn="section-toc.1-1.12.2.2.1"><xref derivedContent="12.2" format="counter" sectionFormat="of" target="section-12.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="intro" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">This document specifies conventions for using the United States
      National Security Agency's CNSA Suite algorithms <xref target="CNSA" format="default" sectionFormat="of" derivedContent="CNSA"/> with the Secure Shell Transport Layer Protocol <xref target="RFC4253" format="default" sectionFormat="of" derivedContent="RFC4253"/> and the Secure Shell Authentication
      Protocol <xref target="RFC4252" format="default" sectionFormat="of" derivedContent="RFC4252"/>. It applies to the
      capabilities, configuration, and operation of all components of US
      National Security Systems (described in NIST Special Publication 800-59
      <xref target="SP80059" format="default" sectionFormat="of" derivedContent="SP80059"/>) that employ SSH.  This
      document is also appropriate for all other US Government systems that
      process high-value information. It is made publicly available for use by
      developers and operators of these and any other system deployments.
</t>
    </section>
    <section anchor="terminology" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>",
    "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be
    interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as
    shown here.
      </t>
    </section>
    <section anchor="cnsa" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-the-commercial-national-sec">The Commercial National Security Algorithm Suite</name>
      <t indent="0" pn="section-3-1">The NSA profiles commercial cryptographic algorithms and
      protocols as part of its mission to support secure, interoperable communications for US
      Government National Security Systems. To this end, it publishes guidance both to assist
      with the US Government's transition to new algorithms and to provide vendors -- and the
      Internet community in general -- with information concerning their proper use and
      configuration.</t>
      <t indent="0" pn="section-3-2">Recently, cryptographic transition plans have become overshadowed by the prospect of the
      development of a cryptographically relevant quantum computer. The NSA has established the
      Commercial National Security Algorithm (CNSA) Suite to provide vendors and IT users
      near-term flexibility in meeting their information assurance interoperability requirements
      using current cryptography. The purpose behind this flexibility is to avoid vendors and
      customers making two major transitions (i.e., to elliptic curve cryptography and then to
      post-quantum cryptography) in a relatively short timeframe, as we anticipate a need to
      shift to quantum-resistant cryptography in the near future.</t>
      <t indent="0" pn="section-3-3">The NSA is authoring a set of RFCs, including this one, to provide updated guidance
      concerning the use of certain commonly available commercial algorithms in IETF protocols.
      These RFCs can be used in conjunction with other RFCs and cryptographic guidance (e.g.,
      NIST Special Publications) to properly protect Internet traffic and data-at-rest for US
      Government National Security Systems.</t>
    </section>
    <section anchor="cnsa-and-ssh" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-cnsa-and-secure-shell">CNSA and Secure Shell</name>
      <t indent="0" pn="section-4-1">Several RFCs have documented how each of the CNSA components are to be integrated into Secure Shell (SSH):

</t>
      <t indent="0" pn="section-4-2">kex algorithms:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-3">
        <li pn="section-4-3.1">ecdh-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
        <li pn="section-4-3.2">diffie-hellman-group15-sha512 <xref target="RFC8268" format="default" sectionFormat="of" derivedContent="RFC8268"/></li>
        <li pn="section-4-3.3">diffie-hellman-group16-sha512 <xref target="RFC8268" format="default" sectionFormat="of" derivedContent="RFC8268"/></li>
      </ul>
      <t indent="0" pn="section-4-4">public key algorithms:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-5">
        <li pn="section-4-5.1">ecdsa-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
        <li pn="section-4-5.2">rsa-sha2-512 <xref target="RFC8332" format="default" sectionFormat="of" derivedContent="RFC8332"/></li>
      </ul>
      <t indent="0" pn="section-4-6">encryption algorithms (both client_to_server and server_to_client):</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-7">
        <li pn="section-4-7.1">AEAD_AES_256_GCM <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/></li>
      </ul>
      <t indent="0" pn="section-4-8">message authentication code (MAC) algorithms (both client_to_server and server_to_client):</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-9">
        <li pn="section-4-9.1">AEAD_AES_256_GCM <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/></li>
      </ul>
      <t indent="0" pn="section-4-10">While the approved CNSA hash function for all purposes is SHA-384, as defined in <xref target="FIPS180" format="default" sectionFormat="of" derivedContent="FIPS180"/>, commercial products are more likely to incorporate the kex algorithms and public key algorithms based on SHA-512 (sha2-512), which are defined in <xref target="RFC8268" format="default" sectionFormat="of" derivedContent="RFC8268"/> and <xref target="RFC8332" format="default" sectionFormat="of" derivedContent="RFC8332"/>. Therefore, the SHA-384-based kex and public key algorithms <bcp14>SHOULD</bcp14> be used; SHA-512-based algorithms <bcp14>MAY</bcp14> be used. Any hash algorithm other than SHA-384 or SHA-512 <bcp14>MUST NOT</bcp14> be used.
</t>
      <t indent="0" pn="section-4-11">Use of the Advanced Encryption Standard in Galois/Counter Mode (AES-GCM) shall meet the requirements set forth in <xref target="SP800-38D" format="default" sectionFormat="of" derivedContent="SP800-38D"/>, with the additional requirements that all 16 octets of the authentication tag <bcp14>MUST</bcp14> be used as the SSH data integrity value and that AES is used with a 256-bit key. Use of AES-GCM in SSH should be done as described in <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/>, with the exception that AES-GCM need not be listed as the MAC algorithm when its use is implicit (such as done in aes256-gcm@openssh.com). In addition, <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/> fails to specify that the AES-GCM invocation counter is incremented mod 2<sup>64</sup>. CNSA implementations <bcp14>MUST</bcp14> ensure the counter never repeats and is properly incremented after processing a binary packet:</t>
      <t indent="3" pn="section-4-12">invocation_counter = invocation_counter + 1  mod 2<sup>64</sup>.</t>
      <t indent="0" pn="section-4-13">The purpose of this document is to draw upon all of these documents to provide guidance for CNSA-compliant implementations of Secure Shell. Algorithms specified in this document may be different from mandatory-to-implement algorithms; where this occurs, the latter will be present but not used. Note that, while compliant Secure Shell implementations <bcp14>MUST</bcp14> follow the guidance in this document, that requirement does not in and of itself imply that a given implementation of Secure Shell is suitable for use national security systems. An implementation must be validated by the appropriate authority before such usage is permitted.
</t>
    </section>
    <section anchor="sec-mech-neg-init" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-security-mechanism-negotiat">Security Mechanism Negotiation and Initialization</name>
      <t indent="0" pn="section-5-1">As described in <xref target="RFC4253" section="7.1" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc4253#section-7.1" derivedContent="RFC4253"/>, the exchange of SSH_MSG_KEXINIT between the server and the client establishes which key agreement algorithm, MAC algorithm, host key algorithm (server authentication algorithm), and encryption algorithm are to be used. This section specifies the use of CNSA components in the Secure Shell algorithm negotiation, key agreement, server authentication, and user authentication.
</t>
      <t indent="0" pn="section-5-2">The choice of all but the user authentication methods is determined by the exchange of SSH_MSG_KEXINIT between the client and the server.
      </t>
      <t indent="0" pn="section-5-3">The kex_algorithms name-list is used to negotiate a single key agreement algorithm between the server and client in accordance with the guidance given in <xref target="cnsa-and-ssh" format="default" sectionFormat="of" derivedContent="Section 4"/>. While <xref target="RFC9142" format="default" sectionFormat="of" derivedContent="RFC9142"/> establishes general guidance on the capabilities of SSH implementations and requires support for "diffie-hellman-group14-sha256", it <bcp14>MUST NOT</bcp14> be used. The result <bcp14>MUST</bcp14> be one of the following kex_algorithms, or the connection <bcp14>MUST</bcp14> be terminated:

</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-4">
        <li pn="section-5-4.1">ecdh-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
        <li pn="section-5-4.2">diffie-hellman-group15-sha512 <xref target="RFC8268" format="default" sectionFormat="of" derivedContent="RFC8268"/></li>
        <li pn="section-5-4.3">diffie-hellman-group16-sha512 <xref target="RFC8268" format="default" sectionFormat="of" derivedContent="RFC8268"/></li>
      </ul>
      <t indent="0" pn="section-5-5">One of the following sets <bcp14>MUST</bcp14> be used for the encryption_algorithms and mac_algorithms name-lists. Either set <bcp14>MAY</bcp14> be used for each direction (i.e., client_to_server or server_to_client), but the result must be the same (i.e., use of AEAD_AES_256_GCM). </t>
      <t indent="3" pn="section-5-6">encryption_algorithm_name_list := { AEAD_AES_256_GCM }</t>
      <t indent="3" pn="section-5-7">mac_algorithm_name_list := { AEAD_AES_256_GCM }</t>
      <t indent="0" pn="section-5-8"> or</t>
      <t indent="3" pn="section-5-9">encryption_algorithm_name_list := { aes256-gcm@openssh.com }</t>
      <t indent="3" pn="section-5-10">mac_algorithm_name_list := {}</t>
      <t indent="0" pn="section-5-11">One of the following public key algorithms <bcp14>MUST</bcp14> be used:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-12">
        <li pn="section-5-12.1">rsa-sha2-512 <xref target="RFC8332" format="default" sectionFormat="of" derivedContent="RFC8332"/></li>
        <li pn="section-5-12.2">ecdsa-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
      </ul>
      <t indent="0" pn="section-5-13">The procedures for applying the negotiated algorithms are given in the following sections.
</t>
    </section>
    <section anchor="kex" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-key-exchange">Key Exchange</name>
      <t indent="0" pn="section-6-1">The key exchange to be used is determined by the name-lists exchanged in the SSH_MSG_KEXINIT packets, as described above. Either Elliptic Curve Diffie-Hellman (ECDH) or Diffie-Hellman (DH) <bcp14>MUST</bcp14> be used to establish a shared secret value between the client and the server. 
</t>
      <t indent="0" pn="section-6-2">A compliant system <bcp14>MUST NOT</bcp14> allow the reuse of ephemeral/exchange values in a key exchange algorithm due to security concerns related to this practice.
Section 5.6.3.3 of <xref target="SP80056A" format="default" sectionFormat="of" derivedContent="SP80056A"/> states that an ephemeral private key shall be used in exactly one key establishment transaction and shall be destroyed (zeroized) as soon as possible. Section 5.8 of <xref target="SP80056A" format="default" sectionFormat="of" derivedContent="SP80056A"/> states that such shared secrets shall be destroyed (zeroized) immediately after its use. CNSA-compliant systems <bcp14>MUST</bcp14> follow these mandates.
</t>
      <section anchor="ecdh-kex" numbered="true" toc="include" removeInRFC="false" pn="section-6.1">
        <name slugifiedName="name-ecdh-key-exchange">ECDH Key Exchange</name>
        <t indent="0" pn="section-6.1-1">The key exchange begins with the SSH_MSG_KEXECDH_INIT message that contains the client's ephemeral public key used to generate a shared secret value.
</t>
        <t indent="0" pn="section-6.1-2">The server responds to an SSH_MSG_KEXECDH_INIT message with an SSH_MSG_KEXECDH_REPLY message that contains the server's ephemeral public key, the server's public host key, and a signature of the exchange hash value formed from the newly established shared secret value. The kex algorithm <bcp14>MUST</bcp14> be ecdh-sha2-nistp384, and the public key algorithm <bcp14>MUST</bcp14> be either ecdsa-sha2-nistp384 or rsa-sha2-512.
</t>
      </section>
      <section anchor="dh-kex" numbered="true" toc="include" removeInRFC="false" pn="section-6.2">
        <name slugifiedName="name-dh-key-exchange">DH Key Exchange</name>
        <t indent="0" pn="section-6.2-1">The key exchange begins with the SSH_MSG_KEXDH_INIT message that contains the client's DH exchange value used to generate a shared secret value.
</t>
        <t indent="0" pn="section-6.2-2">The server responds to an SSH_MSG_KEXDH_INIT message with an SSH_MSG_KEXDH_REPLY message that contains the server's DH exchange value, the server's public host key, and a signature of the exchange hash value formed from the newly established shared secret value. The kex algorithm <bcp14>MUST</bcp14> be one of diffie-hellman-group15-sha512 or diffie-hellman-group16-sha512, and the public key algorithm <bcp14>MUST</bcp14> be either ecdsa-sha2-nistp384 or rsa-sha2-512.
</t>
      </section>
    </section>
    <section anchor="authn" numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-authentication">Authentication</name>
      <section anchor="serv-authn" numbered="true" toc="include" removeInRFC="false" pn="section-7.1">
        <name slugifiedName="name-server-authentication">Server Authentication</name>
        <t indent="0" pn="section-7.1-1">A signature on the exchange hash value derived from the newly established shared secret value is used to authenticate the server to the client. Servers <bcp14>MUST</bcp14> be authenticated using digital signatures. The public key algorithm implemented <bcp14>MUST</bcp14> be ecdsa-sha2-nistp384 or rsa-sha2-512. The RSA public key modulus <bcp14>MUST</bcp14> be 3072 or 4096 bits in size; clients <bcp14>MUST NOT</bcp14> accept RSA signatures from a public key modulus of any other size.
</t>
        <t indent="0" pn="section-7.1-2">The following public key algorithms <bcp14>MUST</bcp14> be used:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-7.1-3">
          <li pn="section-7.1-3.1">ecdsa-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
          <li pn="section-7.1-3.2">rsa-sha2-512 <xref target="RFC8332" format="default" sectionFormat="of" derivedContent="RFC8332"/></li>
        </ul>
        <t indent="0" pn="section-7.1-4">The client <bcp14>MUST</bcp14> verify that the presented key is a valid authenticator for the server before verifying the server signature. If possible, validation <bcp14>SHOULD</bcp14> be done using certificates. Otherwise, the client <bcp14>MUST</bcp14> validate the presented public key through some other secure, possibly off-line mechanism. Implementations <bcp14>MUST NOT</bcp14> employ a "Trust on First Use (TOFU)" security model where a client accepts the first public host key presented to it from a not-yet-verified server. Use of a TOFU model would allow an intermediate adversary to present itself to the client as the server.
</t>
        <t indent="0" pn="section-7.1-5">Where X.509 v3 Certificates are used, their use <bcp14>MUST</bcp14> comply with <xref target="RFC8603" format="default" sectionFormat="of" derivedContent="RFC8603"/>.</t>
      </section>
      <section anchor="user-authn" numbered="true" toc="include" removeInRFC="false" pn="section-7.2">
        <name slugifiedName="name-user-authentication">User Authentication</name>
        <t indent="0" pn="section-7.2-1">The Secure Shell Transport Layer Protocol authenticates the server to the host but does not authenticate the user (or the user's host) to the server. All users <bcp14>MUST</bcp14> be authenticated, <bcp14>MUST</bcp14> follow <xref target="RFC4252" format="default" sectionFormat="of" derivedContent="RFC4252"/>, and <bcp14>SHOULD</bcp14> be authenticated using a public key method. Users <bcp14>MAY</bcp14> authenticate using passwords. Other methods of authentication <bcp14>MUST</bcp14> not be used, including "none".
</t>
        <t indent="0" pn="section-7.2-2">When authenticating with public key, the following public key algorithms <bcp14>MUST</bcp14> be used:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-7.2-3">
          <li pn="section-7.2-3.1">ecdsa-sha2-nistp384 <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/></li>
          <li pn="section-7.2-3.2">rsa-sha2-512 <xref target="RFC8332" format="default" sectionFormat="of" derivedContent="RFC8332"/></li>
        </ul>
        <t indent="0" pn="section-7.2-4">The server <bcp14>MUST</bcp14> verify that the public key is a valid authenticator for the user. If possible, validation <bcp14>SHOULD</bcp14> be done using certificates. Otherwise, the server must validate the public key through another secure, possibly off-line mechanism.
</t>
        <t indent="0" pn="section-7.2-5">Where X.509 v3 Certificates are used, their use <bcp14>MUST</bcp14> comply with <xref target="RFC8603" format="default" sectionFormat="of" derivedContent="RFC8603"/>.
</t>
        <t indent="0" pn="section-7.2-6">If authenticating with RSA, the client's public key modulus <bcp14>MUST</bcp14> be 3072 or 4096 bits in size, and the server <bcp14>MUST NOT</bcp14> accept signatures from an RSA public key modulus of any other size.
</t>
        <t indent="0" pn="section-7.2-7">To facilitate client authentication with RSA using SHA-512, clients and servers <bcp14>SHOULD</bcp14> implement the server-sig-algs extension, as specified in <xref target="RFC8308" format="default" sectionFormat="of" derivedContent="RFC8308"/>. In that case, in the SSH_MSG_KEXINIT, the client <bcp14>SHALL</bcp14> include the indicator ext-info-c to the kex_algorithms field, and the server <bcp14>SHOULD</bcp14> respond with an SSH_MSG_EXT_INFO message containing the server-sig-algs extension. The server <bcp14>MUST</bcp14> list only ecdsa-sha2-nistp384 and/or rsa-sha2-512 as the acceptable public key algorithms in this response.
</t>
        <t indent="0" pn="section-7.2-8">If authenticating by passwords, it is essential that passwords have sufficient entropy to protect against dictionary attacks. During authentication, the password <bcp14>MUST</bcp14> be protected in the established encrypted communications channel. Additional guidelines are provided in <xref target="SP80063" format="default" sectionFormat="of" derivedContent="SP80063"/>.
</t>
      </section>
    </section>
    <section anchor="pkt-conf-and-integ" numbered="true" toc="include" removeInRFC="false" pn="section-8">
      <name slugifiedName="name-confidentiality-and-data-in">Confidentiality and Data Integrity of SSH Binary Packets</name>
      <t indent="0" pn="section-8-1">Secure Shell transfers data between the client and the server using its own binary packet structure. The SSH binary packet structure is independent of any packet structure on the underlying data channel. The contents of each binary packet and portions of the header are encrypted, and each packet is authenticated with its own message authentication code. Use of AES-GCM will both encrypt the packet and form a 16-octet authentication tag to ensure data integrity.
</t>
      <section anchor="gcm" numbered="true" toc="include" removeInRFC="false" pn="section-8.1">
        <name slugifiedName="name-galois-counter-mode">Galois/Counter Mode</name>
        <t indent="0" pn="section-8.1-1">Use of AES-GCM in Secure Shell is described in <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/>. CNSA-complaint SSH implementations <bcp14>MUST</bcp14> support AES-GCM (negotiated as AEAD_AES_GCM_256 or aes256-gcm@openssh; see <xref target="sec-mech-neg-init" format="default" sectionFormat="of" derivedContent="Section 5"/>) to provide confidentiality and ensure data integrity. No other confidentiality or data integrity algorithms are permitted.
</t>
        <t indent="0" pn="section-8.1-2">The AES-GCM invocation counter is incremented mod 2<sup>64</sup>. That is, after processing a binary packet:</t>
        <t indent="3" pn="section-8.1-3">invocation_counter = invocation_counter + 1 mod 2<sup>64</sup></t>
        <t indent="0" pn="section-8.1-4">The invocation counter <bcp14>MUST NOT</bcp14> repeat a counter value.</t>
      </section>
      <section anchor="data-integ" numbered="true" toc="include" removeInRFC="false" pn="section-8.2">
        <name slugifiedName="name-data-integrity">Data Integrity</name>
        <t indent="0" pn="section-8.2-1">As specified in <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/>, all 16 octets of the
	authentication tag <bcp14>MUST</bcp14> be used as the SSH data integrity value of the SSH
	binary packet.</t>
      </section>
    </section>
    <section anchor="rekeying" numbered="true" toc="include" removeInRFC="false" pn="section-9">
      <name slugifiedName="name-rekeying">Rekeying</name>
      <t indent="0" pn="section-9-1"><xref target="RFC4253" section="9" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc4253#section-9" derivedContent="RFC4253"/> allows either the server or the client to initiate a "key re-exchange ... by sending an SSH_MSG_KEXINIT packet" and to "change some or all of the [cipher] algorithms during the re-exchange".  This specification requires the same cipher suite to be employed when rekeying; that is, the cipher algorithms <bcp14>MUST NOT</bcp14> be changed when a rekey occurs.
</t>
    </section>
    <section anchor="sec-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-10">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-10-1">The security considerations of <xref target="RFC4251" format="default" sectionFormat="of" derivedContent="RFC4251"/>, <xref target="RFC4252" format="default" sectionFormat="of" derivedContent="RFC4252"/>, <xref target="RFC4253" format="default" sectionFormat="of" derivedContent="RFC4253"/>, <xref target="RFC5647" format="default" sectionFormat="of" derivedContent="RFC5647"/>, and <xref target="RFC5656" format="default" sectionFormat="of" derivedContent="RFC5656"/>
      apply.</t>
    </section>
    <section anchor="iana" numbered="true" toc="include" removeInRFC="false" pn="section-11">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-11-1">This document has no IANA actions.</t>
    </section>
  </middle>
  <back>
    <references pn="section-12">
      <name slugifiedName="name-references">References</name>
      <references pn="section-12.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="CNSA" target="https://www.cnss.gov/CNSS/Issuances/Policies.cfm" quoteTitle="true" derivedAnchor="CNSA">
          <front>
            <title>Use of Public Standards for Secure Information Sharing</title>
            <author>
              <organization showOnFrontPage="true">Committee for National Security Systems</organization>
            </author>
            <date month="October" year="2016"/>
          </front>
          <seriesInfo name="CNSSP" value="15"/>
        </reference>
        <reference anchor="FIPS180" target="https://doi.org/10.6028/NIST.FIPS.180-4" quoteTitle="true" derivedAnchor="FIPS180">
          <front>
            <title>Secure Hash Standard (SHS)</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
          <seriesInfo name="FIPS PUB" value="180-4"/>
          <seriesInfo name="DOI" value="10.6028/NIST.FIPS.180-4"/>
        </reference>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">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.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC4251" target="https://www.rfc-editor.org/info/rfc4251" quoteTitle="true" derivedAnchor="RFC4251">
          <front>
            <title>The Secure Shell (SSH) Protocol Architecture</title>
            <author initials="T." surname="Ylonen" fullname="T. Ylonen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Lonvick" fullname="C. Lonvick" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2006" month="January"/>
            <abstract>
              <t indent="0">The Secure Shell (SSH) Protocol is a protocol for secure remote login and other secure network services over an insecure network.  This document describes the architecture of the SSH protocol, as well as the notation and terminology used in SSH protocol documents.  It also discusses the SSH algorithm naming system that allows local extensions.  The SSH protocol consists of three major components: The Transport Layer Protocol provides server authentication, confidentiality, and integrity with perfect forward secrecy.  The User Authentication Protocol authenticates the client to the server.  The Connection Protocol multiplexes the encrypted tunnel into several logical channels.  Details of these protocols are described in separate documents.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4251"/>
          <seriesInfo name="DOI" value="10.17487/RFC4251"/>
        </reference>
        <reference anchor="RFC4252" target="https://www.rfc-editor.org/info/rfc4252" quoteTitle="true" derivedAnchor="RFC4252">
          <front>
            <title>The Secure Shell (SSH) Authentication Protocol</title>
            <author initials="T." surname="Ylonen" fullname="T. Ylonen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Lonvick" fullname="C. Lonvick" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2006" month="January"/>
            <abstract>
              <t indent="0">The Secure Shell Protocol (SSH) is a protocol for secure remote login and other secure network services over an insecure network.  This document describes the SSH authentication protocol framework and public key, password, and host-based client authentication methods. Additional authentication methods are described in separate documents. The SSH authentication protocol runs on top of the SSH transport layer protocol and provides a single authenticated tunnel for the SSH connection protocol.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4252"/>
          <seriesInfo name="DOI" value="10.17487/RFC4252"/>
        </reference>
        <reference anchor="RFC4253" target="https://www.rfc-editor.org/info/rfc4253" quoteTitle="true" derivedAnchor="RFC4253">
          <front>
            <title>The Secure Shell (SSH) Transport Layer Protocol</title>
            <author initials="T." surname="Ylonen" fullname="T. Ylonen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Lonvick" fullname="C. Lonvick" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2006" month="January"/>
            <abstract>
              <t indent="0">The Secure Shell (SSH) is a protocol for secure remote login and other secure network services over an insecure network.</t>
              <t indent="0">This document describes the SSH transport layer protocol, which typically runs on top of TCP/IP.  The protocol can be used as a basis for a number of secure network services.  It provides strong encryption, server authentication, and integrity protection.  It may also provide compression.</t>
              <t indent="0">Key exchange method, public key algorithm, symmetric encryption algorithm, message authentication algorithm, and hash algorithm are all negotiated.</t>
              <t indent="0">This document also describes the Diffie-Hellman key exchange method and the minimal set of algorithms that are needed to implement the SSH transport layer protocol.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4253"/>
          <seriesInfo name="DOI" value="10.17487/RFC4253"/>
        </reference>
        <reference anchor="RFC5647" target="https://www.rfc-editor.org/info/rfc5647" quoteTitle="true" derivedAnchor="RFC5647">
          <front>
            <title>AES Galois Counter Mode for the Secure Shell Transport Layer Protocol</title>
            <author initials="K." surname="Igoe" fullname="K. Igoe">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Solinas" fullname="J. Solinas">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2009" month="August"/>
            <abstract>
              <t indent="0">Secure shell (SSH) is a secure remote-login protocol.  SSH provides for algorithms that provide authentication, key agreement, confidentiality, and data-integrity services.  The purpose of this document is to show how the AES Galois Counter Mode can be used to provide both confidentiality and data integrity to the SSH Transport Layer Protocol.  This memo provides information for the Internet  community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5647"/>
          <seriesInfo name="DOI" value="10.17487/RFC5647"/>
        </reference>
        <reference anchor="RFC5656" target="https://www.rfc-editor.org/info/rfc5656" quoteTitle="true" derivedAnchor="RFC5656">
          <front>
            <title>Elliptic Curve Algorithm Integration in the Secure Shell Transport Layer</title>
            <author initials="D." surname="Stebila" fullname="D. Stebila">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Green" fullname="J. Green">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2009" month="December"/>
            <abstract>
              <t indent="0">This document describes algorithms based on Elliptic Curve Cryptography (ECC) for use within the Secure Shell (SSH) transport protocol.  In particular, it specifies Elliptic Curve Diffie-Hellman (ECDH) key agreement, Elliptic Curve Menezes-Qu-Vanstone (ECMQV) key agreement, and Elliptic Curve Digital Signature Algorithm (ECDSA) for use in the SSH Transport Layer protocol.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5656"/>
          <seriesInfo name="DOI" value="10.17487/RFC5656"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8268" target="https://www.rfc-editor.org/info/rfc8268" quoteTitle="true" derivedAnchor="RFC8268">
          <front>
            <title>More Modular Exponentiation (MODP) Diffie-Hellman (DH) Key Exchange (KEX) Groups for Secure Shell (SSH)</title>
            <author initials="M." surname="Baushke" fullname="M. Baushke">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="December"/>
            <abstract>
              <t indent="0">This document defines added Modular Exponentiation (MODP) groups for the Secure Shell (SSH) protocol using SHA-2 hashes.  This document updates RFC 4250.  This document updates RFC 4253 by correcting an error regarding checking the Peer's DH Public Key.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8268"/>
          <seriesInfo name="DOI" value="10.17487/RFC8268"/>
        </reference>
        <reference anchor="RFC8308" target="https://www.rfc-editor.org/info/rfc8308" quoteTitle="true" derivedAnchor="RFC8308">
          <front>
            <title>Extension Negotiation in the Secure Shell (SSH) Protocol</title>
            <author initials="D." surname="Bider" fullname="D. Bider">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="March"/>
            <abstract>
              <t indent="0">This memo updates RFCs 4251, 4252, 4253, and 4254 by defining a mechanism for Secure Shell (SSH) clients and servers to exchange information about supported protocol extensions confidentially after SSH key exchange.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8308"/>
          <seriesInfo name="DOI" value="10.17487/RFC8308"/>
        </reference>
        <reference anchor="RFC8332" target="https://www.rfc-editor.org/info/rfc8332" quoteTitle="true" derivedAnchor="RFC8332">
          <front>
            <title>Use of RSA Keys with SHA-256 and SHA-512 in the Secure Shell (SSH) Protocol</title>
            <author initials="D." surname="Bider" fullname="D. Bider">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="March"/>
            <abstract>
              <t indent="0">This memo updates RFCs 4252 and 4253 to define new public key algorithms for use of RSA keys with SHA-256 and SHA-512 for server and client authentication in SSH connections.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8332"/>
          <seriesInfo name="DOI" value="10.17487/RFC8332"/>
        </reference>
        <reference anchor="RFC8603" target="https://www.rfc-editor.org/info/rfc8603" quoteTitle="true" derivedAnchor="RFC8603">
          <front>
            <title>Commercial National Security Algorithm (CNSA) Suite Certificate and Certificate Revocation List (CRL) Profile</title>
            <author initials="M." surname="Jenkins" fullname="M. Jenkins">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="L." surname="Zieglar" fullname="L. Zieglar">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2019" month="May"/>
            <abstract>
              <t indent="0">This document specifies a base profile for X.509 v3 Certificates and X.509 v2 Certificate Revocation Lists (CRLs) for use with the United States National Security Agency's Commercial National Security Algorithm (CNSA) Suite.  The profile applies to the capabilities, configuration, and operation of all components of US National Security Systems that employ such X.509 certificates.  US National Security Systems are described in NIST Special Publication 800-59. It is also appropriate for all other US Government systems that process high-value information.  It is made publicly available for use by developers and operators of these and any other system deployments.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8603"/>
          <seriesInfo name="DOI" value="10.17487/RFC8603"/>
        </reference>
      </references>
      <references pn="section-12.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC9142" target="https://www.rfc-editor.org/info/rfc9142" quoteTitle="true" derivedAnchor="RFC9142">
          <front>
            <title>Key Exchange (KEX) Method Updates and Recommendations for Secure Shell (SSH)</title>
            <author initials="M." surname="Baushke" fullname="M. Baushke">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2022" month="January"/>
            <abstract>
              <t indent="0">This document updates the recommended set of key exchange methods for use in the Secure Shell (SSH) protocol to meet evolving needs for stronger security.  It updates RFCs 4250, 4253, 4432, and 4462.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9142"/>
          <seriesInfo name="DOI" value="10.17487/RFC9142"/>
        </reference>
        <reference anchor="SP800-38D" target="https://doi.org/10.6028/NIST.SP.800-38D" quoteTitle="true" derivedAnchor="SP800-38D">
          <front>
            <title>Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="November" year="2007"/>
          </front>
          <seriesInfo name="NIST Special Publication" value="800-38D"/>
          <seriesInfo name="DOI" value="10.6028/NIST.SP.800-38D"/>
        </reference>
        <reference anchor="SP80056A" target="https://doi.org/10.6028/NIST.SP.800-56Ar3" quoteTitle="true" derivedAnchor="SP80056A">
          <front>
            <title>Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="April" year="2018"/>
          </front>
          <refcontent>Revision 3</refcontent>
          <seriesInfo name="NIST Special Publication" value="800-56A"/>
          <seriesInfo name="DOI" value="10.6028/NIST.SP.800-56Ar3"/>
        </reference>
        <reference anchor="SP80059" target="https://doi.org/10.6028/NIST.SP.800-59" quoteTitle="true" derivedAnchor="SP80059">
          <front>
            <title>Guideline for Identifying an Information System as a National Security System</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="August" year="2003"/>
          </front>
          <seriesInfo name="NIST Special Publication" value="800-59"/>
          <seriesInfo name="DOI" value="10.6028/NIST.SP.800-59"/>
        </reference>
        <reference anchor="SP80063" target="https://doi.org/10.6028/NIST.SP.800-63-3" quoteTitle="true" derivedAnchor="SP80063">
          <front>
            <title>Digital Identity Guidelines</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="June" year="2017"/>
          </front>
          <seriesInfo name="NIST Special Publication" value="800-63-3"/>
          <seriesInfo name="DOI" value="10.6028/NIST.SP.800-63-3"/>
        </reference>
      </references>
    </references>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Nicholas Gajcowski" initials="N." surname="Gajcowski">
        <organization abbrev="NSA" showOnFrontPage="true">National Security Agency</organization>
        <address>
          <email>nhgajco@uwe.nsa.gov</email>
        </address>
      </author>
      <author fullname="Michael Jenkins" initials="M." surname="Jenkins">
        <organization abbrev="NSA" showOnFrontPage="true">National Security Agency</organization>
        <address>
          <email>mjjenki@cyber.nsa.gov</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
