Re: [Dcrup] Review of draft-ietf-dcrup-dkim-crypto-03

Eric Rescorla <ekr@rtfm.com> Mon, 10 July 2017 01:38 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 F371312EC13 for <dcrup@ietfa.amsl.com>; Sun, 9 Jul 2017 18:38:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 Kx3lAu_7hUhN for <dcrup@ietfa.amsl.com>; Sun, 9 Jul 2017 18:38:35 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 7322212955F for <dcrup@ietf.org>; Sun, 9 Jul 2017 18:38:35 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id a12so30031158ywh.3 for <dcrup@ietf.org>; Sun, 09 Jul 2017 18:38:35 -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=x3WokAiZ2w+66bjSh/o1RiezbByKZfkiGYoWgFa/3VA=; b=E9oOJdjl3TkmwvRRmrnTJPaK5jCJmeGmVH1hEK/HlU6ACfq3JghV2hQ5GYPE6F80OV knxWIIn6J6GIvokwYjy7EE1iWa0ej9X8jdiUWQR1HNPNc6Idjcrtsb5do49Pgn59nV7K 8U2ckjKoHdrQSgxE8AtthjTDBsTh2LcxccLVFotaJV1Dxbk8SaV3GCIBFtzzHiZHd0N+ 5g4VS++12CRqtP3OXv3KR+TGSi2LzCnmEfnXULuxbHcxIMr3R3XslWpOqB0cnACy+j2h k51+vnIsKiwlqpoNI91ijEdN6NDnC4MP3HJNfV67AEAZyTRNl1IYCffIuJll7lSSQLHF t6Ow==
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=x3WokAiZ2w+66bjSh/o1RiezbByKZfkiGYoWgFa/3VA=; b=aVTEIyTxR9Jzv0Bk7zbKOS+nbVlXhxwoFHO1qhywBQr7vZCo5dvAGyxPT4hMXXO+2o cb2ZkFRAnUdJLcyC9CDqsSeYxfI11FgcljlLxn8hUIpC2uV3hpgO7zhJ83dcaR0zdQsT QjRZEdjdXEWvSMXSUPBUwv9qvAPQoXk+0mFLI8Jro6uU2t9U3fxulCMLI2Mr1amgOhYv iFV2IShtvvTE2kNslRL/dde5yBBg6sS7REMu0f17ogTPwbOWsEVforWeRutO/92kRS1U +U0BLUjzHbRnRAbJL/PhC7nhKTMSw7VlQBmyiGnWNFU6ymowpY4m9hCmUI9vGfrHxQcD 1+hA==
X-Gm-Message-State: AIVw111FZ5nMQgpJVWPv/9VnJLr6etbhxuOME4KCQaN6yQ8kLTrtRWac MYnzsmkPsB05aM+Kgfg1RA0OcIIj/I/BRSk7sw==
X-Received: by 10.129.50.140 with SMTP id y134mr9876489ywy.312.1499650714684; Sun, 09 Jul 2017 18:38:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.215.9 with HTTP; Sun, 9 Jul 2017 18:37:54 -0700 (PDT)
In-Reply-To: <20170710000129.90943.qmail@ary.lan>
References: <CABcZeBMaZ-q5kVTLF2qK+tqtgf2qAyZFsydZrXzYTLuwC2Ecag@mail.gmail.com> <20170710000129.90943.qmail@ary.lan>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 09 Jul 2017 18:37:54 -0700
Message-ID: <CABcZeBNXymZFu_Vc=zgpGCkm0wR2UTTUp=T5e9CKKyTaWFsKig@mail.gmail.com>
To: John Levine <johnl@taugh.com>
Cc: dcrup@ietf.org
Content-Type: multipart/alternative; boundary="001a1140932a22e2520553eca400"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/yaM8y7TpW_pzupKE2GCKs8L3THQ>
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 01:38:37 -0000

On Sun, Jul 9, 2017 at 5:01 PM, John Levine <johnl@taugh.com> wrote:

> In article <CABcZeBMaZ-q5kVTLF2qK+tqtgf2qAyZFsydZrXzYTLuwC2Ecag@
> mail.gmail.com> you write:
> >What I'm trying to do is reduce the additional complexity of adding new
> >algorithms in the future by having a consistent approach going forward.
>
> Given that we will always have code for both hashed and unhashed keys,
> since unhashed RSA isn't going away, my minimal complexity approach is
> to add an algorithm with unhashed keys if the keys are small, and with
> hashed keys if the keys are large.
>
> Since DKIM has no opportunity for algorithm negotiation, verifiers
> have to implement every algorithm that signers might use, so the
> main goal is to minimize the number of algorithms, regardless of
> what they are.
>
> At this point I'm inclined to take out hashed RSA, since the problem
> it solves only exists due to stupid configuration software, and anyone
> who implements hashed RSA would also implent EdDSA which doesn't
> have the configuration key size problem.
>

Moreover, not having hashed RSA basically commits to EC-only and
I know there are people who would like to keep RSA viable. Moreover,
as I think I've mentioned before, this is a charter item and it was a basic
assumption when the WG was formed.


 As I read RFC 8032, the chances are pretty good that ed25519 will last
> as long as DKIM does, so we won't have to do this again.
>

Again, absent Quantum Computers.

Anyway, I think we're past the point where mailing list discussion is
helpful,
so I suggest we simply pick it up in Prague.

-Ekr

R's,
> John
>