Network Working Group                                        D. EastLake
Request for Comments: 2536                                           IBM
Category: Standards Track                                     March 1999
        
           DSA KEYs and SIGs in the Domain Name System (DNS)
        

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 (1999). All Rights Reserved.

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

Abstract

抽象

A standard method for storing US Government Digital Signature Algorithm keys and signatures in the Domain Name System is described which utilizes DNS KEY and SIG resource records.

ドメインネームシステムでは、米国政府のデジタル署名アルゴリズムの鍵と署名を格納するための標準的な方法は、DNS KEYとSIGリソースレコードを利用した記述されています。

Table of Contents

目次

   Abstract...................................................1
   1. Introduction............................................1
   2. DSA KEY Resource Records................................2
   3. DSA SIG Resource Records................................3
   4. Performance Considerations..............................3
   5. Security Considerations.................................4
   6. IANA Considerations.....................................4
   References.................................................5
   Author's Address...........................................5
   Full Copyright Statement...................................6
        
1. Introduction
1. はじめに

The Domain Name System (DNS) is the global hierarchical replicated distributed database system for Internet addressing, mail proxy, and other information. The DNS has been extended to include digital signatures and cryptographic keys as described in [RFC 2535]. Thus the DNS can now be secured and can be used for secure key distribution.

ドメインネームシステム(DNS)は、インターネットアドレス、メールプロキシ、およびその他の情報のためのグローバルな階層に複製分散データベースシステムです。 DNSは、[RFC 2535]に記載されているように、デジタル署名および暗号化キーを含むように拡張されています。したがって、DNSは今確保することができ、安全な鍵配布のために使用することができます。

This document describes how to store US Government Digital Signature Algorithm (DSA) keys and signatures in the DNS. Familiarity with the US Digital Signature Algorithm is assumed [Schneier]. Implementation of DSA is mandatory for DNS security.

この文書では、DNSに米国政府デジタル署名アルゴリズム(DSA)鍵と署名を保存する方法について説明します。米国のデジタル署名アルゴリズムに精通して[シュナイアー]を想定しています。 DSAの実装は、DNSセキュリティのための必須です。

2. DSA KEY Resource Records
2. DSA KEYリソースレコード

DSA public keys are stored in the DNS as KEY RRs using algorithm number 3 [RFC 2535]. The structure of the algorithm specific portion of the RDATA part of this RR is as shown below. These fields, from Q through Y are the "public key" part of the DSA KEY RR.

DSA公開鍵はアルゴリズム番号3 [RFC 2535]を使用して、鍵資源レコードとしてDNSに格納されています。このRRのRDATA部のアルゴリズム特定部分の構造は、以下のように示されています。 QからYを通じてこれらのフィールドは、DSA KEY RRの「公開鍵」の部分です。

The period of key validity is not in the KEY RR but is indicated by the SIG RR(s) which signs and authenticates the KEY RR(s) at that domain name.

キー有効期間は、キーのRRではないが、そのドメイン名でKEYのRR(S)を認証符号とSIGのRR(S)で示されています。

           Field     Size
           -----     ----
            T         1  octet
            Q        20  octets
            P        64 + T*8  octets
            G        64 + T*8  octets
            Y        64 + T*8  octets
        

As described in [FIPS 186] and [Schneier]: T is a key size parameter chosen such that 0 <= T <= 8. (The meaning for algorithm 3 if the T octet is greater than 8 is reserved and the remainder of the RDATA portion may have a different format in that case.) Q is a prime number selected at key generation time such that 2**159 < Q < 2**160 so Q is always 20 octets long and, as with all other fields, is stored in "big-endian" network order. P, G, and Y are calculated as directed by the FIPS 186 key generation algorithm [Schneier]. P is in the range 2**(511+64T) < P < 2**(512+64T) and so is 64 + 8*T octets long. G and Y are quantities modulus P and so can be up to the same length as P and are allocated fixed size fields with the same number of octets as P.

[FIPS 186]と[シュナイアー]で説明されるように:Tオクテット8が予約されているより大きく、の残部である場合、Tは、アルゴリズム3 0 <= T <= 8(意味することを選択した鍵サイズパラメータでありますRDATA部は、その場合には異なる形式を有していてもよい。)Qは、他のすべてのフィールドと同様に、2 ** 159 <Q <2 ** 160がそうQは、常に20オクテットの長さであるように、鍵生成時に選択された素数であり、 「ビッグエンディアン」のネットワーク順に格納されます。 P、G、及びY FIPS 186鍵生成アルゴリズム[シュナイアー]によって指示されるように計算されます。 Pは範囲2 **(+ 64T 511)<P <2 **(+ 64T 512)にあるので、64 + 8 * Tオクテットの長さです。 G及びYは、モジュラスP量であるので、Pと同じ長さまで可能とP.としてオクテット数が同じ固定サイズのフィールドが割り当てられています

