Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06
Jeremy Harris <jgh@wizmail.org> Wed, 13 September 2017 18:47 UTC
Return-Path: <jgh@wizmail.org>
X-Original-To: dcrup@ietfa.amsl.com
Delivered-To: dcrup@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E63B132D4C for <dcrup@ietfa.amsl.com>; Wed, 13 Sep 2017 11:47:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] 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 AuZd5SdBhsel for <dcrup@ietfa.amsl.com>; Wed, 13 Sep 2017 11:47:05 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (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 4C350132932 for <dcrup@ietf.org>; Wed, 13 Sep 2017 11:47:05 -0700 (PDT)
Received: from [2a00:b900:109e:0:c5d6:c61b:f5e0:b51f] (helo=lap.dom.ain) by wizmail.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89.115) id 1dsCgh-0005xl-5v for dcrup@ietf.org (return-path <jgh@wizmail.org>); Wed, 13 Sep 2017 18:47:03 +0000
To: dcrup@ietf.org
References: <alpine.OSX.2.21.1709131339580.4127@ary.qy>
From: Jeremy Harris <jgh@wizmail.org>
Message-ID: <d6f08ab8-cb70-7fbb-b8d7-3cb4f9f961e1@wizmail.org>
Date: Wed, 13 Sep 2017 19:47:01 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <alpine.OSX.2.21.1709131339580.4127@ary.qy>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Pcms-Received-Sender: [2a00:b900:109e:0:c5d6:c61b:f5e0:b51f] (helo=lap.dom.ain) with esmtpsa
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/DgqqbJIdlvGtbz5tSNLj49frBjA>
Subject: Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06
X-BeenThere: dcrup@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DKIM Crypto Update <dcrup.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dcrup>, <mailto:dcrup-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dcrup/>
List-Post: <mailto:dcrup@ietf.org>
List-Help: <mailto:dcrup-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dcrup>, <mailto:dcrup-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Sep 2017 18:47:07 -0000
On 13/09/17 18:41, John R Levine wrote: > I have sent in a new draft which is intended to take into account all of > the comments I've seen. Section 4 says to use the Pure variant of Ed25519, which section 4 of rfc 8032 appears to describe as (my paraphrase) sign only; not hashing the data handed to it. What we hand to it is already a hash, using sha256. Do I have that right? The existing interfaces in both GnuTLS and OpenSSL appear to be aiming towards a Hash version of Ed25519, if I read them right - and they don't say explicitly what the hash-function is. For example, https://gnutls.org/reference/gnutls-abstract.html says, for gnutls_privkey_sign_hash() :- "Note that, not all algorithm support signing already hashed data. When signing with Ed25519, gnutls_privkey_sign_data() should be used." (I'm assuming that ...sign_data() does a hash and then signs. I also fear, reading between some lines, that the hash might not be sha256). Are we expecting these libraries to enhance their APIs? Or am I totally off track? -- Thanks, Jeremy
- [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John R Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 James Cloos
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John R Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Salz, Rich
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Scott Kitterman
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jim Fenton
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 James Cloos
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 James Cloos
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jim Fenton
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Scott Kitterman
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Alessandro Vesely
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 John Levine
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 denis bider
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Jeremy Harris
- Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06 Salz, Rich