Re: [Gen-art] GEN-Art LC review of draft-ietf-jose-cfrg-curves-05

Ilari Liusvaara <ilariliusvaara@welho.com> Thu, 18 August 2016 13:20 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2645412DE22; Thu, 18 Aug 2016 06:20:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level:
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.247] 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 aO2Co0oQbiKc; Thu, 18 Aug 2016 06:20:54 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id C7C8712DE2A; Thu, 18 Aug 2016 06:20:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 37CD8E8D4; Thu, 18 Aug 2016 16:20:52 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id bnTBZYPysyY1; Thu, 18 Aug 2016 16:20:52 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 0E96F2310; Thu, 18 Aug 2016 16:20:52 +0300 (EEST)
Date: Thu, 18 Aug 2016 16:20:43 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jari Arkko <jari.arkko@piuha.net>
Subject: Re: [Gen-art] GEN-Art LC review of draft-ietf-jose-cfrg-curves-05
Message-ID: <20160818132043.f27ok77hd6kosjln@LK-Perkele-V2.elisa-laajakaista.fi>
References: <010f01d1f1b5$22c31580$68494080$@gmail.com> <4A962815-7FDB-46FD-929B-41C23924391B@piuha.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <4A962815-7FDB-46FD-929B-41C23924391B@piuha.net>
User-Agent: Mutt/1.6.2-neo (2016-08-08)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/aO1V8JwtcbqqXmzFyqFLNLMXT7Y>
Cc: draft-ietf-jose-cfrg-curves.all@ietf.org, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Aug 2016 13:20:56 -0000

On Thu, Aug 18, 2016 at 02:21:27PM +0200, Jari Arkko wrote:
> Thanks for your review, Roni!
> 
> Authors, did you observe the editorial suggestions?

Did the changes to Editor's Copy.

The comment about corner-cases I just deleted[1].


My understanding (I am a newbie to writing IETF RFCs) is that in this
stage of process, I should not submit updated version without being
told to do that (IIRC, by shepherd, AD or datatracker state).




[1] Basically, ECDSA specifies that if the hash is longer than the
bitlength of the order, the hash gets truncated.

With NIST curves and hashes any such truncation is always to integral
number of octets.

However, Curve25519 is so small even SHA-256 would truncate, and
since its order is ~2^252, the truncation would be to fractional
number of octets.



-Ilari.