Re: [dmarc-ietf] indeterminisim of ARC-Seal b= value

Seth Blank <seth@valimail.com> Fri, 31 March 2017 00:10 UTC

Return-Path: <seth@valimail.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 111A71270A3 for <dmarc@ietfa.amsl.com>; Thu, 30 Mar 2017 17:10:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=valimail.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 HyW7wmxGszDK for <dmarc@ietfa.amsl.com>; Thu, 30 Mar 2017 17:10:42 -0700 (PDT)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 2703112773A for <dmarc@ietf.org>; Thu, 30 Mar 2017 17:10:41 -0700 (PDT)
Received: by mail-qt0-x234.google.com with SMTP id n21so53479617qta.1 for <dmarc@ietf.org>; Thu, 30 Mar 2017 17:10:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=valimail.com; s=google2048; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=axOxohi8mItnspmfKX4VLQt0Pj0TAb7pj/dG4wiWKiA=; b=GUYYnB1quAgSo9gW39l2XGr25TQcLZIMj8XxPqF8Y9QueTv6LJmSFBaUrkic3Xe3ov TytoeMfrm91P6AnEujVxuHik3ZNuwL3yE/PMRlZWcZJrDW9wuaoJxjPxjao8vwkmKsf5 C3FJo8B4bXDqKN/snRY3aIfrwlsVZgr5PJkW0ou+gYrG8iKC8n0KiSILu2jTZxETjD6g HODkNS99xZAjwGF7TD4TLUHECPDCiwkp3I4tyzYU8LtaTflfVEnpOO/Y39hLDSUo5KGO iSPQFaW3zxhVZxbbsoIn3g2edDdeOaO9Wral/F9p+KtoXhiL7GuQ8B5uIoBDQNW+IvXM r6hw==
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=axOxohi8mItnspmfKX4VLQt0Pj0TAb7pj/dG4wiWKiA=; b=Ti246pZlf3fX1Uk+mvocdr5aUxfFiDG6nvTee+rew4bzvr2RPbvGaKqCZUJKDcLgRX YUke9jMssgcsmgQnX9ARfBuJY1znIVbEpXQ6CgsGnMu6s4edsyIfG5rsAd+X8n8nQ5ka VQ8bx7T013WscOMDCZ+T7H4ou32WNnYAV1VQdCOK2gEEETLIlvsyUkl99aw5vL9b7Yow 5rZayp8dhdY+dCMG34StWKuG/SrMg8K0HtgT8d7QoZgKpHXlCf9kuyMqTZBz3DB9nn6Q vlhfGRVrV8xzHSf7SJLyaWI8/Z5BIAySSnLT+HGRqlBXPX2LG7Dt+ACaMGx/aoWaeSoH Rh5Q==
X-Gm-Message-State: AFeK/H362Vcs7HxMsRXxa7OgG8hRECqZIVrbaimT7xqeZZ3trysh6lNjoY+LEaBJ1vhDcDL/ShDxWu6zR2GtUQ==
X-Received: by 10.200.35.36 with SMTP id a33mr148372qta.216.1490919040045; Thu, 30 Mar 2017 17:10:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.42.166 with HTTP; Thu, 30 Mar 2017 17:10:19 -0700 (PDT)
In-Reply-To: <1cf7325b-6f77-7cda-e330-025b7ddb0b92@dcrocker.net>
References: <CANtLugO_D1Mz_v_341pc5O1mZ7RhOTrFA3+Ob5-onp72+5uRfA@mail.gmail.com> <alpine.OSX.2.20.1703272118210.2533@ary.local> <CAOj=BA0YKHYrkseR=wwgZn0_GNBKfdL7jmHehgBRzxqGKV6C1g@mail.gmail.com> <2978391.eJVbVTHBlo@kitterma-e6430> <CAL0qLwbP4c+09=TNSOsDqKwcp6iw++aGW8jDhARoVwvsghSLvA@mail.gmail.com> <01QCKR5S5OXK0003XB@mauve.mrochek.com> <CAOj=BA3p-XQT=AeR4PHC-udWsn7rOmtR+UQHV0vbVofDKYOH_Q@mail.gmail.com> <01QCKXW9MZ4Q0003XB@mauve.mrochek.com> <1cf7325b-6f77-7cda-e330-025b7ddb0b92@dcrocker.net>
From: Seth Blank <seth@valimail.com>
Date: Thu, 30 Mar 2017 17:10:19 -0700
Message-ID: <CAOZAAfM_fKf+egqmYQorobPB07kQpi5rP4rcb4Kj3fsLvcoRVw@mail.gmail.com>
To: dcrocker@bbiw.net
Cc: ned+dmarc@mrochek.com, Peter Goldstein <peter@valimail.com>, Scott Kitterman <sklist@kitterman.com>, "dmarc@ietf.org" <dmarc@ietf.org>, "Murray S. Kucherawy" <superuser@gmail.com>
Content-Type: multipart/alternative; boundary="001a113a7db8c5977f054bfba303"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/dhPMShVGcRs4goHt_5X81qkZTBM>
Subject: Re: [dmarc-ietf] indeterminisim of ARC-Seal b= value
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Mar 2017 00:10:46 -0000

