idnits 2.17.1 draft-ietf-dime-local-keytran-06.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 date (May 26, 2010) is 5078 days in the past. Is this intentional? -- Found something which looks like a code comment -- if you have code sections in the document, please surround them with '' and '' lines. Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) ** Obsolete normative reference: RFC 3588 (Obsoleted by RFC 6733) ** Obsolete normative reference: RFC 5226 (Obsoleted by RFC 8126) == Outdated reference: A later version (-11) exists of draft-ietf-dime-ikev2-psk-diameter-02 -- Obsolete informational reference (is this intentional?): RFC 5296 (Obsoleted by RFC 6696) Summary: 2 errors (**), 0 flaws (~~), 2 warnings (==), 3 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group G. Zorn, Ed. 3 Internet-Draft Network Zen 4 Intended status: Standards Track Q. Wu, Ed. 5 Expires: November 27, 2010 Huawei 6 V. Cakulev 7 Alcatel Lucent 8 May 26, 2010 10 Diameter Attribute-Value Pairs for Cryptographic Key Transport 11 draft-ietf-dime-local-keytran-06 13 Abstract 15 Some Authentication, Authorization, and Accounting (AAA) applications 16 require the transport of cryptographic keying material; this document 17 specifies a set of Attribute-Value Pairs (AVPs) providing native 18 Diameter support of cryptographic key delivery. 20 Status of this Memo 22 This Internet-Draft is submitted in full conformance with the 23 provisions of BCP 78 and BCP 79. 25 Internet-Drafts are working documents of the Internet Engineering 26 Task Force (IETF). Note that other groups may also distribute 27 working documents as Internet-Drafts. The list of current Internet- 28 Drafts is at http://datatracker.ietf.org/drafts/current/. 30 Internet-Drafts are draft documents valid for a maximum of six months 31 and may be updated, replaced, or obsoleted by other documents at any 32 time. It is inappropriate to use Internet-Drafts as reference 33 material or to cite them other than as "work in progress." 35 This Internet-Draft will expire on November 27, 2010. 37 Copyright Notice 39 Copyright (c) 2010 IETF Trust and the persons identified as the 40 document authors. All rights reserved. 42 This document is subject to BCP 78 and the IETF Trust's Legal 43 Provisions Relating to IETF Documents 44 (http://trustee.ietf.org/license-info) in effect on the date of 45 publication of this document. Please review these documents 46 carefully, as they describe your rights and restrictions with respect 47 to this document. Code Components extracted from this document must 48 include Simplified BSD License text as described in Section 4.e of 49 the Trust Legal Provisions and are provided without warranty as 50 described in the Simplified BSD License. 52 Table of Contents 54 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 55 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . 3 56 2.1. Standards Language . . . . . . . . . . . . . . . . . . . . 3 57 2.2. Technical Terms and Acronyms . . . . . . . . . . . . . . . 3 58 3. Attribute-Value Pair Definitions . . . . . . . . . . . . . . . 4 59 3.1. Key AVP . . . . . . . . . . . . . . . . . . . . . . . . . . 4 60 3.1.1. Key-Type AVP . . . . . . . . . . . . . . . . . . . . . 4 61 3.1.2. Key-Name AVP . . . . . . . . . . . . . . . . . . . . . 5 62 3.1.3. Keying-Material AVP . . . . . . . . . . . . . . . . . . 5 63 3.1.4. Key-Lifetime AVP . . . . . . . . . . . . . . . . . . . 5 64 3.1.5. Key-SPI . . . . . . . . . . . . . . . . . . . . . . . . 5 65 4. Security Considerations . . . . . . . . . . . . . . . . . . . . 5 66 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 5 67 5.1. AVP Codes . . . . . . . . . . . . . . . . . . . . . . . . . 6 68 5.2. AVP Values . . . . . . . . . . . . . . . . . . . . . . . . 6 69 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 6 70 7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 6 71 7.1. Normative References . . . . . . . . . . . . . . . . . . . 6 72 7.2. Informative References . . . . . . . . . . . . . . . . . . 7 73 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 7 75 1. Introduction 77 The Diameter EAP application [RFC4072] defines the EAP-Master- 78 Session-Key and EAP-Key-Name AVPs for the purpose of transporting 79 cryptographic keying material derived during the execution of certain 80 The Extensible Authentication Protocol (EAP) [RFC3748] methods (for 81 example, EAP-TLS [RFC5216]). At most one instance of either of these 82 AVPs is allowed in any Diameter message. 84 However, recent work (see, for example, [RFC5295]) has specified 85 methods to derive other keys from the keying material created during 86 EAP method execution that may require transport in addition to the 87 MSK. In addition, the EAP Re-authentication Protocol (ERP) [RFC5296] 88 specifies new keys that may need to be transported between Diameter 89 nodes. 91 This note specifies a set of AVPs allowing the transport of multiple 92 cryptographic keys in a single Diameter message. 94 2. Terminology 96 2.1. Standards Language 98 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 99 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 100 document are to be interpreted as described in RFC 2119 [RFC2119]. 102 2.2. Technical Terms and Acronyms 104 DSRK 105 Domain-Specific Root Key [RFC5295]. 107 MSK 108 Master Session Key [RFC3748]. 110 rMSK 111 reauthentication MSK [RFC5296]. This is a per-authenticator key, 112 derived from the rRK (below). 114 rRK 115 reauthentication Root Key, derived from the EMSK Extended Master 116 Session Key [RFC3748] or DSRK [RFC5296]. 118 3. Attribute-Value Pair Definitions 120 This section defines new AVPs for the transport of cryptographic keys 121 in the Diameter EAP application [RFC4072], as well as other Diameter 122 applications. 124 3.1. Key AVP 126 The Key AVP (AVP Code ) is of type Grouped [RFC3588]. It 127 contains the type and keying material and, optionally, an indication 128 of the usable lifetime of the key, the name of the key and a Security 129 Parameter Index (SPI) with which the key is associated. 131 Key ::= < AVP Header: AC1 > 132 < Key-Type > 133 { Keying-Material } 134 [ Key-Lifetime ] 135 [ Key-Name ] 136 [ Key-SPI ] 137 * [ AVP ] 139 3.1.1. Key-Type AVP 141 The Key-Type AVP (AVP Code ) is of type Enumerated and signifies 142 the type of the key being sent. The following decimal values are 143 defined in this document: 145 MSK (0) 146 The EAP Master Session Key [RFC3748] 148 DSRK (1) 149 A Domain-Specific Root Key [RFC5295]. 151 rRK (2) 152 A reauthentication Root Key [RFC5296]. 154 rMSK (3) 155 A reauthentication Master Session Key [RFC5296]. 157 IKEv2-PSK (4) 158 A pre-shared key for use in IKE-V2 key exchange 159 [I-D.ietf-dime-ikev2-psk-diameter]. 161 If additional values are needed, they are to be assigned by IANA 162 according to the policy stated in Section 5.2 164 3.1.2. Key-Name AVP 166 The Key-Name AVP is of type OctetString. It contains an opaque key 167 identifier. Exactly how this name is generated and used depends on 168 the key type and usage in question, and is beyond the scope of this 169 document (see [RFC5247] and [RFC5295] for discussions of key name 170 generation in the context of EAP). 172 3.1.3. Keying-Material AVP 174 The Keying-Material AVP (AVP Code ) is of type OctetString. The 175 exact usage of this keying material depends upon several factors, 176 including the link layer in use and the type of the key; it is beyond 177 the scope of this document. 179 3.1.4. Key-Lifetime AVP 181 The Key-Lifetime AVP (AVP Code ) is of type Integer64 [RFC3588] 182 and represents the period of time (in seconds) for which the contents 183 of the Keying-Material AVP (Section 3.1.3) is valid. 185 NOTE: 186 Applications using this value SHOULD consider the beginning of the 187 lifetime to be the point in time when the message containing the 188 keying material is received. 190 3.1.5. Key-SPI 192 The Key-SPI AVP (AVP Code ) is of type Unsigned32 and contains a 193 SPI value that can be used with other parameters for identifying 194 associated keying material. 196 4. Security Considerations 198 The security considerations applicable to the Diameter Base Protocol 199 [RFC3588] are also applicable to this document, as are those in 200 Section 8.4 of RFC 4072 [RFC4072]. 202 5. IANA Considerations 204 Upon publication of this memo as an RFC, IANA is requested to assign 205 values as described in the following sections. 207 5.1. AVP Codes 209 Codes must be assigned for the following AVPs using the policy 210 specified in RFC 3588, Section 11.1.1: 212 o Key (, Section 3.1) 214 o Key-Type (, Section 3.1.1) 216 o Keying-Material (, Section 3.1.3) 218 o Key-Lifetime (, Section 3.1.4) 220 o Key-SPI (, Section 3.1.5) 222 5.2. AVP Values 224 IANA is requested to create a new registry for values assigned to the 225 Key-Type AVP and populated with the decimal values defined in this 226 document (Section 3.1.1). New values may be assigned for the Key- 227 Type AVP using the "Expert Review" policy [RFC5226]; once values have 228 been assigned, they MUST NOT be deleted, replaced, modified or 229 deprecated. 231 6. Acknowledgements 233 Thanks to Semyon Mizikovsky, Hannes Tschofenig, Joe Salowey, Tom 234 Taylor, Frank Xia and Sebastien Decugis for useful comments. 236 7. References 238 7.1. Normative References 240 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 241 Requirement Levels", BCP 14, RFC 2119, March 1997. 243 [RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G., and J. 244 Arkko, "Diameter Base Protocol", RFC 3588, September 2003. 246 [RFC3748] Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J., and H. 247 Levkowetz, "Extensible Authentication Protocol (EAP)", 248 RFC 3748, June 2004. 250 [RFC4072] Eronen, P., Hiller, T., and G. Zorn, "Diameter Extensible 251 Authentication Protocol (EAP) Application", RFC 4072, 252 August 2005. 254 [RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an 255 IANA Considerations Section in RFCs", BCP 26, RFC 5226, 256 May 2008. 258 7.2. Informative References 260 [I-D.ietf-dime-ikev2-psk-diameter] 261 Cakulev, V. and A. Lior, "Diameter IKEv2 PSK: Pre-Shared 262 Secret-based Support for IKEv2 Server to Diameter Server 263 Interaction", draft-ietf-dime-ikev2-psk-diameter-02 (work 264 in progress), March 2010. 266 [RFC5216] Simon, D., Aboba, B., and R. Hurst, "The EAP-TLS 267 Authentication Protocol", RFC 5216, March 2008. 269 [RFC5247] Aboba, B., Simon, D., and P. Eronen, "Extensible 270 Authentication Protocol (EAP) Key Management Framework", 271 RFC 5247, August 2008. 273 [RFC5295] Salowey, J., Dondeti, L., Narayanan, V., and M. Nakhjiri, 274 "Specification for the Derivation of Root Keys from an 275 Extended Master Session Key (EMSK)", RFC 5295, 276 August 2008. 278 [RFC5296] Narayanan, V. and L. Dondeti, "EAP Extensions for EAP Re- 279 authentication Protocol (ERP)", RFC 5296, August 2008. 281 Authors' Addresses 283 Glen Zorn (editor) 284 Network Zen 285 1463 East Republican Street 286 #358 287 Seattle, Washington 98112 288 US 290 Email: gwz@net-zen.net 291 Qin Wu (editor) 292 Huawei Technologies Co., Ltd. 293 Site B, Floor 12F, Huihong Mansion, No.91 Baixia Rd. 294 Nanjing, JiangSu 210001 295 China 297 Phone: +86-25-84565892 298 Email: Sunseawq@huawei.com 300 Violeta Cakulev 301 Alcatel Lucent 302 600 Mountain Ave. 303 3D-517 304 Murray Hill, NJ 07974 305 US 307 Phone: +1 908 582 3207 308 Email: violeta.cakulev@alcatel-lucent.com