Internet Engineering Task Force (IETF) S. Moonesamy Request for Comments: 7479 March 2015 Category: Informational ISSN: 2070-1721
Internet Engineering Task Force (IETF) S. Moonesamy Request for Comments: 7479 March 2015 Category: Informational ISSN: 2070-1721
Using Ed25519 in SSHFP Resource Records
在SSHFP资源记录中使用Ed25519
Abstract
摘要
The Ed25519 signature algorithm has been implemented in OpenSSH. This document updates the IANA "SSHFP RR Types for public key algorithms" registry by adding an algorithm number for Ed25519.
Ed25519签名算法已在OpenSSH中实现。本文档通过为Ed25519添加算法编号来更新IANA“公钥算法的SSHFP RR类型”注册表。
Status of This Memo
关于下段备忘
This document is not an Internet Standards Track specification; it is published for informational purposes.
本文件不是互联网标准跟踪规范;它是为了提供信息而发布的。
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.
本文件是互联网工程任务组(IETF)的产品。它代表了IETF社区的共识。它已经接受了公众审查,并已被互联网工程指导小组(IESG)批准出版。并非IESG批准的所有文件都适用于任何级别的互联网标准;见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/rfc7479.
有关本文件当前状态、任何勘误表以及如何提供反馈的信息,请访问http://www.rfc-editor.org/info/rfc7479.
Copyright Notice
版权公告
Copyright (c) 2015 IETF Trust and the persons identified as the document authors. All rights reserved.
版权所有(c)2015 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信托有关IETF文件的法律规定的约束(http://trustee.ietf.org/license-info)自本文件出版之日起生效。请仔细阅读这些文件,因为它们描述了您对本文件的权利和限制。从本文件中提取的代码组件必须包括信托法律条款第4.e节中所述的简化BSD许可证文本,并提供简化BSD许可证中所述的无担保。
Table of Contents
目录
1. Introduction ....................................................2 2. Ed25519 Public Key with SHA-256 Fingerprint .....................2 3. Security Considerations .........................................3 4. IANA Considerations .............................................3 5. References ......................................................3 5.1. Normative References .......................................3 5.2. Informative References .....................................3 Acknowledgements ...................................................4 Author's Address ...................................................4
1. Introduction ....................................................2 2. Ed25519 Public Key with SHA-256 Fingerprint .....................2 3. Security Considerations .........................................3 4. IANA Considerations .............................................3 5. References ......................................................3 5.1. Normative References .......................................3 5.2. Informative References .....................................3 Acknowledgements ...................................................4 Author's Address ...................................................4
The Ed25519 [Ed25519] signature algorithm, specifically Ed25519-SHA-512, has been implemented in OpenSSH. RFC 4255 [RFC4255] defines a DNS resource record, "SSHFP", which can be used to publish a fingerprint of the SSH server public key in the DNS. This document updates the IANA "SSHFP RR Types for public key algorithms" registry by adding an algorithm number for Ed25519 [Ed25519].
Ed25519[Ed25519]签名算法,特别是Ed25519-SHA-512,已经在OpenSSH中实现。RFC 4255[RFC4255]定义了一个DNS资源记录“SSHFP”,可用于在DNS中发布SSH服务器公钥的指纹。本文档通过添加Ed25519[Ed25519]的算法编号来更新IANA“公钥算法的SSHFP RR类型”注册表。
The encoding of Ed25519 public keys is described in [Ed25519]. In brief, an Ed25519 public key is a 32-octet value representing a 255-bit y-coordinate of an elliptic curve point, and a sign bit indicating the corresponding x-coordinate.
[Ed25519]中描述了Ed25519公钥的编码。简而言之,Ed25519公钥是一个32个八位组的值,表示椭圆曲线点的255位y坐标,符号位表示对应的x坐标。
The SSHFP Resource Record for the Ed25519 public key with SHA-256 fingerprint [FIPS180-4] would, for example, be:
例如,具有SHA-256指纹[FIPS180-4]的Ed25519公钥的SSHFP资源记录为:
ssh.example.com IN SSHFP 4 2 ( a87f1b687ac0e57d2a081a2f2826723 34d90ed316d2b818ca9580ea384d924 01 )
SSHFP 4 2中的ssh.example.com(a87f1b687ac0e57d2a081a2f2826723 34d90ed316d2b818ca9580ea384d924 01)
The following body of the public key file was used as input to generate the above fingerprint:
公钥文件的以下主体用作生成上述指纹的输入:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGPKSUTyz1HwHReFVvD5obVsALAgJRNarH4TRpNePnAS
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGPKSUTyz1HwHReFVvD5obVsALAgJRNarH4TRpNePnAS
The opaque octet string output produced is placed as is in the RDATA fingerprint field.
生成的不透明八位字节字符串输出按原样放置在RDATA指纹字段中。
The overall security of using SSHFP for SSH host key verification is dependent on the security policies of the SSH host administrator and DNS zone administrator (in transferring the fingerprint), detailed aspects of how verification is done in the SSH implementation, and in the client's diligence in accessing the DNS in a secure manner. Please refer to RFC 4255 [RFC4255] for a discussion of the security considerations.
使用SSHFP进行SSH主机密钥验证的总体安全性取决于SSH主机管理员和DNS区域管理员(在传输指纹时)的安全策略、SSH实现中如何进行验证的详细方面,以及客户端在以安全方式访问DNS方面的努力。有关安全注意事项的讨论,请参阅RFC 4255[RFC4255]。
IANA has added the following entry to the "SSHFP RR Types for public key algorithms" registry:
IANA已将以下条目添加到“用于公钥算法的SSHFP RR类型”注册表中:
+--------+-------------+------------+ | Value | Description | Reference | +--------+-------------+------------+ | 4 | Ed25519 | [RFC7479] | +--------+-------------+------------+
+--------+-------------+------------+ | Value | Description | Reference | +--------+-------------+------------+ | 4 | Ed25519 | [RFC7479] | +--------+-------------+------------+
[Ed25519] Bernstein, D. J., Lange T., Schwabe P., and B-Y. Yang, "High-Speed High-Security Signatures", Journal of Cryptographic Engineering, Vol. 2, September 26, 2011.
[Ed25519]Bernstein,D.J.,Lange T.,Schwabe P.,和B-Y.Yang,“高速高安全签名”,密码工程杂志,第2卷,2011年9月26日。
[RFC4255] Schlyter, J. and W. Griffin, "Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints", RFC 4255, January 2006, <http://www.rfc-editor.org/info/rfc4255>.
[RFC4255]Schlyter,J.和W.Griffin,“使用DNS安全发布安全外壳(SSH)密钥指纹”,RFC 42552006年1月<http://www.rfc-editor.org/info/rfc4255>.
[FIPS180-4] National Institute of Standards and Technology, "Secure Hash Standard (SHS)", FIPS PUB 180-4, March 2012, <http://csrc.nist.gov/publications/fips/fips180-4/ fips-180-4.pdf>.
[FIPS180-4]国家标准与技术研究所,“安全哈希标准(SHS)”,FIPS PUB 180-42012年3月<http://csrc.nist.gov/publications/fips/fips180-4/ fips-180-4.pdf>。
Acknowledgements
致谢
Some of the text in this document was written by Ondrej Sury. The author would like to thank Richard Barnes, Damien Miller, Yoav Nir, and Paul Wouters for their feedback. Rene Struik provided advice about the usage of Ed25519. Stephen Farrell, as Security Area Director, reviewed the code point request.
本文件中的一些文本由Ondrej Sury编写。作者要感谢Richard Barnes、Damien Miller、Yoav Nir和Paul Wouters的反馈。Rene Struik就Ed25519的使用提供了建议。斯蒂芬·法雷尔(Stephen Farrell)作为安全区域主管审查了代码点请求。
Author's Address
作者地址
S. Moonesamy 76, Ylang Ylang Avenue Quatres Bornes Mauritius
S.Moonesamy 76号,依兰依兰大道四区博尔内斯毛里求斯
EMail: sm+ietf@elandsys.com
EMail: sm+ietf@elandsys.com