Dave, If we were only talking about ARC Signing messages, I'd generally
agree with the comments on this list.

However, ARC is fundamentally different. It is about a chain of messages
that validate each other. And ARC's complexity is not in the signing (where
most of this conversation has been focused), but in this chain validation
and the cascading issues that can be created by any member of the chain
doing something slightly wrong. And since *everyone* in the chain except
the initial signer is also a receiver, the final receiver simply can't make
up for mistakes caused by a less savvy intermediary - the chain will
already be broken and unrecoverable.

ARC also has a lot of subtlety that is missable at interops because of
this. For instance, if I'm modifying a message, I need to validate the
incoming chain, then make my modifications, and then sign the outgoing
message. An intermediary doing this wrong (say, validating and then signing
after message modification) isn't a bug a final receiver can fix. And
without a seriously complex interop with a ton of intermediaries and
sending relationships mapped out for testing, it's not likely an error in
any specific implementation here will be discovered until it's too late.

To my understanding, working on the test suite shook these issues out
because they were what caused problems running the test suite at the
interop in the first place. So this is actually a good and healthy part of
the process, and is the natural consequence of the interops. What worked
here for DKIM is insufficient with the nuances of ARC.

What we've been discussing doesn't just guarantee a test suite can be made
that works for everyone (which is huge in itself), but constrains the
problem space for everyone involved in an ARC chain. This is clean and
desirable.

Since the spec is not finalized, this is the perfect time to set a
deterministic order for headers that no one has even seen before.

Seth


On Thu, Mar 30, 2017 at 4:15 PM, Dave Crocker <dhc@dcrocker.net> wrote:

> On 3/30/2017 12:13 PM, ned+dmarc@mrochek.com wrote:
>
>> And given the relationship with DKIM people are going to expect ARC
>> to work in the same general way, maing such a change a least astonishment
>> principle violation.
>>
>
>
> +10.
>
> This thread has been active for 6 days.  That is 5.5 days longer than it
> should have lasted, and I'm being generous.
>
> Internet technologies succeed through interoperability testing, not
> conformance tests, or the like.  Conformance testing, and the like, are
> useful for early-stage bug-finding, but not for 'certification'.  This
> point has been a distinguishing feature of Internet technical work since
> before the Internet.
>
> ARC is a small re-casting of DKIM.  DKIM has worked for quite a few
> years.  Some details of ARC need to be different from DKIM, but the basic
> paradigm -- including the model of achieving field operation through
> interoperability testing -- should be the same.
>
> My reading of this too-long message thread is that there is essentially no
> support for making ARC's header-related issues any different from DKIM's,
> so I encourage the chair to shut this thread down.
>
> d/
>
> --
> Dave Crocker
> Brandenburg InternetWorking
> bbiw.net
>
>
> _______________________________________________
> dmarc mailing list
> dmarc@ietf.org
> https://www.ietf.org/mailman/listinfo/dmarc
>



-- 

[image: logo for sig file.png]

Bringing Trust to Email

Seth Blank | Head of Product for Open Source and Protocols
seth@valimail.com
+1-415-894-2724 <415-894-2724>