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

Gene Shuman <gene@valimail.com> Sun, 26 March 2017 22:23 UTC

Return-Path: <gene@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 366331286CA for <dmarc@ietfa.amsl.com>; Sun, 26 Mar 2017 15:23:53 -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 yP36x_7nZKNw for <dmarc@ietfa.amsl.com>; Sun, 26 Mar 2017 15:23:50 -0700 (PDT)
Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (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 2AFA6126BF6 for <dmarc@ietf.org>; Sun, 26 Mar 2017 15:23:49 -0700 (PDT)
Received: by mail-wr0-x22b.google.com with SMTP id w43so19877600wrb.0 for <dmarc@ietf.org>; Sun, 26 Mar 2017 15:23:49 -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=7mfjJJ5hiNp3d3aM+TEm2pe+P0nbudewSnAEsFFK/1o=; b=OWnR4My0/F4f3x+ChYeOnZ3bLnAxTsmHrlylDMfT/wS8xLFu8H1Hj/3GBcczdR8r2O S5KxE0BkAqXAxEiESzi/4w76ntu/Ye4AOzU8AV1lEBEsNPGL2Pmp1rR+JMEmvzr5UTfV YGCbRdxPM8irqTt/ydanZVpQHAxDQYTHVeoTxAI9Ox2X88ZPzPkOrNAFDtZTlONKIb2t cE6o4+Ec/MUu+KoF3xPvRczqxz9cfF7MhmtfFZXSfJF2eNDFi0lFz1btw1xW2TXmSdh0 e1SrtkXBlw2p6NFMx2HYAy/opnwFclO3owHBQGcj9dlS7XGfcPnnR/LugLeQ8rGqM2Hd uUwQ==
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=7mfjJJ5hiNp3d3aM+TEm2pe+P0nbudewSnAEsFFK/1o=; b=hcDXDVRw2MqfM4zA74Q1E/1IWdaWGeCWJUr66FpIFjDBExFbx5UmMNpZABFU9Cfv8L F+W76htNwjwPHY5V6Y7ulFrALfJAUaeZQCqEUwVVsAz3PjBihkqCyp5LPldz4pH31IXJ XaPTvPQpXO2SGeQOz+wr4JG6K1yO7fhhoZSIWMnqsagBgJn6DhsaNSHRVzK43zYYnKtT CL4yzdhtGG2CSVxmu+mc9CbWxIAyyczyJmTPqqcBmUhD328jnSLct6FKYpmVb/+0FauV qXIWZZK0M/Ub00yNiI9LmLc9xd6yhp/DWK1FBfEJwdl7n/02Qcmby2vIgszlGlPgQ4co MY5Q==
X-Gm-Message-State: AFeK/H13uULJ/emzNKhJhsB0cADpxNL+2oBHI0gkaPhtaLjX7dAE0UFADV5BiS9i6rSY0RReGZ3ERRKuPlfSCw==
X-Received: by 10.223.160.183 with SMTP id m52mr444798wrm.201.1490567028424; Sun, 26 Mar 2017 15:23:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.142.130 with HTTP; Sun, 26 Mar 2017 15:23:47 -0700 (PDT)
In-Reply-To: <20170324212304.85346.qmail@ary.lan>
References: <CANtLugO_D1Mz_v_341pc5O1mZ7RhOTrFA3+Ob5-onp72+5uRfA@mail.gmail.com> <20170324212304.85346.qmail@ary.lan>
From: Gene Shuman <gene@valimail.com>
Date: Sun, 26 Mar 2017 15:23:47 -0700
Message-ID: <CANtLugOK4tXqA3ztYwchYsc8+t6KhyNj6mvgEu2wzvwKm_rK7A@mail.gmail.com>
To: John Levine <johnl@taugh.com>
Cc: dmarc@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c05eb3e3e5559054ba9ae12"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/4fXZZxAY23pS0SjaM6lzDmgTbUA>
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: Sun, 26 Mar 2017 22:23:53 -0000

Ah that had slipped my mind & is a good point.  However, I think the issue
here is generally that ARC is more complex protocol than DKIM and therefore
it's more important to reduce ambiguity & increase standardization while we
have the chance.  I think this is generally a good idea from a security
perspective, however this is mostly relevant with respect to testing &
validation, as ensuring cross-compatibility is a much bigger challenge.
It's even more important than it was with DKIM to have a test suite that
can verify signing behavior.  If we don't agree on any sort of standard, a
test suite will need to select a preferred format for the ARC headers &
will fail all implementations that don't meet this form.  We've discussed
this with Murray, and he agrees with this conclusion.

Our belief is that, given this is a new standard and all of the
implementors are on this list, it makes the most sense to define the
tag/value behavior strictly in the RFC.

Thoughts?

On Fri, Mar 24, 2017 at 2:23 PM, John Levine <johnl@taugh.com> wrote:

> In article <CANtLugO_D1Mz_v_341pc5O1mZ7RhOTrFA3+Ob5-onp72+
> 5uRfA@mail.gmail.com> you write:
> >The issue is that its possible for two separate arc implementations, given
> >the exact same message inputs, keys, timestamps, etc to be generating two
> >different, but equally valid ARC seal hashes.
>
> DKIM does the same thing.  The order of fields in a DKIM-Signature
> header is arbitrary, and the b= hash includes that header, so there
> are lots of different equivalent DKIM signatures for the same message
> and same selector and key.  Verifiers use the DKIM-Signature header in
> the message so they get the same answer as the signer, which I would
> think would work the same way in ARC-Seal.
>
> Can you explain why you think this is a problem?
>
> R's,
> John
>