Network Working Group                                           C. Adams
Request for Comments: 2984                          Entrust Technologies
Category: Standards Track                                   October 2000
        
            Use of the CAST-128 Encryption Algorithm in CMS
        

Status of this Memo

このメモの位置付け

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

この文書は、インターネットコミュニティのためのインターネット標準トラックプロトコルを指定し、改善のための議論と提案を要求します。このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD 1)の最新版を参照してください。このメモの配布は無制限です。

Copyright Notice

著作権表示

Copyright (C) The Internet Society (2000). All Rights Reserved.

著作権(C)インターネット協会(2000)。全著作権所有。

Abstract

抽象

This document specifies how to incorporate CAST-128 (RFC2144) into the S/MIME Cryptographic Message Syntax (CMS) as an additional algorithm for symmetric encryption. The relevant OIDs and processing steps are provided so that CAST-128 may be included in the CMS specification (RFC2630) for symmetric content and key encryption.

この文書では、対称暗号化のための追加的なアルゴリズムとして、S / MIME暗号メッセージ構文(CMS)にCAST-128(RFC2144)を組み込む方法を指定します。 CAST-128は、対称コンテンツと鍵暗号化のためのCMS仕様(RFC2630)に含めることができるように、関連のOIDと処理工程が設けられています。

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

キーワード "MUST"、 "MUST NOT"、 "REQUIRED"、(図示のように、大文字で)この文書では、 "SHOULD"、 "推奨" "NOT SHOULD"、 "MAY"、 "OPTIONAL" は可能になっています[RFC2119]で説明されるように解釈されます。

1. Motivation
1.動機

S/MIME (Secure/Multipurpose Internet Mail Extensions) [SMIME2, SMIME3] is a set of specifications for the secure transport of MIME objects. In the current (S/MIME v3) specifications the mandatory-to-implement symmetric algorithm for content encryption and key encryption is triple-DES (3DES). While this is perfectly acceptable in many cases because the security of 3DES is generally considered to be high, for some environments 3DES may be seen to be too slow. In part to help alleviate such performance concerns, S/MIME has allowed any number of (optional) additional algorithms to be used for symmetric content and key encryption.

S / MIME(/多目的インターネットメール拡張セキュア)SMIME2、SMIME3]はMIMEオブジェクトの安全な輸送のための仕様のセットです。仕様(S / MIME v3の)電流が強制的に実装コンテンツの暗号化と鍵暗号化のための対称アルゴリズムをトリプルDES(3DES)です。これは多くの場合、完全に受け入れているが、3DESのセキュリティが一般的に高いと考えられるので、いくつかの環境のために3DESが遅すぎるように見られるかもしれません。このようなパフォーマンス上の問題を軽減するための部分では、S / MIMEは、対称コンテンツと鍵の暗号化に使用される(オプション)追加のアルゴリズムの任意の数を可能にしました。

The CAST-128 encryption algorithm [RFC2144, Adams] is a well-studied symmetric cipher that has a number of appealing features, including relatively high performance and a variable key size (from 40 bits to 128 bits). It is available royalty-free and license-free for commercial and non-commercial uses worldwide [IPR], and therefore is widely used in a number of applications around the Internet. It thus seems to be a suitable optional encryption algorithm for S/MIME.

CAST-128暗号化アルゴリズム[RFC2144、アダムス]は、比較的高い性能と(40ビットから128ビットまで)可変キーサイズなどの機能を魅力の数を有し、よく研究対称暗号です。それは、世界中の商用、非商用の使用のために利用可能なロイヤリティフリーとライセンスフリー[IPR]であるため、広くインターネットの周りの多くのアプリケーションで使用されています。したがって、S / MIMEに適したオプションの暗号化アルゴリズムのようです。

This document describes how to use CAST-128 within the S/MIME CMS specification.

この文書では、S / MIME CMS仕様の範囲内CAST-128を使用する方法について説明します。

2. Specification
2.仕様

This section provides the OIDs and processing information necessary for CAST-128 to be used for content and key encryption in CMS.

このセクションでは、CMS内のコンテンツと鍵の暗号化に使用するCAST-128のために必要なのOIDと処理情報を提供します。

2.1 OIDs for Content and Key Encryption
コンテンツとキーの暗号化のための2.1のOID

