idnits 2.17.00 (12 Aug 2021) /tmp/idnits27310/draft-melnikov-scram-sha3-512-02.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == The document seems to lack the recommended RFC 2119 boilerplate, even if it appears to use RFC 2119 keywords -- however, there's a paragraph with a matching beginning. Boilerplate error? (The document does seem to have the reference to RFC 2119 which the ID-Checklist requires). -- The document date (19 October 2021) is 207 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Unused Reference: 'RFC5226' is defined on line 241, but no explicit reference was found in the text ** Obsolete normative reference: RFC 5246 (Obsoleted by RFC 8446) -- Obsolete informational reference (is this intentional?): RFC 5226 (Obsoleted by RFC 8126) Summary: 1 error (**), 0 flaws (~~), 3 warnings (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group A. Melnikov, Ed. 3 Internet-Draft Isode Ltd 4 Intended status: Standards Track 19 October 2021 5 Expires: 22 April 2022 7 SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and 8 Security Layer (SASL) Mechanisms 9 draft-melnikov-scram-sha3-512-02 11 Abstract 13 This document registers the Simple Authentication and Security Layer 14 (SASL) mechanisms SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS. 16 Status of This Memo 18 This Internet-Draft is submitted in full conformance with the 19 provisions of BCP 78 and BCP 79. 21 Internet-Drafts are working documents of the Internet Engineering 22 Task Force (IETF). Note that other groups may also distribute 23 working documents as Internet-Drafts. The list of current Internet- 24 Drafts is at https://datatracker.ietf.org/drafts/current/. 26 Internet-Drafts are draft documents valid for a maximum of six months 27 and may be updated, replaced, or obsoleted by other documents at any 28 time. It is inappropriate to use Internet-Drafts as reference 29 material or to cite them other than as "work in progress." 31 This Internet-Draft will expire on 22 April 2022. 33 Copyright Notice 35 Copyright (c) 2021 IETF Trust and the persons identified as the 36 document authors. All rights reserved. 38 This document is subject to BCP 78 and the IETF Trust's Legal 39 Provisions Relating to IETF Documents (https://trustee.ietf.org/ 40 license-info) in effect on the date of publication of this document. 41 Please review these documents carefully, as they describe your rights 42 and restrictions with respect to this document. Code Components 43 extracted from this document must include Simplified BSD License text 44 as described in Section 4.e of the Trust Legal Provisions and are 45 provided without warranty as described in the Simplified BSD License. 47 Table of Contents 49 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 50 2. Key Word Definitions . . . . . . . . . . . . . . . . . . . . 2 51 3. SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS . . . . . . . . . . . 2 52 4. Security Considerations . . . . . . . . . . . . . . . . . . . 3 53 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3 54 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 55 6.1. Normative References . . . . . . . . . . . . . . . . . . 4 56 6.2. Informative References . . . . . . . . . . . . . . . . . 5 57 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 6 58 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 6 60 1. Introduction 62 This document registers the SASL [RFC4422] mechanisms SCRAM-SHA3-512 63 and SCRAM-SHA3-512-PLUS. SHA3-512 has stronger security properties 64 than SHA-1, and it is expected that SCRAM mechanisms based on it will 65 have greater predicted longevity than the SCRAM mechanisms based on 66 SHA-1. SHA3-512 works differently from SHA-2 family of hash 67 functions, so it is also expected that vulnerabilities in SHA-2 hash 68 functions are not going to necessarily affect SHA-3 family of hash 69 functions. 71 2. Key Word Definitions 73 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 74 "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and 75 "OPTIONAL" in this document are to be interpreted as described in BCP 76 14 [RFC2119] [RFC8174] when, and only when, they appear in all 78 3. SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS 80 The SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS SASL mechanisms are 81 defined in the same way that SCRAM-SHA-1 and SCRAM-SHA-1-PLUS are 82 defined in [RFC5802], except that the hash function for HMAC() and 83 H() uses SHA3-512 [NIST.FIPS.202] instead of SHA-1. 85 For the SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS SASL mechanisms, the 86 hash iteration-count announced by a server SHOULD be at least 10000. 88 The GSS-API mechanism OID for SCRAM-SHA3-512 is 1.3.6.1.5.5. 89 (see Section 5). 91 This is a simple example of a SCRAM-SHA3-512 authentication exchange 92 when the client doesn't support channel bindings. The username 93 'user' and password 'pencil' are being used. 95 4. Security Considerations 97 The security considerations from [RFC5802] still apply. 99 To be secure, SCRAM-SHA3-512-PLUS MUST be used over a TLS channel 100 that has had the session hash extension [RFC7627] negotiated, or 101 session resumption MUST NOT have been used. When using SCRAM over 102 TLS 1.2 [RFC5246], the "tls-unique" channel binding is still the 103 default channel binding to use (see Section 6.1 of [RFC5802]), 104 assuming the above conditions are satisfied. As "tls-unique" channel 105 binding is not defined for TLS 1.3 [RFC8446], when using SCRAM over 106 TLS 1.3, the "tls-exporter" channel binding [tls-1.3-channel-binding] 107 MUST be the default channel binding (in the sense specified in 108 Section 6.1 of [RFC5802]) to use. 110 See [RFC4270] and [RFC6194] for reasons to move from SHA-1 to a 111 strong security mechanism like SHA3-512. 113 The strength of this mechanism is dependent in part on the hash 114 iteration-count, as denoted by "i" in [RFC5802]. As a rule of thumb, 115 the hash iteration-count should be such that a modern machine will 116 take 0.1 seconds to perform the complete algorithm; however, this is 117 unlikely to be practical on mobile devices and other relatively low- 118 performance systems. At the time this was written, the rule of thumb 119 gives around 15,000 iterations required; however, a hash iteration- 120 count of 10000 takes around 0.5 seconds on current mobile handsets. 121 This computational cost can be avoided by caching the ClientKey 122 (assuming the Salt and hash iteration-count is stable). Therefore, 123 the recommendation of this specification is that the hash iteration- 124 count SHOULD be at least 10000, but careful consideration ought to be 125 given to using a significantly higher value, particularly where 126 mobile use is less important. 128 5. IANA Considerations 130 IANA is requested to add the following new SASL SCRAM mechanisms to 131 the "SASL SCRAM Family Mechanisms" registry: 133 To: iana@iana.org 135 Subject: Registration of a new SASL SCRAM Family mechanism SCRAM- 136 SHA3-512 138 SASL mechanism name (or prefix for the family): SCRAM-SHA3-512 140 Security considerations: Section 4 of RFC XXXX 142 Published specification (optional, recommended): RFC XXXX 143 Minimum iteration-count: 10000 145 OID: 1.3.6.1.5.5. 147 Person & email address to contact for further information: IETF 148 KITTEN WG 150 Intended usage: COMMON 152 Owner/Change controller: IESG 154 Note: 156 To: iana@iana.org 158 Subject: Registration of a new SASL SCRAM Family mechanism SCRAM- 159 SHA3-512-PLUS 161 SASL mechanism name (or prefix for the family): SCRAM- 162 SHA3-512-PLUS 164 Security considerations: Section 4 of RFC XXXX 166 Published specification (optional, recommended): RFC XXXX 168 Minimum iteration-count: 10000 170 OID: 1.3.6.1.5.5. 172 Person & email address to contact for further information: IETF 173 KITTEN WG 175 Intended usage: COMMON 177 Owner/Change controller: IESG 179 Note: 181 6. References 183 6.1. Normative References 185 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 186 Requirement Levels", BCP 14, RFC 2119, 187 DOI 10.17487/RFC2119, March 1997, 188 . 190 [RFC4422] Melnikov, A., Ed. and K. Zeilenga, Ed., "Simple 191 Authentication and Security Layer (SASL)", RFC 4422, 192 DOI 10.17487/RFC4422, June 2006, 193 . 195 [RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security 196 (TLS) Protocol Version 1.2", RFC 5246, 197 DOI 10.17487/RFC5246, August 2008, 198 . 200 [RFC5802] Newman, C., Menon-Sen, A., Melnikov, A., and N. Williams, 201 "Salted Challenge Response Authentication Mechanism 202 (SCRAM) SASL and GSS-API Mechanisms", RFC 5802, 203 DOI 10.17487/RFC5802, July 2010, 204 . 206 [RFC7627] Bhargavan, K., Ed., Delignat-Lavaud, A., Pironti, A., 207 Langley, A., and M. Ray, "Transport Layer Security (TLS) 208 Session Hash and Extended Master Secret Extension", 209 RFC 7627, DOI 10.17487/RFC7627, September 2015, 210 . 212 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 213 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 214 May 2017, . 216 [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol 217 Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, 218 . 220 [tls-1.3-channel-binding] 221 Whited, S., "Channel Bindings for TLS 1.3", Work in 222 Progress, Internet-Draft, draft-ietf-kitten-tls-channel- 223 bindings-for-tls13-11, 18 October 2021, 224 . 227 [NIST.FIPS.202] 228 Dworkin, M., "SHA-3 Standard: Permutation-Based Hash and 229 Extendable-Output Functions", FIPS PUB 202, 230 DOI 10.6028/nist.fips.202, August 2015, 231 . 234 6.2. Informative References 236 [RFC4270] Hoffman, P. and B. Schneier, "Attacks on Cryptographic 237 Hashes in Internet Protocols", RFC 4270, 238 DOI 10.17487/RFC4270, November 2005, 239 . 241 [RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an 242 IANA Considerations Section in RFCs", RFC 5226, 243 DOI 10.17487/RFC5226, May 2008, 244 . 246 [RFC6194] Polk, T., Chen, L., Turner, S., and P. Hoffman, "Security 247 Considerations for the SHA-0 and SHA-1 Message-Digest 248 Algorithms", RFC 6194, DOI 10.17487/RFC6194, March 2011, 249 . 251 Acknowledgements 253 This document is based on RFC 7677 by Tony Hansen. 255 Thank you to Ludovic Bocquet for comments and corrections. 257 Author's Address 259 Alexey Melnikov (editor) 260 Isode Ltd 261 14 Castle Mews 262 Hampton 263 TW12 2NP 264 United Kingdom 266 Email: alexey.melnikov@isode.com