EdDSA for OpenPGP
draft-koch-eddsa-for-openpgp-03

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-08-28
Stream (None)
Intended RFC status (None)
Formats pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                            W. Koch
Internet-Draft                                                  g10 Code
Updates: 4880 (if approved)                              August 28, 2015
Intended status: Informational
Expires: February 29, 2016

                           EdDSA for OpenPGP
                    draft-koch-eddsa-for-openpgp-03

Abstract

   This specification extends OpenPGP with the EdDSA public key
   algorithm and describes the use of curve Ed25519.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on February 29, 2016.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   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.

Koch                    Expires February 29, 2016               [Page 1]
Internet-Draft              EdDSA for OpenPGP                August 2015

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Supported Curves  . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Point Format  . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Encoding of Public and Private Keys . . . . . . . . . . . . .   3
   5.  Message Encoding  . . . . . . . . . . . . . . . . . . . . . .   4
   6.  Curve OID . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   5
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   9.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .   5
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     10.1.  Normative References . . . . . . . . . . . . . . . . . .   5
     10.2.  Informative References . . . . . . . . . . . . . . . . .   6
   Appendix A.  Test vectors . . . . . . . . . . . . . . . . . . . .   6
     A.1.  Sample key  . . . . . . . . . . . . . . . . . . . . . . .   6
     A.2.  Sample signature  . . . . . . . . . . . . . . . . . . . .   7
   Appendix B.  Point compression flag bytes . . . . . . . . . . . .   7
   Appendix C.  Changes since -02  . . . . . . . . . . . . . . . . .   7
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   8

1.  Introduction

   The OpenPGP specification in [RFC4880] defines the RSA, Elgamal, and
   DSA public key algorithms.  [RFC6637] adds support for Elliptic Curve
   Cryptography and specifies the ECDSA and ECDH algorithms.  Due to
   patent reasons no point compression was defined.

   This document specifies how to use the EdDSA public key signature
   algorithm [I-D.josefsson-eddsa-ed25519] with the OpenPGP standard.
   It defines a new signature algorithm named EdDSA and specifies how to
   use the Ed25519 curve with EdDSA.  This algorithm uses a custom point
   compression method.  There are three main advantages of the EdDSA
   algorithm: It does not require the use of a unique random number for
   each signature, there are no padding or truncation issues as with
   ECDSA, and it is more resilient to side-channel attacks.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

2.  Supported Curves

   This document references the Curve "Ed25519" which is the Edwards
   form of "Curve25519" and specified in the same paper as the "EdDSA"
   algorithm ([ED25519]).  For the full specification see
   [I-D.josefsson-eddsa-ed25519].

Koch                    Expires February 29, 2016               [Page 2]
Internet-Draft              EdDSA for OpenPGP                August 2015

   Other curves may be used by using a specific OID for the curve and
   its EdDSA parameters.

   The following public key algorithm IDs are added to expand section
Show full document text