[要約] RFC 2948は、Telnetセッションの暗号化に使用されるDES3 64ビット出力フィードバックを定義しています。このRFCの目的は、セキュアな通信を提供するためにTelnetプロトコルを拡張することです。

Network Working Group                                          J. Altman
Request for Comments: 2948                           Columbia University
Category: Standards Track                                 September 2000
        

Telnet Encryption: DES3 64 bit Output Feedback

Telnet暗号化:DES3 64ビット出力フィードバック

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.

Copyright(c)The Internet Society(2000)。無断転載を禁じます。

Abstract

概要

This document specifies how to use the Triple-DES (data encryption standard) encryption algorithm in output feedback mode with the telnet encryption option.

このドキュメントは、Telnet暗号化オプションで出力フィードバックモードでTriple-DES(データ暗号化標準)暗号化アルゴリズムを使用する方法を指定します。

1. Command Names and Codes
1. コマンド名とコード

Encryption Type

暗号化の種類

DES3_OFB64 4

DES3_OFB64 4

Suboption Commands

サブオプションコマンド

OFB64_IV 1 OFB64_IV_OK 2 OFB64_IV_BAD 3

OFB64_IV 1 OFB64_IV_OK 2 OFB64_IV_BAD 3

2. Command Meanings
2. コマンドの意味

IAC SB ENCRYPT IS DES3_OFB64 OFB64_IV <initial vector> IAC SE

IAC SB暗号化はdes3_ofb64 ofb64_iv <初期vector> iac se

The sender of this command generates a random 8 byte initial vector, and sends it to the other side of the connection using the OFB64_IV command. The initial vector is sent in clear text. Only the side of the connection that is WILL ENCRYPT may send the OFB64_IV command.

このコマンドの送信者は、ランダムな8バイト初期ベクトルを生成し、OFB64_IVコマンドを使用して接続の反対側に送信します。初期ベクトルは明確なテキストで送信されます。暗号化される接続の側面のみがOFB64_IVコマンドを送信できます。

IAC SB ENCRYPT REPLY DES3_OFB64 OFB64_IV_OK IAC SE IAC SB ENCRYPT REPLY DES3_OFB64 OFB64_IV_BAD IAC SE

IAC SB暗号化REPLY DES3_OFB64 OFB64_IV_OK IAC SE IAC SB ENCRYPT REPLY DES3_OFB64 OFB64_IV_BAD IAC SE

The sender of these commands either accepts or rejects the initial vector received in a OFB64_IV command. Only the side of the connection that is DO ENCRYPT may send the OFB64_IV_OK and OFB64_IV_BAD commands. The OFB64_IV_OK command MUST be sent for backwards compatibility with existing implementations; there really isn't any reason why a sender would need to send the OFB64_IV_BAD command except in the case of a protocol violation where the IV sent was not of the correct length (i.e., 8 bytes).

これらのコマンドの送信者は、OFB64_IVコマンドで受信した最初のベクトルを受け入れるか拒否します。暗号化されている接続の側面のみが、OFB64_IV_OKおよびOFB64_IV_BADコマンドを送信できます。OFB64_IV_OKコマンドは、既存の実装との逆方向の互換性のために送信する必要があります。送信者が送信されたプロトコル違反の場合を除き、送信者がOFB64_IV_BADコマンドを送信する必要がある理由は実際にはありません。

3. Implementation Rules
3. 実装ルール

Once a OFB64_IV_OK command has been received, the WILL ENCRYPT side of the connection should do keyid negotiation using the ENC_KEYID command. Once the keyid negotiation has successfully identified a common keyid, then START and END commands may be sent by the side of the connection that is WILL ENCRYPT. Data will be encrypted using the DES3 64 bit Output Feedback algorithm.

ofb64_iv_okコマンドが受信されると、接続の[暗号化側]がENC_KEYIDコマンドを使用してKeyIDネゴシエーションを行う必要があります。KeyID交渉が共通のKeyIDを正常に識別したら、暗号化される接続の側面によって開始および終了コマンドが送信される場合があります。データは、DES3 64ビット出力フィードバックアルゴリズムを使用して暗号化されます。

If encryption (decryption) is turned off and back on again, and the same keyid is used when re-starting the encryption (decryption), the intervening clear text must not change the state of the encryption (decryption) machine.

暗号化(復号化)がオフになって再びオンになっている場合、暗号化(復号化)を再起動するときに同じKeyIDが使用されている場合、介在する明確なテキストは、暗号化(復号化)マシンの状態を変更してはなりません。

If a START command is sent (received) with a different keyid, the encryption (decryption) machine must be re-initialized immediately following the end of the START command with the new key and the initial vector sent (received) in the last OFB64_IV command.

別のkeyIDで開始コマンドが送信(受信)の場合、新しいキーと最後のb64_ivコマンドで送信された初期ベクトル(受信)を使用して、開始コマンドの終了後に暗号化(復号化)マシンを再開する必要があります。

