この文書はRFC2537の日本語訳です。 この文書の翻訳内容の正確さは保障できないため、 正確な知識を求める方は原文を参照してください。 翻訳者はこの文書によって読者が被り得る如何なる損害の責任をも負いません。 この翻訳内容に誤りがある場合、訂正版の公開や、 誤りの指摘は適切です。 この文書の配布は元のRFC同様に無制限です。
Network Working Group D. Eastlake
Request for Comments: 2537 IBM
Category: Standards Track March 1999
RSA/MD5 KEYs and SIGs in the Domain Name System (DNS)
ドメインネームシステム(DNS)でのRSA/MD5鍵と署名
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.
Abstract
概要
A standard method for storing RSA keys and and RSA/MD5 based
signatures in the Domain Name System is described which utilizes DNS
KEY and SIG resource records.
RSA鍵とRSA/MD5署名をドメインネームシステムに登録する標準的
方法が記述されます、これはDNS鍵と署名資源レコードを利用可能にしま
す。
Table of Contents
目次
Abstract
概要
1. Introduction
1. はじめに
2. RSA Public KEY Resource Records
2. RSA鍵資源レコード
3. RSA/MD5 SIG Resource Records
3. RSA/MD5署名資源レコード
4. Performance Considerations
4. 処理能力の考察
5. Security Considerations
5. セキュリティの考察
References
参考文献
Author's Address
著者のアドレス
Full Copyright Statement
著作権表示全文
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 used for secure key distribution.
ドメインネームシステム(DNS)はインターネットアドレスやメール委任
や他の情報を記録するグローバルで階層的で何度も分散するデータベースシ
ステムです。DNSは[RFC 2535]で記述されるように、ディジタル署名と暗
号鍵を含むために拡張されました。それでDNSは安全に保つことができ、
安全性が高い鍵配布に使うことができます。
This document describes how to store RSA keys and and RSA/MD5 based
signatures in the DNS. Familiarity with the RSA algorithm is assumed
[Schneier]. Implementation of the RSA algorithm in DNS is
recommended.
この文書はDNSにRSA鍵とRSA/MD5ベース署名を登録する方法を
記述します。読者はRSAアルゴリズムに精通する想定さします[Schneier]。
RSAアルゴリズムの実装は進められます。
The key words "MUST", "REQUIRED", "SHOULD", "RECOMMENDED", and "MAY"
in this document are to be interpreted as described in RFC 2119.
この文書のキーワード"MUST"と"REQUIRED"と"SHOULD"と"RECOMMENDED"と
"MAY"はRFC2119に記述されるように解釈します。
2. RSA Public KEY Resource Records
2. RSA公開鍵資源レコード
RSA public keys are stored in the DNS as KEY RRs using algorithm
number 1 [RFC 2535]. The structure of the algorithm specific portion
of the RDATA part of such RRs is as shown below.
RSA公開鍵がアルゴリズムナンバー1の使う鍵資源レコードとしてDNS
に登録されます[RFC 2535]。この資源レコードのアルゴリズムに依存する資
源データの部分の構造は以下の通りです。
Field Size
----- ----
exponent length 1 or 3 octets (see text)
exponent as specified by length field
modulus remaining space
For interoperability, the exponent and modulus are each currently
limited to 4096 bits in length. The public key exponent is a
variable length unsigned integer. Its length in octets is
represented as one octet if it is in the range of 1 to 255 and by a
zero octet followed by a two octet unsigned length if it is longer
than 255 bytes. The public key modulus field is a multiprecision
unsigned integer. The length of the modulus can be determined from
the RDLENGTH and the preceding RDATA fields including the exponent.
Leading zero octets are prohibited in the exponent and modulus.
互換性のために、指数(exponent)と係数(modulus)の長さは現在4096ビッ
トが限界です。公開鍵指数は可変長さ符号なし整数です。そのオクテット長
は、1バイトから255バイトなら1オクテットで長さが表現され、256
バイト以上ならゼロ値のオクテットに続く2オクテット符号なし長として示
されます。公開鍵係数フィールドはマルチ精度の符号なしの整数です。係数
の長さは資源データ長と指数を含む指数以前の資源データフィールドから決
定できます。先行するゼロ値のオクテットが指数と係数で禁止されます。
3. RSA/MD5 SIG Resource Records
3. RSA/MD5署名資源レコード
The signature portion of the SIG RR RDATA area, when using the
RSA/MD5 algorithm, is calculated as shown below. The data signed is
determined as specified in [RFC 2535]. See [RFC 2535] for fields in
the SIG RR RDATA which precede the signature itself.
署名資源レコード資源データエリアの署名部は、RSA/MD5アルゴリズ
ムを使う時、以下の様に計算されます。署名データは[RFC 2535]で指定され
るように決定されます。署名資源レコードの署名より前の資源データは
[RFC 2535]を見てください。
hash = MD5 ( data )
signature = ( 00 | 01 | FF* | 00 | prefix | hash ) ** e (mod n)
where MD5 is the message digest algorithm documented in [RFC 1321],
"|" is concatenation, "e" is the private key exponent of the signer,
and "n" is the modulus of the signer's public key. 01, FF, and 00
are fixed octets of the corresponding hexadecimal value. "prefix" is
the ASN.1 BER MD5 algorithm designator prefix specified in [RFC
2437], that is,
MD5は[RFC 1321]で文書化されるメッセージダイジェストアルゴリズムで、
"|"は結合で、"e"が署名者のプライベート鍵指数で、"n"が署名者の公開鍵
の係数です。01とFFと00が16進数の固定値オクテットです。"prefix"は
[RFC 2437]のASN.1 BER MD5アルゴリズムの指定されたプレフィックスで、す
なわち、以下です。
hex 3020300c06082a864886f70d020505000410 [NETSEC].
This prefix is included to make it easier to use RSAREF (or similar
packages such as EuroRef). The FF octet MUST be repeated the maximum
number of times such that the value of the quantity being
exponentiated is the same length in octets as the value of n.
このプレフィックスはRSAREF(あるいはEuroRefのような類似パッケージ)を
使うことをより容易にするために含まれます。数値の長さがnの値のオク
テット数と同じになるようにFFオクテットは繰り返されます(MUST)。
(The above specifications are identical to the corresponding part of
Public Key Cryptographic Standard #1 [RFC 2437].)
(上記の仕様は公開鍵暗号の標準#1[RFC 2437]の対応する部分とまったく
同じです)。
The size of n, including most and least significant bits (which will
be 1) MUST be not less than 512 bits and not more than 4096 bits. n
and e SHOULD be chosen such that the public exponent is small.
最下位ビットと最上位ビット(この値は1でしょう)を含むnのビット数は
512ビット以上4096ビット以下に違いありません。nとeが公開指数
が小さくなるように選択されるべきです(SHOULD)。
Leading zero bytes are permitted in the RSA/MD5 algorithm signature.
先頭のゼロ値のバイトがRSA/MD5アルゴリズム署名で認められます。
A public exponent of 3 minimizes the effort needed to verify a
signature. Use of 3 as the public exponent is weak for
confidentiality uses since, if the same data can be collected
encrypted under three different keys with an exponent of 3 then,
using the Chinese Remainder Theorem [NETSEC], the original plain text
can be easily recovered. This weakness is not significant for DNS
security because we seek only authentication, not confidentiality.
公開指数3が署名の検証に必要な努力を最小にします。3を公開指数に使う
と機密性の弱点が出ます、もし同じデータを3つの異なる鍵で正しく暗号化
したデータが得られたらChinese Remainder定理[NETSEC]を使うと元のテキ
ストが容易に再生できます。この欠点はDNSセキュリティが認証だけを求
め機密性を求めないので重要ではありません。
4. Performance Considerations
4. 処理能力の考察
General signature generation speeds are roughly the same for RSA and
DSA [RFC 2536]. 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 with DSA 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とDSA[RFC 2536]でだいたい同じです。
十分な事前処理によりDSA署名生成はRSAより速いです。鍵生成はDS
Aの方が速いです。しかしドメインネームシステム(DNS)の認証で使う
場合、RSA公開指数が鍵資源レコードで薦められたように小さければ、署
名検証にかかる時間はDSAが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に登録した鍵資源レコードの大きさを最小
化にする合理的な努力をすることは今まだ賢明です。安全なゾーンで少なく
とも1つの認証資源レコードを返すことを念頭においてください。
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で検索した鍵を信頼するべ
きです。すべての暗号のアルゴリズムと同じように、鍵の必要な強度を評価
することが不可欠で、これはローカルポリシーに依存してます。
For interoperability, the RSA key size is limited to 4096 bits. For
particularly critical applications, implementors are encouraged to
consider the range of available algorithms and key sizes.
互換性のためにRSA鍵の大きさは4096ビットに制限されます。特に重
大なアプリケーションのために、実装者は利用可能なアルゴリズムと鍵の大
きさの限界を考慮するよう奨励されます。
References
参考文献
[NETSEC] Kaufman, C., Perlman, R. and M. Speciner, "Network
Security: PRIVATE Communications in a PUBLIC World",
Series in Computer Networking and Distributed
Communications, 1995.
[RFC 2437] Kaliski, B. and J. Staddon, "PKCS #1: RSA Cryptography
Specifications Version 2.0", RFC 2437, October 1998.
[RFC 1034] Mockapetris, P., "Domain Names - Concepts and
Facilities", STD 13, RFC 1034, November 1987.
[RFC 1035] Mockapetris, P., "Domain Names - Implementation and
Specification", STD 13, RFC 1035, November 1987.
[RFC 1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321
April 1992.
[RFC 2535] Eastlake, D., "Domain Name System Security Extensions",
RFC 2535, March 1999.
[RFC 2536] EastLake, D., "DSA KEYs and SIGs in the Domain Name
System (DNS)", RFC 2536, March 1999.
[Schneier] Bruce Schneier, "Applied Cryptography Second Edition:
protocols, algorithms, and source code in C", 1996, John
Wiley and Sons, ISBN 0-471-11709-9.
Author's Address
著者のアドレス
Donald E. Eastlake 3rd
IBM
65 Shindegan Hill Road, RR #1
Carmel, NY 10512
Phone: +1-914-276-2668(h)
+1-914-784-7913(w)
Fax: +1-914-784-3833(w)
EMail: 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.
この文書とここに含む情報は無保証で供給され、そしてインターネット学会
とインターネット技術標準化タスクフォースは、特別にも暗黙にも、この情
報の利用が権利を侵害しないことや商業利用や特別の目的への利用に適当で
ある事の保障を含め、すべての保証を拒否します。