During the key generation process, a random number X must be generated such that 1 <= X <= Q-1. X is the private key and is used in the final step of public key generation where Y is computed as

鍵生成プロセス中に、乱数Xは、1 <= X <= Q-1が生成されなければなりません。 Xは秘密鍵であり、Yは以下のように計算される公開鍵の生成の最終段階で使用され

Y = G**X mod P

Y = G ** X MOD P

3. DSA SIG Resource Records
3. DSA SIGリソースレコード

The signature portion of the SIG RR RDATA area, when using the US Digital Signature Algorithm, is shown below with fields in the order they occur. See [RFC 2535] for fields in the SIG RR RDATA which precede the signature itself.

SIG RR RDATA領域の署名部分、米国デジタル署名アルゴリズムを使用して、それらが起こるためのフィールドで以下に示されています。署名自体に先行するSIG RR RDATAのフィールドの[RFC 2535]を参照。

           Field     Size
           -----     ----
            T         1 octet
            R        20 octets
            S        20 octets
        

The data signed is determined as specified in [RFC 2535]. Then the following steps are taken, as specified in [FIPS 186], where Q, P, G, and Y are as specified in the public key [Schneier]:

署名されたデータは、[RFC 2535]で指定されるように決定されます。公開鍵[シュナイアー]で指定されるようにQ、P、G、及びYは[FIPS 186]で指定されるように、次の手順は、取られます。

hash = SHA-1 ( data )

ハッシュ= SHA-1(データ)

Generate a random K such that 0 < K < Q.

ランダムKを生成するように0 <K <Q.

R = ( G**K mod P ) mod Q

R =(G ** K MOD P)のV Q

S = ( K**(-1) * (hash + X*R) ) mod Q

S =(K **( - 1)*(ハッシュ+ X * R))MOD Q

Since Q is 160 bits long, R and S can not be larger than 20 octets, which is the space allocated.

Qが長い160ビットであるので、R及びSは、スペース割り当てられた、20オクテットよりも大きくすることができません。

T is copied from the public key. It is not logically necessary in the SIG but is present so that values of T > 8 can more conveniently be used as an escape for extended versions of DSA or other algorithms as later specified.

Tは、公開鍵からコピーされます。これは、SIGに論理的に必要ではないが、T> 8の値は、より便利に後で指定されるようにDSA又は他のアルゴリズムの拡張バージョンのエスケープとして使用することができるように存在しています。

4. Performance Considerations
4.パフォーマンスの考慮事項

General signature generation speeds are roughly the same for RSA [RFC 2537] and DSA. With sufficient pre-computation, signature generation with DSA is faster than RSA. Key generation is also faster for DSA. However, signature verification is an order of magnitude slower than RSA when the RSA public exponent is chosen to be small as is recommended for KEY RRs used in domain name system (DNS) data authentication.

一般的な署名生成速度はおおよそRSA [RFC 2537]とDSAのために同じです。十分な事前計算を用いて、DSAと署名生成は、RSAよりも高速です。鍵の生成は、DSAのためにも高速です。しかし、署名の検証は、RSA公開指数は、ドメインネームシステム(DNS)データ認証に使用されるキーのRRのために推奨されているように小さくなるように選択されたときにRSAよりも遅い大きさのオーダーです。

Current DNS implementations are optimized for small transfers, typically less than 512 bytes including overhead. While larger transfers will perform correctly and work is underway to make larger transfers more efficient, it is still advisable at this time to make reasonable efforts to minimize the size of KEY RR sets stored within the DNS consistent with adequate security. Keep in mind that in a secure zone, at least one authenticating SIG RR will also be returned.

現在のDNS実装は小さな転送、オーバーヘッドを含む一般的に512バイト未満のために最適化されています。大きな転送が正しく行われ、作業が大きく転送の効率化を進めているが、それは適切なセキュリティと一致DNS内に保存されたKEY RRセットのサイズを最小化するために合理的な努力をするために、この時点ではまだお勧めします。安全なゾーンでは、SIG RRを認証する少なくとも一つも返されることに注意してください。

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

Many of the general security consideration in [RFC 2535] apply. Keys retrieved from the DNS should not be trusted unless (1) they have been securely obtained from a secure resolver or independently verified by the user and (2) this secure resolver and secure obtainment or independent verification conform to security policies acceptable to the user. As with all cryptographic algorithms, evaluating the necessary strength of the key is essential and dependent on local policy.