If a new OFB64_IV command is sent (received), and encryption (decryption) is enabled, the encryption (decryption) machine must be re-initialized immediately following the end of the OFB64_IV command with the new initial vector, and the keyid sent (received) in the last START command.

新しいb64_ivコマンドが送信され(受信)、暗号化(復号化)が有効になっている場合、暗号化(復号化)マシンは、ofb64_ivコマンドの終了後、新しい初期ベクトルと送信されたKeyID(受信)の直後に再開する必要があります。)最後の開始コマンドで。

If encryption (decryption) is not enabled when a OFB64_IV command is sent (received), the encryption (decryption) machine must be re-initialized after the next START command, with the keyid sent (received) in that START command, and the initial vector sent (received) in this OFB64_IV command.

ofb64_ivコマンドが送信された場合(受信)、暗号化(復号化)が有効になっていない場合、暗号化(復号化)マシンは次の開始コマンドの後に再開する必要があり、その開始コマンドにkeyID(受信)が送信され、最初のコマンドが送信されます。ofb64_ivコマンドで送信(受信)。

4. Algorithm
4. アルゴリズム

DES3 64 bit Output Feedback

DES3 64ビット出力フィードバック

                  key1       key2       key3
                   |          |          |
                   v          v          v
               +-------+  +-------+  +-------+
            +->| DES-e |->| DES-d |->| DES-e |-- +
            |  +-------+  +-------+  +-------+   |
            +------------------------------------+
                                                v
    INPUT ------------------------------------->(+) ----> DATA
        

Given: iV: Initial vector, 64 bits (8 bytes) long. Dn: the nth chunk of 64 bits (8 bytes) of data to encrypt (decrypt). On: the nth chunk of 64 bits (8 bytes) of encrypted (decrypted) output.

指定:IV:初期ベクトル、64ビット(8バイト)の長さ。DN:暗号化(復号化)に64ビット(8バイト)のデータ(8バイト)のn番目のチャンク。ON:暗号化された(復号化された)出力の64ビット(8バイト)のn番目のチャンク。

       V0 = DES-e(DES-d(DES-e(iV, key1),key2),key3)
       V(n+1) = DES-e(DES-d(DES-e(Vn, key1),key2),key3)
       On = Dn ^ Vn
        
5. Integration with the AUTHENTICATION telnet option
5. 認証Telnetオプションとの統合

As noted in the telnet ENCRYPTION option specifications, a keyid value of zero indicates the default encryption key, as might be derived from the telnet AUTHENTICATION option. If the default encryption key negotiated as a result of the telnet AUTHENTICATION option contains less than 16 bytes, then the DES3_OFB64 option must not be offered or used as a valid telnet encryption option.

Telnet暗号化オプションの仕様に記載されているように、ゼロのKeyID値は、Telnet認証オプションから導出される可能性があるデフォルトの暗号化キーを示します。Telnet認証オプションの結果としてネゴシエートされたデフォルトの暗号化キーに16バイト未満が含まれている場合、DES3_OFB64オプションを有効なTelnet暗号化オプションとして提供または使用する必要はありません。

The following rules are to be followed for creating three DES encryption keys based upon the available encrypt key data:

使用可能な暗号化キーデータに基づいて、3つのデス暗号化キーを作成するために、次のルールに従う必要があります。

keys_to_use = bytes of key data / DES block size (8 bytes)

keys_to_use =キーデータ / DESブロックサイズのバイト(8バイト)

where the keys are labeled "key1" through "key6" with "key1" being the first 8 bytes; "key2" the second 8 bytes; ... and "key6" being sixth 8 bytes (if available).

キーに「key1」が「key6」を介して「key1」とラベル付けされ、「key1」が最初の8バイトです。「key2」2番目の8バイト。...および「key6」は6番目の8バイトです(利用可能な場合)。

When two keys are available:

2つのキーが利用可能な場合:

. data sent from the server is encrypted with key1, decrypted with key2, and encrypted with key1;

。サーバーから送信されたデータは、key1で暗号化され、key2で復号化され、key1で暗号化されます。

. data sent from the client is encrypted with key2, decrypted with key1, and encrypted with key2

。クライアントから送信されたデータは、key2で暗号化され、key1で復号化され、key2で暗号化されます

When three keys are available:

3つのキーが利用可能な場合:

. data sent from the server is encrypted with key1, decrypted with key2, and encrypted with key3;

。サーバーから送信されたデータは、key1で暗号化され、key2で復号化され、key3で暗号化されます。

. data sent from the client is encrypted with key2, decrypted with key3, and encrypted with key1

。クライアントから送信されたデータは、key2で暗号化され、key3で復号化され、key1で暗号化されます

When four keys are available:

4つのキーが利用可能な場合:

