idnits 2.17.1 draft-ietf-avtcore-srtp-encrypted-header-ext-04.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 (Using the creation date from RFC3711, updated by this document, for RFC5378 checks: 2001-02-27) -- The document seems to lack a disclaimer for pre-RFC5378 work, but may have content which was first submitted before 10 November 2008. If you have contacted all the original authors and they are all willing to grant the BCP78 rights to the IETF Trust, then this is fine, and you can ignore this comment. If not, you may need to add the pre-RFC5378 disclaimer. (See the Legal Provisions document at https://trustee.ietf.org/license-info for more information.) -- The document date (January 3, 2013) is 4129 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) ** Obsolete normative reference: RFC 5285 (Obsoleted by RFC 8285) Summary: 1 error (**), 0 flaws (~~), 1 warning (==), 2 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 AVTCORE J. Lennox 3 Internet-Draft Vidyo 4 Updates: 3711 (if approved) January 3, 2013 5 Intended status: Standards Track 6 Expires: July 7, 2013 8 Encryption of Header Extensions in the Secure Real-Time Transport 9 Protocol (SRTP) 10 draft-ietf-avtcore-srtp-encrypted-header-ext-04 12 Abstract 14 The Secure Real-Time Transport Protocol (SRTP) provides 15 authentication, but not encryption, of the headers of Real-Time 16 Transport Protocol (RTP) packets. However, RTP header extensions may 17 carry sensitive information for which participants in multimedia 18 sessions want confidentiality. This document provides a mechanism, 19 extending the mechanisms of SRTP, to selectively encrypt RTP header 20 extensions in SRTP. 22 This document updates RFC 3711, the Secure Real-Time Transport 23 Protocol specification, to require that all future SRTP encryption 24 transforms specify how RTP header extensions are to be encrypted. 26 Status of this Memo 28 This Internet-Draft is submitted in full conformance with the 29 provisions of BCP 78 and BCP 79. 31 Internet-Drafts are working documents of the Internet Engineering 32 Task Force (IETF). Note that other groups may also distribute 33 working documents as Internet-Drafts. The list of current Internet- 34 Drafts is at http://datatracker.ietf.org/drafts/current/. 36 Internet-Drafts are draft documents valid for a maximum of six months 37 and may be updated, replaced, or obsoleted by other documents at any 38 time. It is inappropriate to use Internet-Drafts as reference 39 material or to cite them other than as "work in progress." 41 This Internet-Draft will expire on July 7, 2013. 43 Copyright Notice 45 Copyright (c) 2013 IETF Trust and the persons identified as the 46 document authors. All rights reserved. 48 This document is subject to BCP 78 and the IETF Trust's Legal 49 Provisions Relating to IETF Documents 50 (http://trustee.ietf.org/license-info) in effect on the date of 51 publication of this document. Please review these documents 52 carefully, as they describe your rights and restrictions with respect 53 to this document. Code Components extracted from this document must 54 include Simplified BSD License text as described in Section 4.e of 55 the Trust Legal Provisions and are provided without warranty as 56 described in the Simplified BSD License. 58 Table of Contents 60 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 61 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 62 3. Encryption Mechanism . . . . . . . . . . . . . . . . . . . . . 4 63 3.1. Example Encryption Mask . . . . . . . . . . . . . . . . . 5 64 3.2. Header Extension Keystream Generation for Existing 65 Encryption Transforms . . . . . . . . . . . . . . . . . . 7 66 3.3. Header Extension Keystream Generation for Future 67 Encryption Transforms . . . . . . . . . . . . . . . . . . 7 68 4. Signaling (Setup) Information . . . . . . . . . . . . . . . . 7 69 4.1. Backward compatibility . . . . . . . . . . . . . . . . . . 8 70 5. Security Considerations . . . . . . . . . . . . . . . . . . . 9 71 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 10 72 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 10 73 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 11 74 8.1. Normative References . . . . . . . . . . . . . . . . . . . 11 75 8.2. Informative References . . . . . . . . . . . . . . . . . . 11 76 Appendix A. Test Vectors . . . . . . . . . . . . . . . . . . . . 12 77 A.1. Key derivation test vectors . . . . . . . . . . . . . . . 12 78 A.2. Header Encryption Test Vectors using AES-CM . . . . . . . 13 79 Appendix B. Changes From Earlier Versions . . . . . . . . . . . . 14 80 B.1. Changes from draft-ietf-avtcore -03 . . . . . . . . . . . 14 81 B.2. Changes from draft-ietf-avtcore -02 . . . . . . . . . . . 14 82 B.3. Changes from draft-ietf-avtcore -01 . . . . . . . . . . . 14 83 B.4. Changes from draft-ietf-avtcore -00 . . . . . . . . . . . 15 84 B.5. Changes from draft-lennox-avtcore -00 . . . . . . . . . . 15 85 B.6. Changes from draft-lennox-avt -02 . . . . . . . . . . . . 15 86 B.7. Changes From Individual Submission Draft -01 . . . . . . . 15 87 B.8. Changes From Individual Submission Draft -00 . . . . . . . 16 88 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 16 90 1. Introduction 92 The Secure Real-Time Transport Protocol [RFC3711] specification 93 provides confidentiality, message authentication, and replay 94 protection for multimedia payloads sent using the Real-Time Protocol 95 (RTP) [RFC3550]. However, in order to preserve RTP header 96 compression efficiency, SRTP provides only authentication and replay 97 protection for the headers of RTP packets, not confidentiality. 99 For the standard portions of an RTP header, this does not normally 100 present a problem, as the information carried in an RTP header does 101 not provide much information beyond that which an attacker could 102 infer by observing the size and timing of RTP packets. Thus, there 103 is little need for confidentiality of the header information. 105 However, this is not necessarily true for information carried in RTP 106 header extensions. A number of recent proposals for header 107 extensions using the General Mechanism for RTP Header Extensions 108 [RFC5285] carry information for which confidentiality could be 109 desired or essential. Notably, two recent specifications ([RFC6464] 110 and [RFC6465]) carry information about per-packet sound levels of the 111 media data carried in the RTP payload, and exposing this to an 112 eavesdropper is unacceptable in many circumstances. 114 This document, therefore, defines a mechanism by which encryption can 115 be applied to RTP header extensions when they are transported using 116 SRTP. As an RTP sender may wish some extension information to be 117 sent in the clear (for example, it may be useful for a network 118 monitoring device to be aware of RTP transmission time offsets 119 [RFC5450]), this mechanism can be selectively applied to a subset of 120 the header extension elements carried in an SRTP packet. 122 The mechanism defined by this document encrypts packets' header 123 extensions using the same cryptographic algorithms and parameters as 124 are used to encrypt the packets' RTP payloads. This document defines 125 how this is done for the encryption transforms defined in [RFC3711], 126 [RFC5669], and [RFC6188], the SRTP encryption transforms defined by 127 standards-track IETF documents at the time of this writing. It also 128 updates [RFC3711], to indicate that specifications of future SRTP 129 encryption transforms must define how header extension encryption is 130 to be performed. 132 2. Terminology 134 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 135 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 136 document are to be interpreted as described in RFC 2119 [RFC2119] and 137 indicate requirement levels for compliant implementations. 139 3. Encryption Mechanism 141 Encrypted header extension elements are carried in the same manner as 142 non-encrypted header extension elements, as defined by [RFC5285]. 143 The (one- or two-byte) header of the extension elements is not 144 encrypted, nor is any of the header extension padding. If multiple 145 different header extension elements are being encrypted, they have 146 separate element identifier values, just as they would if they were 147 not encrypted; similarly, encrypted and non-encrypted header 148 extension elements have separate identifier values. 150 Encrypted extension headers are only carried in packets encrypted 151 using the Secure Real-Time Transport Protocol [RFC3711]. To encrypt 152 (or decrypt) encrypted extension headers, an SRTP participant first 153 uses the SRTP Key Derivation Algorithm, specified in Section 4.3.1 of 154 [RFC3711], to generate header encryption and header salting keys, 155 using the same pseudo-random function family as are used for the key 156 derivation for the SRTP session. These keys are derived as follows: 157 o k_he (SRTP header encryption):