Internet Engineering Task Force (IETF)                        P. Hoffman
Request for Comments: 6358                                VPN Consortium
Category: Experimental                                      January 2012
ISSN: 2070-1721
        
                Additional Master Secret Inputs for TLS
        

Abstract

抽象

This document describes a mechanism for using additional master secret inputs with Transport Layer Security (TLS) and Datagram TLS (DTLS).

この文書では、トランスポート層セキュリティ(TLS)およびデータグラムTLS(DTLS)で追加のマスターシークレットの入力を使用するための仕組みを説明しています。

Status of This Memo

このメモのステータス

This document is not an Internet Standards Track specification; it is published for examination, experimental implementation, and evaluation.

このドキュメントはインターネット標準化過程仕様ではありません。それは、検査、実験的な実装、および評価のために公開されています。

This document defines an Experimental Protocol for the Internet community. This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are a candidate for any level of Internet Standard; see Section 2 of RFC 5741.

この文書は、インターネットコミュニティのためにExperimentalプロトコルを定義します。このドキュメントはインターネットエンジニアリングタスクフォース(IETF)の製品です。これは、IETFコミュニティの総意を表しています。これは、公開レビューを受けており、インターネットエンジニアリング運営グループ(IESG)によって公表のために承認されています。 IESGによって承認されていないすべての文書がインターネットStandardのどんなレベルの候補です。 RFC 5741のセクション2を参照してください。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc6358.

このドキュメントの現在の状態、任意の正誤表、そしてどのようにフィードバックを提供するための情報がhttp://www.rfc-editor.org/info/rfc6358で取得することができます。

Copyright Notice

著作権表示

Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.

著作権(C)2012 IETF信託とドキュメントの作成者として特定の人物。全著作権所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) 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. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

