<?xml version="1.0" encoding="UTF-8"?>
<!-- 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml' -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
    <!ENTITY rfc2104 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2104.xml'>
    <!ENTITY rfc2119 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
    <!ENTITY rfc3629 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.3629.xml'>
    <!ENTITY rfc4086 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4086.xml'>
    <!ENTITY rfc4422 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4422.xml'>
    <!ENTITY rfc4510 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4510.xml'>
    <!ENTITY rfc4616 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4616.xml'>
    <!ENTITY rfc4648 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4648.xml'>
    <!ENTITY rfc4949 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4949.xml'>
    <!ENTITY rfc5056 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5056.xml'>
    <!ENTITY rfc5226 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5226.xml'>
    <!ENTITY rfc5234 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5234.xml'>
    <!ENTITY rfc5246 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5246.xml'>
    <!ENTITY rfc5802 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5802.xml'>
    <!ENTITY rfc5929 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5929.xml'>
    <!ENTITY rfc6238 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.6238.xml'>
    <!ENTITY rfc6454 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.6454.xml'>
    <!ENTITY rfc8174 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.8174.xml'>
    <!ENTITY rfc8949 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.8949.xml'>
  ]>

  <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<?rfc toc="yes" ?>
<?rfc tocindent="no" ?>
<?rfc autobreaks="no" ?>
<?rfc comments="yes" ?>
<?rfc inline="yes" ?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no" ?>
<?rfc strict="no" ?>
<?rfc compact="no"?>

<rfc ipr="trust200902" category="std" docName="draft-ietf-kitten-scram-2fa-04">
    <front>
	<title abbrev="SCRAM 2FA extensions">Extensions to Salted Challenge Response (SCRAM) for 2 factor authentication</title>
	<author initials='A.' surname="Melnikov" fullname="Alexey Melnikov">
	    <organization>Isode Ltd</organization>
	    <address>
		<email>Alexey.Melnikov@isode.com</email>
	    </address>
	</author>
      
  <date year="2024"/>
	<area>Security</area>
	<keyword>SASL</keyword>
	<keyword>SCRAM</keyword>
	<keyword>KITTEN</keyword>
	<keyword>2FA</keyword>
	<keyword>reauthentication</keyword>
	<keyword>Passkey</keyword>
	<abstract>

    <t>
    This specification describes an extension to family of Simple Authentication and
    Security Layer (SASL; RFC 4422) authentication mechanisms called the
    Salted Challenge Response Authentication Mechanism (SCRAM), which
    provides support for 2 factor authentication.
    It also includes a separate extension for quick reauthentication.
    </t>

    <t>
    This specification also gives 2 examples of second factors: TOTP (RFC 6238) and FIDO CTAP1/U2F (Passkey).
    </t>

  </abstract>
    </front>

    <middle>

	<section title="Introduction">

    <t>
    SCRAM <xref target='RFC5802'/> is a password based SASL <xref target="RFC4422"/>
    authentication mechanism that provides (among other things) mutual authentication
    and binding to an external security layer such as TLS.
    </t>
    
    <t>
    Two-factor authentication (2FA) is a way to add additional security to an authentication
    exchange. The first "factor" is a password. The second "factor" is a verification code
    retrieved from an application on a mobile device or computer.
    2FA is conceptually similar to a security token device that banks in some countries
    require for online banking. Some examples of 2FA systems are OTP (one-time password)
    and TOTP (Time-based One-time Password algorithm, such as <xref target="RFC6238"/>).
    </t>

    <t>This specification describes an extension to SCRAM to provide 2 factor authentication.
    SCRAM already relies on passwords for authentication. This document specifies
    how second "factors" can be incorporated into SCRAM authentication.
    It also includes a separate (but frequently used together with the 2 factor authentication)
    extension for quick reauthentication.
    </t>
  
	</section>

	<section anchor="conv" title="Conventions Used in This Document">

	    <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
     "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",
     "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
     interpreted as described in BCP 14 <xref target='RFC2119'/> <xref target='RFC8174'/>
     when, and only when, they appear in all capitals, as shown here.
      </t>

	    <t>Formal syntax is defined by <xref target='RFC5234'/>
		 including the core rules defined in Appendix B of <xref target='RFC5234'/>.
      </t>

	    <t>Example lines prefaced by "C:" are sent by the client and
		ones prefaced by "S:" by the server. If a single "C:" or
		"S:" label applies to multiple lines, then the line
		breaks between those lines are for editorial clarity
		only, and are not part of the actual protocol
		exchange.</t>

	    <section title="Terminology">

       <t>This document uses several terms defined in <xref target='RFC4949'/>
       ("Internet Security Glossary") including the following: authentication,
       authentication exchange, authentication information,
       brute force, challenge-response, cryptographic hash
       function, dictionary attack, eavesdropping, hash
       result, keyed hash, man-in-the-middle, nonce,
       one-way encryption function, password, replay attack
       and salt. Readers not familiar with these terms
       should use that glossary as a reference.
       Other terms defined in <xref target='RFC5802'/> are
       also used in this document.</t>

	    </section>

