draft-ietf-curdle-ssh-ed25519-ed448-01.txt   draft-ietf-curdle-ssh-ed25519-ed448-02.txt 
Internet Engineering Task Force B. Harris Internet Engineering Task Force B. Harris
Internet-Draft Internet-Draft
Updates: 4250 (if approved) L. Velvindron Updates: 4250 (if approved) L. Velvindron
Intended status: Standards Track Hackers.mu Intended status: Standards Track Hackers.mu
Expires: January 3, 2019 July 2, 2018 Expires: February 13, 2019 August 12, 2018
Ed25519 and Ed 448 public key algorithms for the Secure Shell (SSH) Ed25519 and Ed 448 public key algorithms for the Secure Shell (SSH)
protocol protocol
draft-ietf-curdle-ssh-ed25519-ed448-01 draft-ietf-curdle-ssh-ed25519-ed448-02
Abstract Abstract
This document describes the use of the Ed25519 and Ed448 digital This document describes the use of the Ed25519 and Ed448 digital
signature algorithm in the Secure Shell (SSH) protocol. signature algorithm in the Secure Shell (SSH) protocol.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
skipping to change at page 1, line 33 skipping to change at page 1, line 33
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on January 3, 2019. This Internet-Draft will expire on February 13, 2019.
Copyright Notice Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 11 skipping to change at page 2, line 11
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License. described in the Simplified BSD License.
1. Introduction 1. Introduction
Secure Shell (SSH) [RFC4251] is a secure remote-login protocol. It Secure Shell (SSH) [RFC4251] is a secure remote-login protocol. It
provides for an extensible variety of public key algorithms for provides for an extensible variety of public key algorithms for
identifying servers and users to one another. Ed25519 [RFC8032] is a identifying servers and users to one another. Ed25519 [RFC8032] is a
digital signature system. OpenSSH 6.5 [OpenSSH-6.5] introduced digital signature system. OpenSSH 6.5 [OpenSSH-6.5] introduced
support for using Ed25519 for server and user authentication. support for using Ed25519 for server and user authentication and was
Compatible support for Ed25519 has since been added to other SSH then followed by other SSH implementations.
implementations. Ed448 [RFC8032] is another digital signature
system.
This document describes the method implemented by OpenSSH and others, This document describes the method implemented by OpenSSH and others,
and formalizes its use of the name "ssh-ed25519". Additionally, it and formalizes its use of the name "ssh-ed25519". Additionally, it
also describes the use of Ed448 and formalizes its use of the name also describes the use of Ed448 and formalizes its use of the name
"ssh-ed448". "ssh-ed448".
[TO BE REMOVED: Please send comments on this draft to [TO BE REMOVED: Please send comments on this draft to
curdle@ietf.org.] curdle@ietf.org.]
2. Conventions Used in This Document 2. Conventions Used in This Document
skipping to change at page 3, line 46 skipping to change at page 3, line 40
7. Verification Algorithm 7. Verification Algorithm
ED25519 signatures are verified according to the procedure in ED25519 signatures are verified according to the procedure in
[RFC8032], Section 5.1.7 [RFC8032]. [RFC8032], Section 5.1.7 [RFC8032].
ED448 signatures are verified according to the procedure in ED448 signatures are verified according to the procedure in
[RFC8032], Section 5.2.7 [RFC8032]. [RFC8032], Section 5.2.7 [RFC8032].
8. SSHFP DNS resource records 8. SSHFP DNS resource records
Usage and generation of SSHFP DNS resource record is described in
[RFC4255]. The generation of SSHFP resource records for "ssh-
ed25519" keys is described in [RFC7479]. This section illustrates
the generation of SSHFP resource records for "ssh-ed448" keys and the
document specifies the corresponding Ed448 code point to the "SSHFP
RR Types for public key algorithms" IANA registry.
The generation of SSHFP resource records for "ssh-ed25519" keys is The generation of SSHFP resource records for "ssh-ed25519" keys is
described in [RFC7479]. described in [RFC7479].
The generation of SSHFP resource records for "ssh-ed448" keys is The generation of SSHFP resource records for "ssh-ed448" keys is
described as follows. described as follows.
the SSHFP Resource Record for the Ed448 public key with SHA-256 the SSHFP Resource Record for the Ed448 public key with SHA-256
fingerprint would be example be: ssh.hackers.mu IN SSHFP 5 2 ( fingerprint would be example be:
a87f1b687ac0e57d2a081a2f2826723 34d90ed316d2b818ca9580ea384d924 01 )
ssh.hackers.mu. IN SSHFP TBD 2 ( a87f1b687ac0e57d2a081a2f2826723
34d90ed316d2b818ca9580ea384d924 01 )
The 2 here indicates SHA-256 [RFC6594].
9. IANA Considerations 9. IANA Considerations
This document augments the Public Key Algorithm Names in [RFC4250], This document augments the Public Key Algorithm Names in [RFC4250],
Section 4.6.2 [RFC4250]. Section 4.6.2 [RFC4250].
IANA is requested to add to the Public Key Algorithm Names registry IANA is requested to add to the Public Key Algorithm Names registry
[IANA-PKA] with the following entry: [IANA-PKA] with the following entry:
Public Key Algorithm Name Reference Public Key Algorithm Name Reference
------------------------- ---------- ------------------------- ----------
ssh-ed25519 This Draft ssh-ed25519 This Draft
ssh-ed448 This Draft ssh-ed448 This Draft
IANA must add the following entry to the "SSHFP RR Types for public IANA is requested to add the following entry to the "SSHFP RR Types
key algorithms" registry: for public key algorithms" registry [IANA-SSHFP]:
+--------+-------------+------------+ +--------+-------------+------------+
| Value | Description | Reference | | Value | Description | Reference |
+--------+-------------+------------+ +--------+-------------+------------+
| 5 | Ed448 | [this-draft] | | TBD | Ed448 | [this-draft] |
+--------+-------------+------------+ +--------+-------------+------------+
We suggest 5 as value.
[TO BE REMOVED: This registration should take place at the following [TO BE REMOVED: This registration should take place at the following
location: <http://www.iana.org/assignments/ssh-parameters/ssh- location: <http://www.iana.org/assignments/ssh-parameters/ssh-
parameters.xhtml#ssh-parameters-19>] parameters.xhtml#ssh-parameters-19>]
10. Security Considerations 10. Security Considerations
The security considerations in [RFC4251], Section 9 [RFC4251] apply The security considerations in [RFC4251], Section 9 [RFC4251] apply
to all SSH implementations, including those using Ed25519 and Ed448. to all SSH implementations, including those using Ed25519 and Ed448.
The security considerations in [RFC8032], Section 8 [RFC8032] apply The security considerations in [RFC8032], Section 8 [RFC8032] and
to all uses of Ed25519 and Ed448 including those in SSH. [RFC7479] apply to all uses of Ed25519 and Ed448 including those in
SSH.
11. Acknowledgements 11. Acknowledgements
The OpenSSH implementation of Ed25519 in SSH was written by Markus The OpenSSH implementation of Ed25519 in SSH was written by Markus
Friedl. Friedl. We are also grateful to Mark Baushke and Daniel Migault for
their comments.
12. References 12. References
12.1. Normative References 12.1. Normative References
[RFC4250] Lehtinen, S. and C. Lonvick, Ed., "The Secure Shell (SSH) [RFC4250] Lehtinen, S. and C. Lonvick, Ed., "The Secure Shell (SSH)
Protocol Assigned Numbers", RFC 4250, Protocol Assigned Numbers", RFC 4250,
DOI 10.17487/RFC4250, January 2006, DOI 10.17487/RFC4250, January 2006,
<https://www.rfc-editor.org/info/rfc4250>. <https://www.rfc-editor.org/info/rfc4250>.
[RFC4251] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH) [RFC4251] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH)
Protocol Architecture", RFC 4251, DOI 10.17487/RFC4251, Protocol Architecture", RFC 4251, DOI 10.17487/RFC4251,
January 2006, <https://www.rfc-editor.org/info/rfc4251>. January 2006, <https://www.rfc-editor.org/info/rfc4251>.
[RFC4253] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH) [RFC4253] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH)
Transport Layer Protocol", RFC 4253, DOI 10.17487/RFC4253, Transport Layer Protocol", RFC 4253, DOI 10.17487/RFC4253,
January 2006, <https://www.rfc-editor.org/info/rfc4253>. January 2006, <https://www.rfc-editor.org/info/rfc4253>.
[RFC4255] Schlyter, J. and W. Griffin, "Using DNS to Securely
Publish Secure Shell (SSH) Key Fingerprints", RFC 4255,
DOI 10.17487/RFC4255, January 2006,
<https://www.rfc-editor.org/info/rfc4255>.
[RFC6594] Sury, O., "Use of the SHA-256 Algorithm with RSA, Digital
Signature Algorithm (DSA), and Elliptic Curve DSA (ECDSA)
in SSHFP Resource Records", RFC 6594,
DOI 10.17487/RFC6594, April 2012,
<https://www.rfc-editor.org/info/rfc6594>.
[RFC8032] Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital [RFC8032] Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital
Signature Algorithm (EdDSA)", RFC 8032, Signature Algorithm (EdDSA)", RFC 8032,
DOI 10.17487/RFC8032, January 2017, DOI 10.17487/RFC8032, January 2017,
<https://www.rfc-editor.org/info/rfc8032>. <https://www.rfc-editor.org/info/rfc8032>.
12.2. Informative References 12.2. Informative References
[IANA-PKA] [IANA-PKA]
Internet Assigned Numbers Authority (IANA), "Secure Shell Internet Assigned Numbers Authority (IANA), "Secure Shell
(SSH) Protocol Parameters: Public Key Algorithm Names", (SSH) Protocol Parameters: Public Key Algorithm Names",
May 2017, <http://www.iana.org/assignments/ssh-parameters/ May 2017, <http://www.iana.org/assignments/ssh-parameters/
ssh-parameters.xhtml#ssh-parameters-19>. ssh-parameters.xhtml#ssh-parameters-19>.
[IANA-SSHFP]
Internet Assigned Numbers Authority (IANA), "Secure Shell
(SSH) Protocol Parameters: Public Key Algorithm Names",
May 2017, <https://www.iana.org/assignments/dns-sshfp-rr-
parameters/
dns-sshfp-rr-parameters.xhtml#dns-sshfp-rr-parameters-1>.
[OpenSSH-6.5] [OpenSSH-6.5]
Friedl, M., Provos, N., de Raadt, T., Steves, K., Miller, Friedl, M., Provos, N., de Raadt, T., Steves, K., Miller,
D., Tucker, D., Rice, T., and B. Lindstrom, "OpenSSH 6.5 D., Tucker, D., Rice, T., and B. Lindstrom, "OpenSSH 6.5
release notes", January 2014, release notes", January 2014,
<http://www.openssh.com/txt/release-6.5>. <http://www.openssh.com/txt/release-6.5>.
[RFC7479] Moonesamy, S., "Using Ed25519 in SSHFP Resource Records", [RFC7479] Moonesamy, S., "Using Ed25519 in SSHFP Resource Records",
RFC 7479, DOI 10.17487/RFC7479, March 2015, RFC 7479, DOI 10.17487/RFC7479, March 2015,
<https://www.rfc-editor.org/info/rfc7479>. <https://www.rfc-editor.org/info/rfc7479>.
 End of changes. 13 change blocks. 
15 lines changed or deleted 46 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/