Re: [Dcrup] I-D draft-ietf-dcrup-dkim-crypto-06
"John Levine" <johnl@taugh.com> Wed, 22 November 2017 13:59 UTC
Return-Path: <johnl@taugh.com>
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 F1901129449 for <dcrup@ietfa.amsl.com>; Wed, 22 Nov 2017 05:59:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, 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 wWOqUiSoDY6k for <dcrup@ietfa.amsl.com>; Wed, 22 Nov 2017 05:59:57 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 9409812944A for <dcrup@ietf.org>; Wed, 22 Nov 2017 05:59:57 -0800 (PST)
Received: (qmail 1973 invoked from network); 22 Nov 2017 13:59:55 -0000
Received: from unknown (64.57.183.53) by gal.iecc.com with QMQP; 22 Nov 2017 13:59:55 -0000
Date: Wed, 22 Nov 2017 13:59:33 -0000
Message-ID: <20171122135933.9750.qmail@ary.lan>
From: John Levine <johnl@taugh.com>
To: dcrup@ietf.org
Cc: jgh@wizmail.org
In-Reply-To: <f5c2b166-f69b-b9da-779d-f7cc2b3428a5@wizmail.org>
Organization:
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/M1VFVC_NpyClLEKK-0DJEJ2ll6M>
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, 22 Nov 2017 13:59:59 -0000
In article <f5c2b166-f69b-b9da-779d-f7cc2b3428a5@wizmail.org> you write: >I already did. All assumed immediately the re-hash, once it was >accepted that we had no chance of the libraries providing a pure >signing facility. I didn't see one that suggested that the headers >be passed in original unhashed form to the library hash-and-sign. As several people noted, passing the unhashed canonicalized headers and body would require opening up code that was written and debugged a decade ago, and inventing some tricky coroutine interfaces since the string is likely to be too big to buffer in memory. Compared to that, a second hash is a no-brainer. R's, John
- [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