この文書では、BCP 78と、この文書の発行日に有効なIETFドキュメント(http://trustee.ietf.org/license-info)に関連IETFトラストの法律の規定に従うものとします。彼らは、この文書に関してあなたの権利と制限を説明するように、慎重にこれらの文書を確認してください。コードコンポーネントは、トラスト法規定のセクションで説明4.eおよび簡体BSDライセンスで説明したように、保証なしで提供されているよう簡体BSDライセンスのテキストを含める必要があり、この文書から抽出されました。

This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English.

この材料の一部がIETFトラストにこのような材料の変更を許可する権利を与えられていない可能性がありますにこの文書は、2008年、IETFドキュメントまたは11月10日以前に発行または公開さIETF貢献から著作権を支配する者(複数可)材料を含んでいてもよいですIETF標準化プロセスの外。そのような材料の著作権を管理者(単数または複数)から適切なライセンスを取得することなく、この文書は、IETF標準化過程の外側修正されないかもしれません、そして、それの派生物は、IETF標準化過程の外側に作成されない場合があり、それをフォーマットする以外出版RFCとして、英語以外の言語に翻訳します。

1. Introduction
1. はじめに

Some TLS 1.2 [RFC5246] and DTLS 1.2 [RFC6347] extensions want to mix particular data into the calculation of the master secret. This mixing creates a cryptographic binding of the added material directly into the secret that is used to protect the TLS session. For example, some systems want to be sure that there is sufficient randomness in the TLS master secret, and this can be accomplished by adding it directly to the master secret calculations.

いくつかのTLS 1.2 [RFC5246]とDTLS 1.2は、[RFC6347]の拡張機能は、マスターシークレットの計算に特定のデータをミックスしたいです。この混合は、直接TLSセッションを保護するために使用される秘密に添加材料の暗号バインディングを作成します。例えば、いくつかのシステムでは、TLSマスターシークレットで十分なランダム性があることを確認したい、これはマスターシークレットの計算に直接添加することにより達成することができます。

This document describes a framework for TLS and DTLS extensions to meet these requirements. In an extension that uses this framework, a client and server provide data in the handshake using normal TLS extensions, and then this data is combined with the ClientHello and ServerHello random values during the derivation of the master_secret.

この文書では、これらの要件を満たすためにTLSとDTLS拡張のためのフレームワークについて説明します。このフレームワークを使用する拡張では、クライアントとサーバは、通常のTLS拡張を使用してハンドシェイクでデータを提供し、このデータは、マスター_の導出中のClientHelloとのServerHelloランダムな値と組み合わされます。

Extensions that specify data to be added to the master secret are called "extensions with master secret input". An extension with master secret input must specify the additional input that comes from the client and/or the server. Note that the term "and/or" is used here because the definition of the extension might cause input to the master secret to come from only one of the participants.

マスターシークレットに追加するデータを指定する拡張機能は、「マスターシークレットの入力と拡張子」と呼ばれています。マスターシークレットの入力を持つ拡張は、クライアントおよび/またはサーバから来て、追加の入力を指定する必要があります。なお、用語こと「および/または」拡張の定義は、マスターシークレットへの入力は、参加者の一つだけから来るように起こる可能性があるので、ここで使用されています。

Note that extensions that do not specify that they are extensions with master secret input cannot be extensions with master secret input. That is, every extension that does not call itself an extension with master secret input is treated just like a normal extension. Also note that this document only describes a framework; if an extension uses this framework, and a client and server both implement the extension, no signaling about the use of master secret input is needed: that comes as part of the extension definition itself.

彼らはマスターシークレットの入力と拡張であることを指定していない拡張子がマスター秘密入力して拡張することができないことに注意してください。これは、マスターシークレットの入力と拡張自体を呼び出すことはありません。すべての拡張子は普通の延長のように扱われています。また、この文書は唯一の枠組みを説明していることに注意してください。拡張子がこのフレームワークを使用し、クライアントとサーバが拡張を実装し、両方の場合は、マスター秘密入力の使用についてのシグナリングは必要ありません:それは、拡張定義自体の一部として提供されます。

Use of one or more of these extensions changes the way that the master secret is calculated in TLS and DTLS. That is, if the handshake has no extensions, or only extensions that are not extensions with master secret input, the master secret calculation is unchanged.

これらの拡張機能の1以上を使用すると、マスターシークレットは、TLSとDTLSで計算される方法を変更します。これは、ハンドシェイクが全く拡張機能、またはマスター秘密の入力と拡張されないだけの拡張機能を持っていない場合は、マスターシークレットの計算が変更されていない、です。

1.1. Conventions Used in This Document
1.1. このドキュメントの表記規則

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

この文書のキーワード "MUST"、 "MUST NOT"、 "REQUIRED"、、、、 "べきではない" "べきである" "ないもの" "ものとし"、 "推奨"、 "MAY"、および "OPTIONAL" はあります[RFC2119]に記載されているように解釈されます。

2. Master Secret Calculation Modifications for TLS and DTLS
TLSとDTLS 2.マスターシークレットの計算の変更

When an extension with master secret input is present in the handshake, the additional master secret input values MUST be mixed into the pseudorandom function (PRF) calculation along with the client and server random values during the computation of the master secret. For the calculation of the master secret, the extensions MUST be sorted by extension type order. Note that TLS 1.2 specifies that there can only be one extension per type, and the extensions can appear in mixed order.

マスタシークレット入力に拡張がハンドシェーク中に存在する場合、追加のマスターシークレットの入力値は、擬似ランダム関数(PRF)マスターシークレットの計算中にクライアント及びサーバ乱数値と共に計算に混合しなければなりません。マスターシークレットの計算では、拡張は、拡張型順でソートする必要があります。 TLS 1.2があるだけのタイプごとに1つの延長することができ、拡張機能が混在順に表示できるように指定していることに注意してください。

Each extension with master secret input adds its own specified input, called "additional_ms_input_1" for the extension with master secret input that has the lowest type number, "additional_ms_input_2" for the extension with master secret input with the second lowest type number, and so on.

マスターシークレットの入力と各延長は2番目の最も小さいタイプ番号とマスター秘密の入力を持つ拡張の最安タイプ番号、「additional_ms_input_2」を持っているマスターシークレットの入力での拡張のために、「additional_ms_input_1」と呼ばれる、独自の指定された入力を追加し、 。

The calculation of the master secret becomes:

マスターシークレットの計算は次のようになります。

master_secret = PRF(pre_master_secret, "master secret", ClientHello.random + ClientHello.additional_ms_input_1 + ClientHello.additional_ms_input_2 + . . . ClientHello.additional_ms_input_N + ServerHello.random + ServerHello.additional_ms_input_1 + ServerHello.additional_ms_input_2 + . . . ServerHello.additional_ms_input_N + )[0..47];

マスター_ = PRF(前_のマスター_秘密、 "マスタシークレット"、ClientHello.randomと+ ClientHello.additional_ms_input_1 + ClientHello.additional_ms_input_2 +。。。ClientHello.additional_ms_input_N + ServerHello.random + ServerHello.additional_ms_input_1 + ServerHello.additional_ms_input_2 +。。。ServerHello.additional_ms_input_N +) [0..47]。

Using the specified order of the additional_ms_input_n fields in the master_secret is required for interoperability. Otherwise, a server and a client would not know how to unambiguously calculate the same master_secret.

でマスター_中additional_ms_input_nフィールドの指定された順序を使用すると、相互運用性のために必要とされます。そうでない場合は、サーバーとクライアントが明確に同じでマスター_を計算する方法を知ることはできません。

3. Security Considerations
3.セキュリティの考慮事項

This modification to TLS and DTLS increases the amount of data that an attacker can inject into the master secret calculation. This potentially would allow an attacker who had partially compromised the inputs to the master secret calculation greater scope for influencing the output. Hash-based PRFs like the one used in TLS master secret calculations are designed to be fairly indifferent to the input size.

TLSとDTLSこの改変は、攻撃者が、マスターシークレットの計算に注入することができるデータの量を増加させます。これは、潜在的に、部分的に出力に影響を与えるためのマスターシークレットの計算より大きな範囲への入力を侵害していた攻撃が可能になります。 TLSマスターシークレットの計算に使用されるようなハッシュベースのPRFは、入力サイズにかなり無関心になるように設計されています。

The additional master secret input may have no entropy; in fact, it might be completely predictable to an attacker. TLS is designed to function correctly even when the PRF used in the master secret calculation has a great deal of predictable material because the PRF is used to generate distinct keying material for each connection. Thus, even in the face of completely predictable additional master secret input values, no harm is done to the resulting PRF output. When there is entropy in these values, that entropy is reflected in the PRF output.

追加のマスターシークレットの入力にはエントロピーを有していなくてもよいです。実際には、それが攻撃者に完全に予測可能であるかもしれません。 TLSは、PRFは、接続ごとに個別の鍵素材を生成するために使用されているため、マスターシークレットの計算に使用されるPRFは、予測可能な材料の多くを持っている場合でも、正しく機能するように設計されています。したがって、も完全に予測可能な追加のマスターシークレットの入力値の面で、害は、得られたPRF出力に行われません。これらの値のエントロピーがある場合、そのエントロピーはPRF出力に反映されます。

4. Acknowledgments
4.謝辞

Much of the text in this document is derived from text written by Eric Rescorla, Margaret Salter, and Jerry Solinas.

この文書内のテキストの多くはエリックレスコラ、マーガレット・ソルター、とジェリーSolinasによって書かれたテキストに由来しています。

5. Normative References
5.引用規格

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119]ブラドナーの、S.、 "要件レベルを示すためにRFCsにおける使用のためのキーワード"、BCP 14、RFC 2119、1997年3月。

[RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.2", RFC 5246, August 2008.

[RFC5246]ダークス、T.およびE.レスコラ、 "トランスポート層セキュリティ(TLS)プロトコルバージョン1.2"、RFC 5246、2008年8月。

[RFC6347] Rescorla, E. and N. Modadugu, "Datagram Transport Layer Security version 1.2", RFC 6347, January 2012.

[RFC6347]レスコラ、E.およびN. Modadugu、 "データグラムトランスポート層セキュリティバージョン1.2"、RFC 6347、2012年1月。

Author's Address

著者のアドレス

Paul Hoffman VPN Consortium

ポール・ホフマンVPNコンソーシアム

EMail: paul.hoffman@vpnc.org

メールアドレス:paul.hoffman@vpnc.org