. data sent from the server is encrypted with key1, decrypted with key2, and encrypted with key3;

。サーバーから送信されたデータは、key1で暗号化され、key2で復号化され、key3で暗号化されます。

. data sent from the client is encrypted with key2, decrypted with key4, and encrypted with key1

。クライアントから送信されたデータは、key2で暗号化され、key4で復号化され、key1で暗号化されます

When five keys are available:

5つのキーが利用可能な場合:

. data sent from the server is encrypted with key1, decrypted with key2, and encrypted with key3;

。サーバーから送信されたデータは、key1で暗号化され、key2で復号化され、key3で暗号化されます。

. data sent from the client is encrypted with key2, decrypted with key4, and encrypted with key5

。クライアントから送信されたデータは、key2で暗号化され、key4で復号化され、key5で暗号化されます

When six keys are available:

6つのキーが利用可能な場合:

. data sent from the server is encrypted with key1, decrypted with key2, and encrypted with key3;

。サーバーから送信されたデータは、key1で暗号化され、key2で復号化され、key3で暗号化されます。

. data sent from the client is encrypted with key4, decrypted with key5, and encrypted with key6

。クライアントから送信されたデータは、key4で暗号化され、key5で復号化され、key6で暗号化されます

In all cases, the keys used by DES3_OFB64 must have their parity corrected after they are determined using the above algorithm.

すべての場合において、DES3_OFB64が使用するキーは、上記のアルゴリズムを使用して決定された後にパリティを修正する必要があります。

Note that the above algorithm assumes that it is safe to use a non-DES key (or part of a non-DES key) as a DES key. This is not necessarily true of all cipher systems, but we specify this behaviour as the default since it is true for most authentication systems in popular use today, and for compatibility with existing implementations. New telnet AUTHENTICATION mechanisms may specify alternative methods for determining the keys to be used for this cipher suite in their specification, if the session key negotiated by that authentication mechanism is not a DES key and and where this algorithm may not be safely used.

上記のアルゴリズムは、DESキー(または非DESキーの一部)をDESキーとして使用しても安全であると想定していることに注意してください。これは必ずしもすべての暗号システムに当てはまるわけではありませんが、今日の一般的な使用のほとんどの認証システムや既存の実装との互換性に当てはまるため、この動作をデフォルトとして指定します。新しいTelnet認証メカニズムは、その認証メカニズムによってネゴシエートされたセッションキーがDESキーではなく、このアルゴリズムが安全に使用されない場合、セッションキーがその仕様で使用されるキーを決定するための代替方法を指定する場合があります。

6. Security Considerations
6. セキュリティに関する考慮事項

Encryption using Output Feedback does not ensure data integrity; an active attacker may be able to substitute text, if he can predict the clear-text that was being transmitted.

出力フィードバックを使用した暗号化は、データの整合性を確保しません。アクティブな攻撃者は、送信されているクリアテキストを予測できる場合、テキストを置き換えることができる場合があります。

The tradeoff here is that adding a message authentication code (MAC) will significantly increase the number of bytes needed to send a single character in the telnet protocol, which will impact performance on slow (i.e. dialup) links.

ここでのトレードオフは、メッセージ認証コード(MAC)を追加すると、Telnetプロトコルで単一の文字を送信するのに必要なバイト数が大幅に増加し、Slow(つまりダイヤルアップ)リンクのパフォーマンスに影響を与えることです。

This option was originally drafted back when CPU speeds where not necessarily fast enough to do allow use of CFB. Since then, CPU's have gotten much faster. Given the inherent weaknesses in Output Feedback mode, perhaps it should be deprecated in favor of CFB modes?

このオプションは、CPUがCFBの使用を許可するのに十分な速度ではない場合に、CPUが速度を上げたときに元々ドラフトされました。それ以来、CPUははるかに速くなりました。出力フィードバックモードに固有の弱点を考えると、おそらくCFBモードを支持して非推奨する必要がありますか?

7. Acknowledgments
7. 謝辞

This document was based on the "Telnet Encryption: DES 64 bit Output Feedback" document originally written by Dave Borman of Cray Research with the assistance of the IETF Telnet Working Group.

このドキュメントは、IETF Telnetワーキンググループの支援を受けて、Cray ResearchのDave Bormanが元々書いた「Telnet暗号化:DES 64ビット出力フィードバック」ドキュメントに基づいていました。

Author's Address

著者の連絡先

Jeffrey Altman, Editor Columbia University 612 West 115th Street Room 716 New York NY 10025 USA

ジェフリー・アルトマン、編集者コロンビア大学612ウェスト115thストリートルーム716ニューヨークNY 10025 USA

   Phone: +1 (212) 854-1344
   EMail: jaltman@columbia.edu
        

Full Copyright Statement

完全な著作権声明

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

Copyright(c)The Internet Society(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エディター機能の資金は現在、インターネット協会によって提供されています。