Re: [pkix] PKCS #8? Re: Updated EdDSA/Ed25519 PKIX document

Simon Josefsson <simon@josefsson.org> Thu, 12 November 2015 07:46 UTC

Return-Path: <simon@josefsson.org>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 349921A8754 for <pkix@ietfa.amsl.com>; Wed, 11 Nov 2015 23:46:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level:
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PCy5oH973Pwb for <pkix@ietfa.amsl.com>; Wed, 11 Nov 2015 23:46:46 -0800 (PST)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9320C1A874C for <pkix@ietf.org>; Wed, 11 Nov 2015 23:46:45 -0800 (PST)
Received: from latte.josefsson.org ([155.4.17.2]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id tAC7kG24024209 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 12 Nov 2015 08:46:17 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
References: <878u7xtu06.fsf@latte.josefsson.org> <5643175F.9070405@gmail.com> <1447244606.16388.10.camel@josefsson.org> <9A043F3CF02CD34C8E74AC1594475C73F4B5EBCF@uxcn10-5.UoA.auckland.ac.nz>
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
X-Hashcash: 1:22:151112:anders.rundgren.net@gmail.com::zKL+CUiK+dCz97Vk:Szg
X-Hashcash: 1:22:151112:pkix@ietf.org::rxhWZHUQz5uAc+JW:5Weu
X-Hashcash: 1:22:151112:pgut001@cs.auckland.ac.nz::rKh/Z5wdljh7e2n1:2MQ3
Date: Thu, 12 Nov 2015 08:46:15 +0100
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4B5EBCF@uxcn10-5.UoA.auckland.ac.nz> (Peter Gutmann's message of "Wed, 11 Nov 2015 22:59:50 +0000")
Message-ID: <87mvujbqyg.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/pkix/Jrxzp4Iu48FiLuwhlMUFHLzh13w>
Cc: "pkix@ietf.org" <pkix@ietf.org>
Subject: Re: [pkix] PKCS #8? Re: Updated EdDSA/Ed25519 PKIX document
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Nov 2015 07:46:48 -0000

Peter Gutmann <pgut001@cs.auckland.ac.nz> writes:

> Simon Josefsson <simon@josefsson.org> writes:
>
>>Does anyone have thoughts on which approach to use?
>
> Why not use the PKCS #15 format?

Because PKCS#15 is too complex for the purpose of private-key protection
in the majority of real-world applications.  Heck, even the RFC 5915 EC
PKCS#8 format was considered too complex, I assume, since Nikos
implemented a simpler format for it instead.

> PKCS #15 support for EdDSA would consist of adding a new OID to an encoding
> table.

I'm not against doing PKCS#15 support for EdDSA for those who are
interested, it seems like a useful addition.  However, I cannot
recommend it to anyone who hasn't already consumed the PKCS#15 kool-aid.

/Simon