draft-ietf-curdle-ssh-curves-00.txt   draft-ietf-curdle-ssh-curves-01.txt 
Network Working Group A. Adamantiadis Internet Engineering Task Force A. Adamantiadis
Internet-Draft libssh Internet-Draft libssh
Intended status: Informational S. Josefsson Intended status: Informational S. Josefsson
Expires: September 9, 2016 SJD AB Expires: September 28, 2017 SJD AB
March 8, 2016 M. Baushke
Juniper Networks, Inc.
March 27, 2017
Secure Shell (SSH) Key Exchange Method using Curve25519 and Curve448 Secure Shell (SSH) Key Exchange Method using Curve25519 and Curve448
draft-ietf-curdle-ssh-curves-00 draft-ietf-curdle-ssh-curves-01
Abstract Abstract
How to implement the Curve25519 and Curve448 key exchange methods in How to implement the Curve25519 and Curve448 key exchange methods in
the Secure Shell (SSH) protocol is described. the Secure Shell (SSH) protocol is described.
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 32 skipping to change at page 1, line 34
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 http://datatracker.ietf.org/drafts/current/. Drafts is at http://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 September 9, 2016. This Internet-Draft will expire on September 28, 2017.
Copyright Notice Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the Copyright (c) 2017 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
(http://trustee.ietf.org/license-info) in effect on the date of (http://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
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
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
skipping to change at page 2, line 16 skipping to change at page 2, line 16
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Key Exchange Methods . . . . . . . . . . . . . . . . . . . . 3 2. Key Exchange Methods . . . . . . . . . . . . . . . . . . . . 3
2.1. Shared Secret Encoding . . . . . . . . . . . . . . . . . 3 2.1. Shared Secret Encoding . . . . . . . . . . . . . . . . . 3
3. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4 3. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4
4. Security Considerations . . . . . . . . . . . . . . . . . . . 4 4. Security Considerations . . . . . . . . . . . . . . . . . . . 4
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 5 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 5
6.1. Normative References . . . . . . . . . . . . . . . . . . 5 6.1. Normative References . . . . . . . . . . . . . . . . . . 5
6.2. Informative References . . . . . . . . . . . . . . . . . 5 6.2. Informative References . . . . . . . . . . . . . . . . . 5
Appendix A. Copying conditions . . . . . . . . . . . . . . . . . 5 Appendix A. Copying conditions . . . . . . . . . . . . . . . . . 6
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6
1. Introduction 1. Introduction
In [Curve25519], a new elliptic curve function for use in In [Curve25519], a new elliptic curve function for use in
cryptographic applications was introduced. In [Ed448-Goldilocks] the cryptographic applications was introduced. In [Ed448-Goldilocks] the
Ed448-Goldilocks curve (also known as Curve448) is described. In Ed448-Goldilocks curve (also known as Curve448) is described. In
[RFC7748], the Diffie-Hellman functions using Curve25519 and Curve448 [RFC7748], the Diffie-Hellman functions using Curve25519 and Curve448
are specified. are specified.
skipping to change at page 4, line 20 skipping to change at page 4, line 20
to be skipped. In this case, the length of the encoded K will be to be skipped. In this case, the length of the encoded K will be
smaller. smaller.
3. Acknowledgements 3. Acknowledgements
The "curve25519-sha256" key exchange method is identical to the The "curve25519-sha256" key exchange method is identical to the
"curve25519-sha256@libssh.org" key exchange method created by Aris "curve25519-sha256@libssh.org" key exchange method created by Aris
Adamantiadis and implemented in libssh and OpenSSH. Adamantiadis and implemented in libssh and OpenSSH.
Thanks to the following people for review and comments: Denis Bider, Thanks to the following people for review and comments: Denis Bider,
Damien Miller, Niels Moeller, Matt Johnston, Mark D. Baushke. Damien Miller, Niels Moeller, Matt Johnston.
4. Security Considerations 4. Security Considerations
The security considerations of [RFC4251], [RFC5656], and [RFC7748] The security considerations of [RFC4251], [RFC5656], and [RFC7748]
are inherited. are inherited.
Curve25519 provide strong security and is efficient on a wide range Curve25519 provide strong security and is efficient on a wide range
of architectures, and has properties that allows better of architectures, and has properties that allows better
implementation properties compared to traditional elliptic curves. implementation properties compared to traditional elliptic curves.
Curve448 with SHA-512 is similar, but have not received the same Curve448 with SHA-512 is similar, but have not received the same
skipping to change at page 5, line 10 skipping to change at page 5, line 10
IANA is requested to add "curve25519-sha256" and "curve448-sha512" to IANA is requested to add "curve25519-sha256" and "curve448-sha512" to
the "Key Exchange Method Names" registry for SSH that was created in the "Key Exchange Method Names" registry for SSH that was created in
RFC 4250 section 4.10 [RFC4250]. RFC 4250 section 4.10 [RFC4250].
6. References 6. References
6.1. Normative References 6.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<http://www.rfc-editor.org/info/rfc2119>.
[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, DOI 10.17487/ Protocol Assigned Numbers", RFC 4250,
RFC4250, January 2006, DOI 10.17487/RFC4250, January 2006,
<http://www.rfc-editor.org/info/rfc4250>. <http://www.rfc-editor.org/info/rfc4250>.
[RFC4251] Ylonen, T. and C. Lonvick, "The Secure Shell (SSH) [RFC4251] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH)
Protocol Architecture", RFC 4251, January 2006. Protocol Architecture", RFC 4251, DOI 10.17487/RFC4251,
January 2006, <http://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, <http://www.rfc-editor.org/info/rfc4253>. January 2006, <http://www.rfc-editor.org/info/rfc4253>.
[RFC4634] Eastlake, D. and T. Hansen, "US Secure Hash Algorithms [RFC4634] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms
(SHA and HMAC-SHA)", RFC 4634, July 2006. (SHA and HMAC-SHA)", RFC 4634, DOI 10.17487/RFC4634, July
2006, <http://www.rfc-editor.org/info/rfc4634>.
[RFC5656] Stebila, D. and J. Green, "Elliptic Curve Algorithm [RFC5656] Stebila, D. and J. Green, "Elliptic Curve Algorithm
Integration in the Secure Shell Transport Layer", RFC Integration in the Secure Shell Transport Layer",
5656, DOI 10.17487/RFC5656, December 2009, RFC 5656, DOI 10.17487/RFC5656, December 2009,
<http://www.rfc-editor.org/info/rfc5656>. <http://www.rfc-editor.org/info/rfc5656>.
[RFC7748] Langley, A., Hamburg, M., and S. Turner, "Elliptic Curves [RFC7748] Langley, A., Hamburg, M., and S. Turner, "Elliptic Curves
for Security", RFC 7748, DOI 10.17487/RFC7748, January for Security", RFC 7748, DOI 10.17487/RFC7748, January
2016, <http://www.rfc-editor.org/info/rfc7748>. 2016, <http://www.rfc-editor.org/info/rfc7748>.
6.2. Informative References 6.2. Informative References
[Curve25519] [Curve25519]
Bernstein, J., "Curve25519: New Diffie-Hellman Speed Bernstein, D., "Curve25519: New Diffie-Hellman Speed
Records", LNCS 3958, pp. 207-228, February 2006, Records", Lecture Notes in Computer Science (LNCS) vol
3958, pp. 207-228, February 2006,
<http://dx.doi.org/10.1007/11745853_14>. <http://dx.doi.org/10.1007/11745853_14>.
[Ed448-Goldilocks] [Ed448-Goldilocks]
Hamburg, , "Ed448-Goldilocks, a new elliptic curve", June Hamburg, , "Ed448-Goldilocks, a new elliptic curve", June
2015, <https://eprint.iacr.org/2015/625>. 2015, <https://eprint.iacr.org/2015/625>.
Appendix A. Copying conditions Appendix A. Copying conditions
Regarding this entire document or any portion of it, the authors make Regarding this entire document or any portion of it, the authors make
no guarantees and are not responsible for any damage resulting from no guarantees and are not responsible for any damage resulting from
skipping to change at line 250 skipping to change at page 6, line 27
Aris Adamantiadis Aris Adamantiadis
libssh libssh
Email: aris@badcode.be Email: aris@badcode.be
Simon Josefsson Simon Josefsson
SJD AB SJD AB
Email: simon@josefsson.org Email: simon@josefsson.org
Mark D. Baushke
Juniper Networks, Inc.
Email: mdb@juniper.net
 End of changes. 14 change blocks. 
19 lines changed or deleted 26 lines changed or added

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