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

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2014-09-08
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)                            September 8, 2014
Intended status: Informational
Expires: March 12, 2015

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

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 March 12, 2015.

Copyright Notice

   Copyright (c) 2014 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 March 12, 2015                 [Page 1]
Internet-Draft              EdDSA for OpenPGP             September 2014

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 . . . . . . . . . . . . . . . . . . .   4
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   9.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .   5
   10. Normative References  . . . . . . . . . . . . . . . . . . . .   5
   Appendix A.  Test vectors . . . . . . . . . . . . . . . . . . . .   6
     A.1.  Sample key  . . . . . . . . . . . . . . . . . . . . . . .   6
     A.2.  Sample signature  . . . . . . . . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   7

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 [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]).

   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
   9.1 of [RFC4880], "Public-Key Algorithms":

Koch                     Expires March 12, 2015                 [Page 2]
Internet-Draft              EdDSA for OpenPGP             September 2014

                  +-------+-----------------------------+
                  | ID    | Description of Algorithm    |
                  +-------+-----------------------------+
                  | TBD1  | EdDSA public key algorithm  |
                  +-------+-----------------------------+

   Compliant applications MUST support EdDSA with the curve Ed25519.
Show full document text