Re: [Dcrup] Is there anything this WG wants to do not yet in draft-ietf-dcrup-dkim-crypto-01 ?
"John R Levine" <johnl@taugh.com> Tue, 20 June 2017 16:50 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 B4D7013151E for <dcrup@ietfa.amsl.com>; Tue, 20 Jun 2017 09:50:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.791
X-Spam-Level:
X-Spam-Status: No, score=-1.791 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=iecc.com header.b=XpGtRkU2; dkim=neutral reason="invalid (public key: not available)" header.d=taugh.com header.b=LIpE0coz
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 Ae2tNZiw0yCZ for <dcrup@ietfa.amsl.com>; Tue, 20 Jun 2017 09:50:29 -0700 (PDT)
Received: from miucha.iecc.com (w6.iecc.com [IPv6:2001:470:1f07:1126::4945:4343]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A56D120725 for <dcrup@ietf.org>; Tue, 20 Jun 2017 09:50:09 -0700 (PDT)
Received: (qmail 24418 invoked from network); 20 Jun 2017 16:50:08 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=5f60.59495240.k1705; bh=uqHhd8LmjRQoQ9jfWv/sPZqUcanOqKUl6mwtM3uzPkk=; b=XpGtRkU2KPyS9i8as8jJdYcevB6JqdAjChKhhlxidaAynvnoS2fBQqlySpOHkNRecbR93WQ5Z8gLWwvGPgV38GcwE31N7s6rJa0OrJCnebG2O+dSxW8gIXkIh+qCEXzJD7/prgf0q7wdIiMjmHiRjL9oeZ+8jgvlycHojCQ8W3D9qeVJ7SlP8hXwfvpFs+o7YFlWWTF6VoWu9gTik1G2dM+GopCvIOOEV9xQYZSJ7B+uU/vZ867nvlKwGfaXONQm
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=5f60.59495240.k1705; bh=uqHhd8LmjRQoQ9jfWv/sPZqUcanOqKUl6mwtM3uzPkk=; b=LIpE0cozy93EnHJd+g7+gsdMMjWVD5dNroq+A/+bKZUG2jgEi6Jb56CyrqPrGLnekA/rJbyPLHDLhMrIVNJh6bH2EVYphTrIwgYI+LddydZkzIlv7NrtuLep/ERhIKOj5gvu1C7L3TBvJEZGAVGpymYWejGvyMlCIrSJ9sF/oaDUevY+cS2zQNb6jL5MqFUPSn4YZtRseRl21h2JJ+F1JeJxlNSw3OcCtexnhN5b6Nn0aReuAoMd3ldSIeLE7VXt
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2/X.509/AEAD) via TCP6; 20 Jun 2017 16:50:08 -0000
Date: Tue, 20 Jun 2017 12:50:07 -0400
Message-ID: <alpine.OSX.2.21.1706201134480.33510@ary.qy>
From: John R Levine <johnl@taugh.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "dcrup@ietf.org" <dcrup@ietf.org>
In-Reply-To: <CABcZeBMvofEg+=qCEwDNa6=O8pK+o4XXRRYW8p=uH=oXV-PM-w@mail.gmail.com>
References: <alpine.OSX.2.21.1706121103510.19565@ary.local> <20170619205309.10839.qmail@ary.lan> <c05aa9933039406d8401c1b1ca95437c@usma1ex-dag1mb1.msg.corp.akamai.com> <CABcZeBMvofEg+=qCEwDNa6=O8pK+o4XXRRYW8p=uH=oXV-PM-w@mail.gmail.com>
User-Agent: Alpine 2.21 (OSX 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/2pe_DsOEPEzI-jnApFJ2aLfKYyU>
Subject: Re: [Dcrup] Is there anything this WG wants to do not yet in draft-ietf-dcrup-dkim-crypto-01 ?
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: Tue, 20 Jun 2017 16:50:33 -0000
> Giving this document a quick read I see several things I would change. In case it's not clear, I do not purport to be any sort of crypto expert, so I'm hoping that you, r$, et al. help us to be sure that what I say makes sense. > 1. You say you are using EdDSA with SHA-256? Does this mean you intend > to use the HashEdDSA variant see ( > https://tools.ietf.org/rfcmarkup?doc=8032#section-4)? If so you > should say so. I think the answer is no. DKIM signatures use two chained hashes. First it hashes a canonicalized version of the message body, and inserts the base64 hash into the DKIM-Signature header. Then it hashes a canonicalized version of the headers, signs that hash, and inserts the base64 signature of the second hash into the DKIM-Signatuer header. To avoid infinite regress, the verification step pretends the signature wasn't in the header when verifying. As far as I can tell, feeding the canonicalized header text into HashEdDSA gives the same result as feeding the hash into PureEdDSA. Since the hashing in DKIM has been defined for a decade and we're not planning to change it (other than to deprecate SHA-1) I'd rather say this is a PureEdDSA signature of the existing hash. > 2. I wouldn't specific generic EdDSA but rather EdDSA with a specific > curve. This is both for practical reasons (I don't want to have to > distinguish keys by len()) and for algorithmic reasons (you want to > use a stronger digest algorithm than SHA-256 with X448) OK. Looking at 8032, it appears I want to use Ed25519, right? > 3. You shouldn't name the keys ecdh(fp) but rather eddsa(fp) These keys > are not intended for use with key exchange but rather signature. The > document actually seems kinda confused on this point with the text > saying one thing and the table saying another. OK. Regards, John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY Please consider the environment before reading this e-mail. https://jl.ly
- [Dcrup] combo update draft-ietf-dcrup-dkim-crypto… John R Levine
- Re: [Dcrup] combo update draft-ietf-dcrup-dkim-cr… Martin Thomson
- Re: [Dcrup] combo update draft-ietf-dcrup-dkim-cr… John R Levine
- Re: [Dcrup] combo update draft-ietf-dcrup-dkim-cr… Martin Thomson
- Re: [Dcrup] Is there anything this WG wants to do… John Levine
- Re: [Dcrup] Is there anything this WG wants to do… Salz, Rich
- Re: [Dcrup] Is there anything this WG wants to do… Eric Rescorla
- Re: [Dcrup] Is there anything this WG wants to do… John R Levine
- Re: [Dcrup] Is there anything this WG wants to do… Eric Rescorla
- Re: [Dcrup] Is there anything this WG wants to do… Jon Callas
- Re: [Dcrup] key rotation, was Is there anything t… John R Levine
- Re: [Dcrup] Is there anything this WG wants to do… Scott Kitterman
- Re: [Dcrup] Is there anything this WG wants to do… Scott Kitterman
- Re: [Dcrup] Is there anything this WG wants to do… John R. Levine
- Re: [Dcrup] Is there anything this WG wants to do… John R. Levine
- Re: [Dcrup] Is there anything this WG wants to do… Scott Kitterman
- Re: [Dcrup] Is there anything this WG wants to do… Peter Goldstein