CAST-128 is added to the set of optional symmetric encryption algorithms in CMS by providing two unique object identifiers (OIDs). One OID defines the content encryption algorithm and the other defines the key encryption algorithm. Thus a CMS agent can apply CAST-128 either for content or key encryption by selecting the corresponding object identifier, supplying the required parameter, and starting the program code.

CAST-128は2つのユニークなオブジェクト識別子(OID)を提供することにより、CMSにおける任意の対称暗号化アルゴリズムのセットに追加されます。一つのOIDは、コンテンツの暗号化アルゴリズムを定義し、他の主要な暗号化アルゴリズムを定義します。従ってCMSエージェントは、対応するオブジェクト識別子を選択し、必要なパラメータを供給し、そのプログラムコードを開始することによってCAST-128のいずれかのコンテンツまたは鍵暗号化を適用することができます。

For content encryption the use of CAST-128 in cipher block chaining (CBC) mode is RECOMMENDED. The key length is variable (from 40 to 128 bits in 1-octet increments).

コンテンツ暗号化用の暗号ブロック連鎖(CBC)モードでCAST-128を使用することが推奨されます。キーの長さは可変(1オクテット単位で40ビットから128ビット)です。

The CAST-128 content-encryption algorithm in CBC mode has the following object identifier:

CBCモードでCAST-128コンテンツ暗号化アルゴリズムは、次のオブジェクト識別子を有しています。

     cast5CBC OBJECT IDENTIFIER ::= {iso(1) member-body(2)
         us(840) nt(113533) nsn(7) algorithms(66) 10}
        

The parameter associated with this object identifier contains the initial vector IV and the key length:

このオブジェクト識別子に関連付けられたパラメータは、初期ベクトルIVとキーの長さが含まれています。

     cast5CBCParameters ::= SEQUENCE {
         iv         OCTET STRING DEFAULT 0,
         -- Initialization vector
         keyLength  INTEGER
         -- Key length, in bits
     }
        

Comments regarding the use of the IV may be found in [RFC2144].

IVの使用に関するコメントは、[RFC2144]で見つけられるかもしれません。

The key-wrap/unwrap procedures used to encrypt/decrypt a CAST-128 content-encryption key with a CAST-128 key-encryption key are specified in Section 2.2. Generation and distribution of key-encryption keys are beyond the scope of this document.

暗号化/ CAST-128、キー暗号化キーとCAST-128、コンテンツ暗号化キーを解読するために使用されるキーラップ/アンラップ手順はセクション2.2で指定されています。生成とキー暗号化キーの分布は、このドキュメントの範囲を超えています。

The CAST-128 key-encryption algorithm has the following object identifier:

CAST-128鍵暗号化アルゴリズムには、以下のオブジェクト識別子があります。

     cast5CMSkeywrap OBJECT IDENTIFIER ::= { iso(1)
         member-body(2) us(840) nt(113533) nsn(7)
         algorithms(66) 15}
        

The parameter associated with this object identifier contains only the key length (because the key wrapping procedure itself defines how and when to use an IV):

(鍵ラッピング手順自体は、定義方法と時期IVを使用するため)、このオブジェクト識別子に関連付けられたパラメータは、キーの長さが含まれています。

     cast5CMSkeywrapParameter ::= INTEGER
       -- key length, in bits
        
2.2 Key Wrapping and Unwrapping
2.2主要なラッピングとアンラッピング

CAST-128 key wrapping and unwrapping is done in conformance with CMS [RFC2630].

CAST-128鍵ラッピング及びアンラッピングは、CMS [RFC2630]に準拠して行われます。

2.2.1 CAST-128 Key Wrap
2.2.1 CAST-128キーラップ

Key wrapping with CAST-128 is identical to [RFC2630], Sections 12.6.1 and 12.6.4, with "RC2" replaced by "CAST-128" in the introduction to 12.6.4. Only 128-bit CAST-128 keys may be used as key-encryption keys, and they MUST be used with the cast5CMSkeywrapParameter set to 128. It is RECOMMENDED that the size of the content-encryption key and the size of the key-encryption key be equal (since the security of the content will be at most the smaller of these two values).