<!--
	    <section title="Notation">

		    <t>This document reuses notation defined in SCRAM.</t>

	    </section>
  -->

	</section>

	<section title="SCRAM Extension for 2FA" anchor='2fa-overview'>

	      <t>This extension doesn't add any extra roundtrips to
        SCRAM authentication. SCRAM was designed to be extensible,
        so it allows for optional and mandatory attributes, which
        covered by MAC codes. Second "factors" are conveyed
        in the second message ("client-final-message-without-proof"
        ABNF production) sent from the client to the server.
        </t>

		    <t>
        This extension doesn't change how the client authenticates
        the server. This extension also doesn't cover enrollment with
        a 2FA system, such enrollment happends out-of-band.
        </t>

     <!--///I am using ABNF production references below. How to make it clearer?-->
	      <t>The server authenticates the client after receiving
        the second message as described in Section 3 of <xref target='RFC5802'/>.
        If the client included "type" and "second-factor" attributes defined in this document
        (see <xref target="attrs"/>) and the server supports the specified
        second factor type, the server verifies content of the "second-factor"
        according to the "type". If the second factor verification fails,
        the server MUST fail authentication and SHOULD return either "replayed-second-factor"
        or "invalid-second-factor" error in the "e" attribute.

        [[It would be possible to make the extra attributes mandatory by using SCRAM's "m=",
        but the text above doesn't do that. This is one of open issues to resolve.]]
        </t>

	</section>

	<section title="SCRAM Extension for reauthentication" anchor='reauth-overview'>

		<t>
        This reauthentication extension to SCRAM allows the server to return a token
        that can be used for quick reauthentication and bypasses 2 factor authentication
        prompt to the user.
        The reauthentication token is a randomly generated value <xref target='RFC4086'/>.
        The reauthentication token is returned in the "o" attribute
        that is appended to the end of the "server-final-message".
        </t>

        <t>
        [[Note: it would be possible to extend SCRAM itself to do reauthentication, by including
        an earlier received reauthentication token in the "client-first-message" of a subsequent SCRAM authentication.
        This will also turn off the server checking for 2 factor authentication information,
        unless the reauthentication attempt is rejected by the server.
        In the meantime, this document presents a couple of other alternatives on how to use other SASL mechanisms
        with the reauthentication token.]]
        </t>

        <t>
        When the HT-* mechanism <xref target="draft-schmaus-kitten-sasl-ht"/>
        is used for the reauthentication after a successful SCRAM authentication<!--with or without 2FA-->,
        the reauthentication token is the SASL-HT token (see <xref target="draft-schmaus-kitten-sasl-ht"/>).
        [[Note that the HT hash should probably match the SCRAM hash used or "be better".]] 
        </t>

    <!--Dave Cridland wrote on 17/01/2023:
        As to clientkey vs HT-*, Chris Newman had some valid objections to a per-device counter,
        whereas I think that with Matthew Wild's changes to HT-*, that's now a generally viable family,
        though I think if we felt the urge we could knock out something based on HPKE instead/as well.
        <t>
        When the CLIENT-KEY/CLIENT-KEY-PLUS mechanism (see draft-cridland-kitten-clientkey)
        is used for the reauthentication after a successful SCRAM authentication (with or without 2FA),
        the reauthentication token is the Client Secret Key.
        [[Need to also somehow convey token expiration?]]
        </t>
        -->

      </section>

	<section anchor='attrs' title="Formal Syntax">

	  <t>This document defines the following new SCRAM attributes:

		<list style='symbols'>

		  <t>t: This attribute specifies the type of second factor.
		    This document defines two possible types: "totp" (see <xref target="totp"/>) and "ctap1" (see <xref target="fido-ctap1"/>).
        If this attribute is specified, the "f" attribute MUST also be specified.</t>

		  <t>f: This attribute specifies the value of the second factor.
		  For "t=totp" it is 6 digit decimal number. [[Use 8 digits per Rick van Rein?]]
		  This attribute MUST be ignored unless the "t" attribute is also specified.</t>

		  <t>l: This attribute is used by some second factors (e.g. CTAP1) to specify
      the challenge returned by the SCRAM server.</t>
      
		  <t>o: This attribute specifies the base64-encoded value of the reauthentication
          token.</t>

		</list>

	  </t>

      <t>The following syntax specification uses the Augmented
      Backus-Naur Form (ABNF) notation as specified in <xref
		    target='RFC5234'/>.</t>
    
<figure><artwork type='abnf'>
<![CDATA[
   type            = "t=" type-value
                 ; Complies with "attr-val" syntax.
                 ; Returned in client-final-message.
   type-value      = "totp" / "ctap1" / value
                 ; Type of second factor.
                 ; Should be registered with IANA.
   second-factor   = "f=" second-factor-value
                 ; Complies with "attr-val" syntax.
                 ; Returned in client-final-message.
   second-factor-value = 6DIGIT / value
                 ; 6DIGIT when "t=totp".
   server-challenge = "l=" base64
                 ; Data returned by SCRAM server in server-first-message
                 ; to be used for construction of second-factor-value.
                 
   server-error-value-ext =
           "replayed-second-factor" /
           "invalid-second-factor" /
           "second-factor-value-missing"

   value = <as defined in RFC 5802>


   reauth-token = "o=" base64
                  ; base64 encoding of reauthentication
                  ; token.
                  ; Returned in server-final-message.
]]>
			</artwork>
			</figure>

	</section>
      
      
	<section anchor='totp' title="Use of TOTP with SCRAM">

	  <t>When TOTP is used with SCRAM, the following values for "t" and "f" attributes
    (see <xref target="attrs"/> for their generic syntax) are used:

		<list style='symbols'>

		  <t>t: This attribute specifies the type of second factor. For TOTP the value is "totp".
		  If this attribute is specified, the "f" attribute MUST also be specified.</t>

		  <t>f: This attribute specifies the value of the second factor.
		  For "t=totp" it is 6 digit decimal number.
		  This attribute MUST be ignored unless the "t" attribute is also specified.</t>

		</list>

	  </t>

    <!--///Alexey: Might need to explain why the following URI definition is needed?-->
    <t>A TOTP URI is specified with the following ABNF:</t>
    
<figure><artwork type='abnf'>
<![CDATA[
totp-uri = "otpauth" "://" "totp/" label "?secret=" secret
           "&issuer=" issuer
label = issuer (":" / "%3A") identity
identity = 1*CHAR ; URI-encoded SASL identity
secret = 40 * HEXCHAR ; Base32 (hex) encoded secret with no padding.
issuer = 1*CHAR ; Issuer name.
]]>
			</artwork>
			</figure>

	</section>
      

	<section title="Example">

	  <t>The following example extends the example from Section 5 of <xref target='RFC5802'/> to demonstrate use of TOTP:</t>

      <figure>
        <artwork>
<![CDATA[
   C: n,,n=user,r=fyko+d2lbbFgONRv9qkxdawL
   S: r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j,s=QSXCR+Q6sek8bf92,
      i=4096
   C: c=biws,r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j,
      t=totp,f=776804,p=v0X8v3Bz2T0CJGbJQyF0X+HI4Ts=
   S: v=lz59pqV8S7suAoZWja4dJRkFsKQ=
]]>
        </artwork>
      </figure>

      <t>Please note that TOTP extension described in this document works in the same way
      with SCRAM-SHA-256/SCRAM-SHA-256-PLUS, SCRAM-SHA-512/SCRAM-SHA-512-PLUS or
      any other SCRAM variants that use other hash functions.</t>

	</section>

	<section anchor='fido-ctap1' title="Use of FIDO CTAP1/U2F with SCRAM">

    <t>Note that this section describes steps to achieve Client-to-Authenticator Protocols v1 (CTAP1)/U2F 2FA in terms of CTAP2 API.</t>

	  <t>When FIDO CTAP1/U2F is used with SCRAM, the following values for "t", "l" and "f" attributes
    (see <xref target="attrs"/> for their generic syntax) are used:

		  <list style='symbols'>

		    <t>t: This attribute specifies the type of second factor. For FIDO CTAP1/U2F the value is "ctap1".
		    If this attribute is specified, the "f" attribute MUST also be specified.</t>

		    <t>l: base64-encoded challenge as returned by SCRAM server.</t>

        <t>
        f: This attribute specifies the value of the second factor.
        For "t=ctap1" it is the CBOR-serialized <xref target='RFC8949'/> value of authenticatorGetAssertionResponse map described below.
        This attribute MUST be ignored unless the "t" attribute is also specified.
        </t>
      </list>

    </t>

    <t>
      SCRAM client sends U2F_AUTHENTICATE command formatted as specified in
      <xref target="FIDO-U2F-Raw-Message-Formats"/> to the authenticator (e.g. a USB or NFC device).
      </t>

      <t>
        The "P1" framing parameter to U2F_AUTHENTICATE is a single octet parameter defined as follows<!--the controlByte-->:

		    <list style='symbols'>

          <t>If "up" is set to false, set it to 0x08 (dont-enforce-user-presence-and-sign).</t>
          <t>For USB, set it to 0x07 (check-only). This should prevent call getting blocked on waiting for user input.
             If response returns success, then call again setting the enforce-user-presence-and-sign.</t>
          <t>For NFC, set it to 0x03 (enforce-user-presence-and-sign). The tap has already provided the presence and
             won't block.</t>

        </list>
      </t>

      <t>
      The "P2" framing parameter to U2F_AUTHENTICATE is a single octet that always has the value 0x00.
      </t>

      <t>
      The "request-data" framing parameter (u2fAuthenticateRequest) to U2F_AUTHENTICATE is constructed as follows:

        <list style='symbols'>

      <!--/////CTAP2 correct below? Does this depend on which documents we reference?-->

          <t>The clientData structure (see Section 5.8.1 of <xref target="W3C_webauthn_3"/>) is filled in as follows:
              <list style='symbols'>
                <t>The "type" field has value "webauthn.get".</t>
                <t>The "challenge" field contains the base64url encoding of the challenge provided by the Relying Party. This is the value of the "l" attribute described above. (Note, possibly need to base64-decode and base64url-encode.)</t>
                <t>The "origin" field contains the origin of the SCRAM client in the format specified in <xref target="RFC6454"/>, for example "smtp://client.example.net:587".</t>
                <t>Other fields are specified in Section 5.8.1 of <xref target="W3C_webauthn_3"/>.</t>
              </list>
          </t>

          <t>Use clientDataHash parameter of <xref target="CTAP2"/> request as CTAP1/U2F challenge parameter (32 bytes).</t>
          <t>Let rpIdHash be a byte string of size 32 initialized with SHA-256 hash of rp.id parameter as CTAP1/U2F
             application parameter (32 bytes). (The rp.id parameter is the hostname of the SCRAM server.)</t>
          <t>Let credentialId is the byte string initialized with the id for this PublicKeyCredentialDescriptor.</t>
          <t>Let keyHandleLength be a byte initialized with length of credentialId byte string.</t>

          <t>Let u2fAuthenticateRequest be a byte string with the following structure:</t>

        </list>
      </t>

      <texttable>
          <ttcol>Length (in bytes)</ttcol>
          <ttcol>Description</ttcol>
          <ttcol>Value</ttcol>

          <c>32</c>
          <c>Challenge parameter</c>
          <c>Initialized with clientDataHash parameter bytes.</c>

          <c>32</c>
          <c>Application parameter</c>
          <c>Initialized with rpIdHash bytes.</c>

          <c>1</c>
          <c>Key handle length</c>
          <c>Initialized with keyHandleLength's value.</c>

          <c>keyHandleLength</c>
          <c>Key handle</c>
          <c>Initialized with credentialId bytes.</c>

      </texttable>


        <!--/////Do we want CTAP2 semantics here?-->
      
      <t>Generate authenticatorData from the U2F authentication response message received from the authenticator:
          
		      <list style='symbols'>
            <t>Copy bits 0 (the UP bit) and bit 1 from the CTAP2/U2F response user presence byte to bits 0 and 1 of the
               CTAP2 flags, respectively. Set all other bits of flags to zero. Note: bit zero is the least significant bit. See also
               Authenticator Data section of <xref target="W3C_webauthn_3"/>.</t>

            <t>Let signCount be a 4-byte unsigned integer initialized with CTAP1/U2F response counter field.</t>
		      </list>
      </t>

      <t>
      Let authenticatorData is a byte string of following structure:
      </t>

      <texttable>

              <ttcol>Length (in bytes)</ttcol>
              <ttcol>Description</ttcol>
              <ttcol>Value</ttcol>

              <c>32</c>
              <c>SHA-256 hash of the rp.id.</c>
              <c>Initialized with rpIdHash bytes.</c>
              
              <c>1</c>
              <c>Flags</c>
              <c>Initialized with flags' value.</c>
              
              <c>4</c>
              <c>Signature counter (signCount)</c>
              <c>Initialized with signCount bytes.</c>
      </texttable>

      <t>
      Let authenticatorGetAssertionResponse be a CBOR map with the following keys whose values are as follows:
            
            <list style='symbols'>
                <t>Set 0x01 with the credential from allowList that whose response succeeded.</t>
                <t>Set 0x02 with authenticatorData bytes.</t>
                <t>Set 0x03 with signature field from CTAP1/U2F authentication response message. Note: An ASN.1-encoded
                ECDSA signature value ranges over 8-72 bytes in length. <!--[U2FRawMsgs] incorrectly states a different
                length range.--></t>
            </list>
      </t>

	</section>  



	<section title="Open Issues">

	  <t>Simon Josefsson: should this be a new SASL mechanism name, e.g. CROTP-SHA-XXX?</t>
    
    <t>Should we pick between TOTP and FIDO2 (CTAP1)?</t>

	  <t>Rick van Rein: specify a HOTP variant as well?</t>

	  <t>Rick van Rein: use TOTP with 6 or 8 digits? Register both variants?</t>

  </section>
      
	<section title="Security Considerations">

    <t>
    An OTP value is a sensitive piece of data and thus should only be sent
    over a secure channel (such as TLS). Otherwise an attacker might be able
    to intercept it and reuse it for authentication to the SCRAM server.
    </t>

	  <t>TBD</t>

  </section>

	<section anchor='iana' title="IANA Considerations">

    <!--///Alexey: the following will have to change, if something like CROTP-* is used-->
    <t>IANA is requested to update the definition of the SASL family SCRAM
    in the SASL Mechanism registry established by <xref target="RFC4422"/>
    to also point to this document.</t>

    <t>
    IANA is also requested to create a new subregistry of "SASL mechanism"
    for registering second factor schemes used in the "t" attribute as specified in this document.
    </t>

	  <t>The registration template is as follows:</t>

    <figure>
      <artwork>
        <![CDATA[
SCRAM Second Factor Scheme Name:
Pointer to specification text:
Notes (optional):
		    ]]>
      </artwork>
    </figure>

    <t>The registration procedure for the above subregistry is Expert Review.</t>

    <t>IANA is requested to register a new value in the subregistry defined above:</t>
    <figure>
      <artwork>
        <![CDATA[
SCRAM Second Factor Scheme Name: TOTP
Pointer to specification text: [[ this document ]]
Notes (optional): (none)
		    ]]>
      </artwork>
    </figure>

  </section>

	<section title="Acknowledgements">
		
    <t>Thank you to Stephen Farrell for motivating creation of this document and
    to Dave Cridland for describing how TOTP can be used with XMPP in XEP-0400.
    Thank you to Rick van Rein, Simon Josefsson and Ludovic Bocquet for comments and corrections,
    but all final errors in this document remain mine.</t>
    
	</section>


<!--
	<section title="Internet-Draft Change History">

	    <t>(RFC Editor: Please delete this section and all subsections.)</t>

	    <t>Changes since -00

		<list style='symbols'>

		    <t></t>

		</list>

	    </t>

	</section>
-->

    </middle>

    <back>
      
	<references title="Normative References">
    
      &rfc2119;
      &rfc4086;<!--Randomness recommendation RFC-->
      &rfc4422;
      &rfc4949;
<!--
      &rfc5056;
      &rfc5929;
-->
	    &rfc5234;
	    &rfc5802;
      &rfc6238;
      &rfc6454;
      &rfc8174;
      &rfc8949;<!--Concise Binary Object Representation (CBOR)-->

    <reference anchor="FIDO-U2F-Raw-Message-Formats" target="https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-raw-message-formats-v1.2-ps-20170411.pdf">
      <front>
        <title>FIDO U2F Raw Message Formats</title>

        <!--Editors:-->
        <author fullname="Dirk Balfanz" initials="D." surname="Balfanz"/>
        <author fullname="Jakob Ehrensvard" initials="J." surname="Ehrensvard"/>        
        <author fullname="Juan Lang" initials="J." surname="Lang"/>

        <date month="April" year="2017"/>
        <!--
        <abstract>
          <t></t>
        </abstract>
          -->
      </front>

      <seriesInfo name="FIDO" value="fido-u2f-raw-message-formats-v1.2-ps-20170411"/>

      <format target="https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-raw-message-formats-v1.1-v1.2-ps-20170411.html" type="HTML"/>
      <format target="https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-raw-message-formats-v1.2-ps-20170411.pdf" type="PDF"/>

    </reference>


    <reference anchor="CTAP2" target="https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html">
      <front>
        <title>Client to Authenticator Protocol (CTAP)</title>

        <!--Editors:-->
        <author fullname="John Bradley" initials="J." surname="Bradley"/>
        <author fullname="Jeff Hodges" initials="J." surname="Hodges"/>
        <author fullname="Michael B. Jones" initials="M." surname="Jones"/>
        <author fullname="Akshay Kumar" initials="A." surname="Kumar"/>
        <author fullname="Rolf Lindemann" initials="R." surname="Lindemann"/>
        <author fullname="Johan Verrept" initials="J." surname="Verrept"/>

        <date month="June" year="2022"/>
        <!--
        <abstract>
          <t></t>
        </abstract>
          -->
      </front>

      <seriesInfo name="FIDO" value="fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621"/>

      <format target="https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html" type="HTML"/>

    </reference>


    <!--///Possibly reference Level 1 or Level 2, whatever is stable at the time of publication.-->

    <reference anchor="W3C_webauthn_3" target="https://www.w3.org/TR/webauthn-3/">
      <front>
        <title>Web Authentication: An API for accessing Public Key Credentials - Level 3</title>
        <author/>
      </front>
      <seriesInfo name="W3C WD" value="webauthn-3"/>
      <seriesInfo name="W3C" value="webauthn-3"/>
      <format target="https://www.w3.org/TR/webauthn-3/" type="TXT"/>
    </reference>

    <reference anchor="draft-schmaus-kitten-sasl-ht" target="https://www.ietf.org/archive/id/draft-schmaus-kitten-sasl-ht-09.txt">
      <front>
        <title>The Hashed Token SASL Mechanism</title>
        <author fullname="Florian Schmaus" initials="F." surname="Schmaus">
          <organization>FAU Erlangen-Nürnberg</organization>
        </author>
        <author fullname="Christoph Egger" initials="C." surname="Egger">
          <organization>FAU Erlangen-Nürnberg</organization>
        </author>
        <date day="6" month="November" year="2022"/>
        <abstract>
          <t>This document specifies the family of Hashed Token SASL mechanisms which enable a proof-of-possession-based authentication scheme and are meant to be used for quick re-authentication of a previous session. The Hashed Token SASL mechanism's authentication sequence consists of only one round-trip. The usage of short-lived, exclusively ephemeral hashed tokens is achieving the single round- trip property. The SASL mechanism specified herin further provides hash agility, mutual authentication and support for channel binding.</t>
        </abstract>
      </front>
      <seriesInfo name="Internet-Draft" value="draft-schmaus-kitten-sasl-ht-09"/>
      <format target="https://www.ietf.org/archive/id/draft-schmaus-kitten-sasl-ht-09.txt" type="TXT"/>
    </reference>


  </references>

<!--
  <references title="Informative References">
  </references>
-->
      
    </back>

</rfc>
