Re: [Curdle] Some work for the group

Russ Housley <housley@vigilsec.com> Fri, 09 December 2016 17:42 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: curdle@ietfa.amsl.com
Delivered-To: curdle@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32F02129994 for <curdle@ietfa.amsl.com>; Fri, 9 Dec 2016 09:42:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.899
X-Spam-Level:
X-Spam-Status: No, score=-101.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=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 TYXOn1dNYLjj for <curdle@ietfa.amsl.com>; Fri, 9 Dec 2016 09:42:44 -0800 (PST)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0BF421299AA for <curdle@ietf.org>; Fri, 9 Dec 2016 09:42:26 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id C61A0300272 for <curdle@ietf.org>; Fri, 9 Dec 2016 12:32:08 -0500 (EST)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xedWRW5IJVBh for <curdle@ietf.org>; Fri, 9 Dec 2016 12:32:07 -0500 (EST)
Received: from [192.168.2.100] (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id E71DD30025D; Fri, 9 Dec 2016 12:32:06 -0500 (EST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_9A707B2E-3361-48DE-9123-2390DF2B0D24"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CAMm+LwhDUkwT31Ev3-L=8_G-q7uSUpjhxYP86H1DSdNUi3fdeQ@mail.gmail.com>
Date: Fri, 09 Dec 2016 12:42:23 -0500
Message-Id: <3C801145-E04A-493A-BD10-7B8A0F683AA0@vigilsec.com>
References: <ada1784daf4349afae3ec29414bb4444@usma1ex-dag1mb1.msg.corp.akamai.com> <7F982A95-C7D3-408F-8B1D-D2F5F21CD166@vigilsec.com> <CAMm+LwhDUkwT31Ev3-L=8_G-q7uSUpjhxYP86H1DSdNUi3fdeQ@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/YY5TRkuWoRL9OtIKKQ739_LkQdM>
Cc: "Salz, Rich" <rsalz@akamai.com>, "curdle@ietf.org" <curdle@ietf.org>
Subject: Re: [Curdle] Some work for the group
X-BeenThere: curdle@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "List for discussion of potential new security area wg." <curdle.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/curdle>, <mailto:curdle-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/curdle/>
List-Post: <mailto:curdle@ietf.org>
List-Help: <mailto:curdle-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/curdle>, <mailto:curdle-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Dec 2016 17:42:46 -0000

On Dec 9, 2016, at 12:33 PM, Phillip Hallam-Baker <phill@hallambaker.com> wrote:

> 
> 
> On Fri, Dec 9, 2016 at 11:42 AM, Russ Housley <housley@vigilsec.com> wrote:
> 
>> The text in draft-ietf-curdle-pkix says CA’s MUST NOT use pre-hash version of signatures.  Does anyone object to this?  There is a mention of the trade-offs in doing that at the end of section 5.  Please respond within a week.
> 
>  	
> draft-ietf-curdle-cms-eddsa-signatures is aligned with this decision.  If it changes in one of the documents, it needs to change in both.
> 
> ​I don't think it is sustainable in CMS so if it has to be the same in both places then we have to reject it.
> 
> In order for a crypto mode to be viable, it has to be possible to implement it in a streaming encoder. Memory is cheap but storage is cheaper. If I have a digital camera that is signing pictures as they are taken, that module has to be something that can be implemented in a hardware blob somewhere close to the point the image is captured.
> 
> Another think I have great difficulty with here is actually working out what the pure vs free hash implementation is from the specification. trying to describe crypto in RFC plaintext isn't a good match at the best of times. ​This is particularly hard to follow.

Please take a look at the document.  The content is hashed, and that hash is placed in the message digest attribute, then the set of attributes is signed with pure EdDSA.

Russ