CAST-128を有する鍵ラッピング12.6.4への導入に "CAST-128" に置き換え、 "RC2" と、セクション12.6.1および12.6.4 [RFC2630]と同一です。これは推奨されているだけ128ビットのCAST-128のキーは、キー暗号化キーとして使用することができ、それらは128に設定cast5CMSkeywrapParameterと共に使用されなければならないことをコンテンツ暗号化鍵のサイズとキー暗号化キーのサイズ等しくなる(コンテンツのセキュリティは、これら2つの値のうちの最大で小さくなるため)。

2.2.2 CAST-128 Key Unwrap
2.2.2 CAST-128鍵アンラップ

Key unwrapping with CAST-128 is identical to [RFC2630], Sections 12.6.1 and 12.6.5, with "RC2" replaced by "CAST-128" in the introduction to 12.6.5.

キーCAST-128を用いてアンラップする12.6.5への導入に "CAST-128" に置き換え、 "RC2" と、セクション12.6.1および12.6.5 [RFC2630]と同一です。

3. Using CAST-128 in S/MIME Clients
3. S / MIMEクライアントでのCAST-128を使用して

An S/MIME client SHOULD announce the set of cryptographic functions it supports by using the S/MIME capabilities attribute. This attribute provides a partial list of OIDs of cryptographic functions and MUST be signed by the client. The functions' OIDs SHOULD be logically separated in functional categories and MUST be ordered with respect to their preference. If an S/MIME client is required to support symmetric encryption with CAST-128, the capabilities attribute MUST contain the cast5CBC OID specified above in the category of symmetric algorithms. The parameter associated with this OID (see above) MUST be used to indicate supported key length. For example, when the supported key length is 128 bits, the

S / MIMEクライアントは、それが機能属性S / MIMEを使用してサポートしている暗号化機能のセットを発表すべきです。この属性は、暗号化関数のOIDの部分的なリストを提供し、クライアントによって署名されなければなりません。関数OIDは、論理的に機能的なカテゴリに分離されるべきであり、彼らの好みに関して注文しなければなりません。 S / MIMEクライアントがCAST-128対称暗号化をサポートするために必要とされる場合、機能は対称アルゴリズムのカテゴリに上で指定cast5CBC OIDを含まなければならない属性。このOID(上記参照)に関連するパラメータは、サポートされているキーの長さを示すために使用されなければなりません。例えば、サポートされている鍵長は128ビットである場合、

SMIMECapability SEQUENCE representing CAST-128 MUST be DER-encoded as the following hexadecimal string: 301106092A864886F67D07420A300402020080.

301106092A864886F67D07420A300402020080:CAST-128を表すSMIMECapability配列は、以下の16進数の文字列としてDERは、符号化されなければなりません。

When a sending agent creates an encrypted message, it has to decide which type of encryption algorithm to use. In general the decision process involves information obtained from the capabilities lists included in messages received from the recipient, as well as other information such as private agreements, user preferences, legal restrictions, and so on. If users require CAST-128 for symmetric encryption, it MUST be supported by the S/MIME clients on both the sending and receiving side, and it MUST be set in the user preferences.

送信エージェントが暗号化されたメッセージを作成するときに、暗号化アルゴリズムのタイプを使用するかを決定する必要があります。一般的には決定プロセスは、このようなように民間協定、ユーザーの好み、法的規制、およびなどの受信者から受信したメッセージだけでなく、他の情報に含まれる機能のリストから得られた情報を含んでいます。ユーザーは、対称暗号化のためのCAST-128が必要な場合は、送信側と受信側の両方にS / MIMEクライアントでサポートしなければならない、それはユーザーの好みに設定しなければなりません。

4. Security Considerations
4.セキュリティについての考慮事項

This document specifies the use of the CAST-128 symmetric cipher for encrypting the content of a CMS message and for encrypting the symmetric key used to encrypt the content of a CMS message. Although CAST-128 allows keys of variable length to be used, it must be recognized that smaller key sizes (e.g., 40, 56, or 64 bits) may be unacceptably weak for some environments. The use of larger key sizes (e.g., 128 bits) is always RECOMMENDED (when relevant import, export, or other laws permit). It is also RECOMMENDED that the size of the content-encryption key and the size of the key-encryption key be equal (since the security of the content will be at most the smaller of these two values).

