Re: [Dcrup] I-D Action: draft-ietf-dcrup-dkim-usage-02.txt

Scott Kitterman <sklist@kitterman.com> Mon, 12 June 2017 21:39 UTC

Return-Path: <sklist@kitterman.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 F2ECF12EB58 for <dcrup@ietfa.amsl.com>; Mon, 12 Jun 2017 14:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=kitterman.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 5RPr5LYDhH-g for <dcrup@ietfa.amsl.com>; Mon, 12 Jun 2017 14:39:51 -0700 (PDT)
Received: from mailout03.controlledmail.com (mailout03.controlledmail.com [IPv6:2607:f0d0:3001:aa::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C457812EB64 for <dcrup@ietf.org>; Mon, 12 Jun 2017 14:39:50 -0700 (PDT)
Received: from kitterma-e6430.localnet (static-72-81-252-22.bltmmd.fios.verizon.net [72.81.252.22]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout03.controlledmail.com (Postfix) with ESMTPSA id 02A30C403A4 for <dcrup@ietf.org>; Mon, 12 Jun 2017 16:39:49 -0500 (CDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=201409; t=1497303589; bh=jnm8oTPiyKFdNx2EJxnI4XdWTnz8u76Z89N1VlbwpJs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=0hq0kHD+jBW5tWvT87rS+D9OUobYCjLgS/biJ+pPLtrjve3Eq5G1f8Hfvery9Yn89 eJ53VQo9RLyPav+QjUs4P7NnTlHu5nDmeY7BEQfoTCHENc7k1LueJCwciovyJ/oYaa CWTx3uHilhCRZe8ZHrnF6Nped4jcODQtQfb7Qy/s=
From: Scott Kitterman <sklist@kitterman.com>
To: dcrup@ietf.org
Date: Mon, 12 Jun 2017 17:39:48 -0400
Message-ID: <17424575.60yUzU31nn@kitterma-e6430>
User-Agent: KMail/4.13.3 (Linux/3.13.0-119-generic; KDE/4.13.3; x86_64; ; )
In-Reply-To: <CAL0qLwakBY+LtrkQEPBKDwCrUg_qk_ZRhexUz_D_mw+dUUo6xQ@mail.gmail.com>
References: <149690083334.25644.8501543904193079634@ietfa.amsl.com> <CABkgnnXDN3One0FZCi63ssMVtnYv-nRRR+_-gLdMMpXzW=hYrQ@mail.gmail.com> <CAL0qLwakBY+LtrkQEPBKDwCrUg_qk_ZRhexUz_D_mw+dUUo6xQ@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/1yraSkX0VPTJutbS_LJDwtXYRz4>
Subject: Re: [Dcrup] I-D Action: draft-ietf-dcrup-dkim-usage-02.txt
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, 12 Jun 2017 21:39:53 -0000

On Monday, June 12, 2017 01:54:57 PM Murray S. Kucherawy wrote:
> Hatless:
> 
> On Mon, Jun 12, 2017 at 7:41 AM, Martin Thomson <martin.thomson@gmail.com>
> 
> wrote:
> > On 12 June 2017 at 15:32, Scott Kitterman <sklist@kitterman.com> wrote:
> > > The way to do that would be to remove it from the protocol, which you
> > > seem to oppose, so I'm confused.
> > 
> > I don't oppose removing it from the protocol in practice, it's just
> > that you can't pretend that the old version doesn't exist, and nor
> > should you care.  The point is to not USE it, the definition becomes
> > harmless at that point.
> 
> +1.

I've thought about this some more.  And the more I think about it, the less I 
like it.

Here are the currently defined DKIM result names from the IANA Email 
Authentication Result Names registry[1]:

> dkim 	neutral 	[RFC7601] section 2.7.1 	active
> dkim 	none 	[RFC7601] section 2.7.1 	active
> dkim 	pass 	[RFC7601] section 2.7.1 	active
> dkim 	permerror 	[RFC7601] section 2.7.1 	active
> dkim 	policy 	[RFC7601] section 2.7.1 	active
> dkim 	temperror 	[RFC7601] section 2.7.1 	active

What's the proper result for a rsa-sha1 signed message that passes DKIM 
verification?  It's not 'none', because it's still a valid signature.  I hope 
it's not 'pass' since there's no way to communicate it should not be relied 
on.  If we really want to approach it this way, there needs to be a new 
result, something like pass-but-ignore (since downstream consumers will rely 
on a pass).

This seems like a horribly recipe for confused implementation for exactly no 
benefit.  If anyone is sending exclusively rsa-sha1 signed mail (I don't have 
access to a reasonable corpus to have an opinion on the rarity) they're 
ignoring a SHOULD NOT that dates back to the very first DKIM RFC a decade ago.

I would really appreciate it if someone in favor if keeping rsa-sha1 would 
describe, in detail, what the authentication-results header field is supposed 
to look like for this "it's valid DKIM, but don't rely on it" approach.

Scott K


[1] https://www.iana.org/assignments/email-auth/email-auth.xhtml#email-auth-result-names