Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypto-03
Eric Rescorla <ekr@rtfm.com> Mon, 10 July 2017 03:56 UTC
Return-Path: <ekr@rtfm.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 9E2BB131547 for <dcrup@ietfa.amsl.com>; Sun, 9 Jul 2017 20:56:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.618
X-Spam-Level:
X-Spam-Status: No, score=-1.618 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_FONT_FACE_BAD=0.981, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.com
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 aFMuQBiIx2-r for <dcrup@ietfa.amsl.com>; Sun, 9 Jul 2017 20:56:50 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAE7E131544 for <dcrup@ietf.org>; Sun, 9 Jul 2017 20:56:49 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id x125so30925826ywa.0 for <dcrup@ietf.org>; Sun, 09 Jul 2017 20:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bOy6Pr/umObFw8DMV0BwT5uhNpKdWZOyRXrs2E+lB1E=; b=uhvKRQ+H2t8kPUzJnnNTUdkykBYigW4fgE100GMi3zlbYpSwjUn/fmc3aTsJUf14QE 3y5BsJ0uH/tODcthIufvpo4dZ7paEEiVBPwlDZ1OncqXXfj5771lHumPgvez2kgI84+T oelhpra08QjV4V1a0OWpykEhdtFuY9zlyjm5e75eyD5bwnqJ5CfSiZTxMeOsMfCQM6XQ wI3dmTz/7KgMWin/8Ph4AIEqG+mZQTG5dEVKbuz5QjCg7sSQls43fOJHwdejzTxBUAad OKXe4Z29+wwqcrxLXwRX5siX5GAjlF4ih79JrQYiikyyYxWB4zfO0a8u3Elo7fNa8Kic jAqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bOy6Pr/umObFw8DMV0BwT5uhNpKdWZOyRXrs2E+lB1E=; b=OKXy7G7Tpz9PtWS1LhvA85Ehi2Bt4qi33ZFsplh6cqSX7k48diWP8EPuSAjTFNjsez ZoyIogyg0NU4VmoXFHYgYaQt38q8nvN6eW9BxMsOAlIxutC1nPlUNU0OMvWGKb9ys/Bk 2lFowUEJtQcpq5ygxuusPCP3MdFPyDc5CZ9nuOhWzh8XwhG6gI0Afp0rsu1L50xuIwur GAGeQ874/i42E/Hvbj8+baFYStY4yM0lVR/CxQtfshQgV5e5nkpIptSTiPbP6WYfx79p AfpR4/REkPec4ciib1MqL4jITcjCydVREcvupHkvZW/2RSi2hX+x3ut2yYJgypraNw7B kTOw==
X-Gm-Message-State: AIVw1130nxI4i4r5VQgYzoemgTZzqqMfKVXJ3diNV0aRpmghSa/0+roh NsxhOabqYwoQ2RYwwwwhfFFnD5TqD7eZ
X-Received: by 10.129.50.140 with SMTP id y134mr10196588ywy.312.1499659009034; Sun, 09 Jul 2017 20:56:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.215.9 with HTTP; Sun, 9 Jul 2017 20:56:08 -0700 (PDT)
In-Reply-To: <CAOj=BA21u5TvwazJSi7tcRY-E9Q-AiX-yM329nLuUk85SWB4zw@mail.gmail.com>
References: <CABkgnnW8nnoRGKoJQ4STAcT6CXdWFRCpz0h20hw+ksfw1x0PGg@mail.gmail.com> <6d4b76c9b42848f1b18c42ba22895993@usma1ex-dag1mb1.msg.corp.akamai.com> <CABcZeBM-qh+iW_+Br2URpdjHsLZ_L1xqZWUVirW-8-E7k4cvzg@mail.gmail.com> <564f297f17424f34b4ba1e118ab6f62c@usma1ex-dag1mb1.msg.corp.akamai.com> <D4D564D0-73C6-45CA-9962-33106229DE02@bluepopcorn.net> <220DB06A-E06D-4DAF-ADE6-7536B6E43630@callas.org> <aeee2c9019114d9789a2cd768f0b15e1@usma1ex-dag1mb1.msg.corp.akamai.com> <F16764CE-D4C4-4A48-9779-37BC8C2D1261@bluepopcorn.net> <CADPMZDB03S5ffc3_Ker=h08japc2PGAbch3F=+jRL9ZBjCzs3w@mail.gmail.com> <CABcZeBNnVrgW7J2nr3ds+++Lau4LRxa2EG69vywyBmBu+uzuPw@mail.gmail.com> <CAOj=BA0W67AGpzRurd8ue8ZhgLesfb6rdnutLy4dVnqwfVSu9A@mail.gmail.com> <CABcZeBMfY2TN0rQMt3n8FDSAKOxjkt-nKoWQF7Q2O7nZ4azaaA@mail.gmail.com> <CAOj=BA21u5TvwazJSi7tcRY-E9Q-AiX-yM329nLuUk85SWB4zw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 09 Jul 2017 20:56:08 -0700
Message-ID: <CABcZeBM=vXOdVM+a+z1oD0jPqejCRuA60th1TjsXe6x4tZ-1sg@mail.gmail.com>
To: Peter Goldstein <peter@valimail.com>
Cc: denis bider <denisbider.ietf@gmail.com>, Jim Fenton <fenton@bluepopcorn.net>, "Salz, Rich" <rsalz@akamai.com>, "dcrup@ietf.org" <dcrup@ietf.org>, Martin Thomson <martin.thomson@gmail.com>, Jon Callas <jon@callas.org>
Content-Type: multipart/alternative; boundary="001a1140932a84a5e80553ee92a2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/W2fyMKfBs5jPW5ey0dtjzAmIwi8>
Subject: Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypto-03
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: Mon, 10 Jul 2017 03:56:52 -0000
I was going to respond, but I'd just be repeating myself. As I said earlier, it's probably just easier to discuss this in Prague. -Ekr On Sun, Jul 9, 2017 at 8:49 PM, Peter Goldstein <peter@valimail.com> wrote: > Support for larger keys isn't the issue at hand. The issue is the 255 >>> character limit imposed by the DNS crudware. And I think keys for each of >>> those curves easily fit under the limit. >>> >> > >> I'm referring to the claim that hashing doesn't provide any value. For >>> any curve > 256 bits, it does. >> >> Nope, that's the wrong limit in this case. By itself we have no interest > in whether the hashed key is smaller than the key itself. Using a hashed > key is always a loss on space (need to include the full key on each > message), time/CPU (computing the hash) and complexity - even when the > hashed key is smaller than the key itself. It's always a loss - the > question is whether the loss has any offsetting value. > > Hashing only provides value if the base64 encoded public key pushes the > record over the 255 byte limit. The point of my math was to show that the > larger key size EC algorithms work fine within this limit without hashing. > There is a limit, but it's higher than the key size for all plausible EC > algorithms likely to be introduced in the next decade. > > If we didn't have to deal with the 255 limit, we wouldn't be talking about > hashing RSA 2048. We'd just use a bigger key with the existing format and > algorithm and be done with it. We wouldn't even need a new RFC (support > for 2048 bit keys is required by RFC 6376 https://tools.ietf.org/html/ > rfc6376#section-3.3.3). > > There was zero interest in adding fingerprinting for RSA 1024 bit keys - > even though the fingerprint would be much smaller than the key. The > existing format works fine for these keys. So it's safe to say we could > handle any EC curve <= 1024 bits without fingerprinting. > > The value of the hashing is entirely in its ability to help DNS > administrators avoid this 255 byte limit. And my point is that for the > likely alternatives that would be added in the future, larger key RSA > aside, hashing adds no value. > > Best, > > Peter > > >
- [Dcrup] Review of draft-ietf-dcrup-dkim-crypto-03 Martin Thomson
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Salz, Rich
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Salz, Rich
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Jim Fenton
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Jon Callas
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Scott Kitterman
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Salz, Rich
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Jim Fenton
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Jon Callas
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Scott Kitterman
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Peter Goldstein
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… James Cloos
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Scott Kitterman
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Russ Housley
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… John Levine
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… John Levine
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… John Levine
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Russ Housley
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… John R Levine
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Scott Kitterman
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… John Levine
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… denis bider
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Peter Goldstein
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Peter Goldstein
- Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypt… Eric Rescorla