この文書では、CMSメッセージの内容を暗号化するための、およびCMSメッセージの内容を暗号化するために使用される対称鍵を暗号化するためのCAST-128対称暗号の使用を指定します。 CAST-128は、可変長のキーを使用することを可能にするが、より小さなキーサイズ(例えば、40、56、または64ビット)は、いくつかの環境のために許容できないほど弱くてもよいことが認識されなければなりません。 (関連輸入、輸出、または他の法律が許す場合)拡大鍵のサイズ(例えば、128ビット)を使用することが常に推奨されています。 (コンテンツのセキュリティがこれらの2つの値の最大で小さくなるため)、また、コンテンツ暗号化キーのサイズとキー暗号化キーのサイズが等しいことが推奨されます。

References

リファレンス

[Adams] C. Adams, "Constructing Symmetric Ciphers using the CAST Design Procedure", Designs, Codes, and Cryptography, vol.12, no.3, November 1997, pp.71-104.

[アダムス] C.アダムス、デザイン、コード、および暗号化、第12巻、第3号、1997年11月、pp.71-104「CAST設計手順を使用して共通鍵暗号の構築」。

[IPR] See the "IETF Page of Intellectual Property Rights Notices", http://www.ietf.cnri.reston.va.us/ipr.html

[IPR]「知的財産権通知のIETFページ」を参照してください、http://www.ietf.cnri.reston.va.us/ipr.html

[RFC2144] Adams, C., "The CAST-128 Encryption Algorithm", RFC 2144, May 1997.

[RFC2144]アダムス、C.、 "CAST-128暗号化アルゴリズム"、RFC 2144、1997年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月。

[RFC2630] Housley, R., "Cryptographic Message Syntax", RFC 2630, June 1999.

[RFC2630] Housley氏、R.、 "暗号メッセージ構文"、RFC 2630、1999年6月。

[SMIME2] Dusse, S., Hoffman, P., Ramsdell, B., Lundblade, L. and L. Repka, "S/MIME Version 2 Message Specification", RFC 2311, March 1998.

【SMIME2] Dusse、S.、ホフマン、P.、Ramsdell、B.、Lundblade、L.及びL. Repka、 "S / MIMEバージョン2メッセージ仕様"、RFC 2311、1998年3月。

             Dusse, S., Hoffman, P., Ramsdell, B. and J. Weinstein,
             "S/MIME Version 2 Certificate Handling", RFC 2312, March
             1998.
        

[SMIME3] Ramsdell, B., "S/MIME Version 3 Certificate Handling", RFC 2632, June 1999.

[SMIME3] Ramsdell、B.、 "S / MIMEバージョン3証明書の取り扱い"、RFC 2632、1999年6月。

             Ramsdell, B., "S/MIME Version 3 Message Specification", RFC
             2633, June 1999.
        

Author's Address

著者のアドレス

Carlisle Adams Entrust Technologies 1000 Innovation Drive, Kanata, Ontario, Canada K2K 3E7

カーライルアダムスエントラストテクノロジーズ1000年イノベーションドライブ、カナタ、オンタリオ州、カナダK2K 3E7

EMail: cadams@entrust.com

メールアドレス:cadams@entrust.com

Full Copyright Statement

完全な著作権声明

Copyright (C) The Internet Society (2000). All Rights Reserved.

著作権(C)インターネット協会(2000)。全著作権所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

この文書とその翻訳は、コピーして他の人に提供し、それ以外についてはコメントまたは派生物は、いかなる種類の制限もなく、全体的にまたは部分的に、準備コピーし、公表して配布することができることを説明したり、その実装を支援することができます、上記の著作権表示とこの段落は、すべてのそのようなコピーや派生物に含まれていることを条件とします。しかし、この文書自体は著作権のための手順はで定義されている場合には、インターネット標準を開発するために必要なものを除き、インターネットソサエティもしくは他のインターネット関連団体に著作権情報や参照を取り除くなど、どのような方法で変更されないかもしれませんインターネット標準化プロセスが続く、または英語以外の言語に翻訳するために、必要に応じなければなりません。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上記の制限は永久で、インターネット学会やその後継者や譲渡者によって取り消されることはありません。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

この文書とここに含まれている情報は、基礎とインターネットソサエティおよびインターネットエンジニアリングタスクフォースはすべての保証を否認し、明示または黙示、その情報の利用がない任意の保証を含むがこれらに限定されない「として、」上に設けられています特定の目的への権利または商品性または適合性の黙示の保証を侵害します。

Acknowledgement

謝辞

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。