[RFC 2535]での一般的なセキュリティ上の考慮事項の多くが適用されます。 (1)それらが確実に安全なレゾルバから得られた又は独立したユーザに許容されるセキュリティポリシーに準拠したユーザと、(2)このセキュアリゾルバとセキュア取得または独立した検証によって確認されていない限り、DNSから検索キーが信頼されるべきではありません。すべての暗号化アルゴリズムと同じように、キーの必要な強度を評価することが不可欠とローカルポリシーに依存しています。

The key size limitation of a maximum of 1024 bits ( T = 8 ) in the current DSA standard may limit the security of DSA. For particularly critical applications, implementors are encouraged to consider the range of available algorithms and key sizes.

現在のDSA標準で1024ビット(T = 8)の最大のキーサイズ制限は、DSAのセキュリティを制限することができます。特に重要なアプリケーションのために、実装者は、利用可能なアルゴリズムとキーサイズの範囲を検討することをお勧めします。

DSA assumes the ability to frequently generate high quality random numbers. See [RFC 1750] for guidance. DSA is designed so that if manipulated rather than random numbers are used, very high bandwidth covert channels are possible. See [Schneier] and more recent research. The leakage of an entire DSA private key in only two DSA signatures has been demonstrated. DSA provides security only if trusted implementations, including trusted random number generation, are used.

DSAは、頻繁に高品質の乱数を生成する機能を前提としています。ガイダンスについては、[RFC 1750]を参照してください。操作ではなく、ランダムな番号が使用されている場合、非常に高い帯域幅隠れチャネルが可能になるように、DSAが設計されています。 [シュナイアー]、より最近の研究を参照してください。 2つだけDSA署名全体DSA秘密鍵の漏洩が実証されています。 DSAは、信頼できる乱数生成を含む、信頼の実装は、使用されている場合にのみ、セキュリティを提供します。

6. IANA Considerations
6. IANAの考慮事項

Allocation of meaning to values of the T parameter that are not defined herein requires an IETF standards actions. It is intended that values unallocated herein be used to cover future extensions of the DSS standard.

本明細書中で定義されていないTパラメータの値に意味の配分は、IETF標準化行動を必要とします。ここに未割り当ての値は、DSS標準の将来の拡張をカバーするために使用されることが意図されます。

References

リファレンス

[FIPS 186] U.S. Federal Information Processing Standard: Digital Signature Standard.

[FIPS 186]米国連邦情報処理規格:デジタル署名標準。

[RFC 1034] Mockapetris, P., "Domain Names - Concepts and Facilities", STD 13, RFC 1034, November 1987.

[RFC 1034] Mockapetris、P.、 "ドメイン名 - 概念および機能"、STD 13、RFC 1034、1987年11月。

[RFC 1035] Mockapetris, P., "Domain Names - Implementation and Specification", STD 13, RFC 1035, November 1987.

[RFC 1035] Mockapetris、P.、 "ドメイン名 - 実装と仕様"、STD 13、RFC 1035、1987年11月。

[RFC 1750] Eastlake, D., Crocker, S. and J. Schiller, "Randomness Recommendations for Security", RFC 1750, December 1994.

[RFC 1750]イーストレイク、D.、クロッカー、S.とJ.シラー、 "セキュリティのためのランダム性に関する推奨事項"、RFC 1750、1994年12月。

[RFC 2535] Eastlake, D., "Domain Name System Security Extensions", RFC 2535, March 1999.

[RFC 2535]イーストレイク、D.、 "ドメインネームシステムのセキュリティ拡張機能"、RFC 2535、1999年3月。

[RFC 2537] Eastlake, D., "RSA/MD5 KEYs and SIGs in the Domain Name System (DNS)", RFC 2537, March 1999.

[RFC 2537]イーストレイク、D.、 "RSA / MD5キーおよびドメインネームシステム(DNS)でのSIG"、RFC 2537、1999年3月。

[Schneier] Schneier, B., "Applied Cryptography Second Edition: protocols, algorithms, and source code in C", 1996.

[シュナイアー]シュナイアー、B.、「応用暗号第二版:プロトコル、アルゴリズム、およびCにおけるソースコード」、1996。

Author's Address

著者のアドレス

Donald E. Eastlake 3rd IBM 65 Shindegan Hill Road, RR #1 Carmel, NY 10512

ドナルドE.イーストレイク3位IBM 65 Shindeganヒルロード、RR#1カーメル、NY 10512

Phone: +1-914-276-2668(h) +1-914-784-7913(w) Fax: +1-914-784-3833(w) EMail: dee3@us.ibm.com

電話番号:+ 1-914-276-2668(H)+ 1-914-784-7913(W)ファックス:+ 1-914-784-3833(W)メール:dee3@us.ibm.com

Full Copyright Statement

完全な著作権声明

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

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

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.

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