Re: [ietf-dkim] [Technical Errata Reported] RFC6376 (4926)

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 10 February 2017 16:30 UTC

Return-Path: <ietf-dkim-bounces@mipassoc.org>
X-Original-To: ietfarch-ietf-dkim-archive@ietfa.amsl.com
Delivered-To: ietfarch-ietf-dkim-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71FA5129A2B for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Fri, 10 Feb 2017 08:30:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.787
X-Spam-Level:
X-Spam-Status: No, score=-1.787 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (body has been altered)" header.d=gmail.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 Y6_MD5U_CsXG for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Fri, 10 Feb 2017 08:30:28 -0800 (PST)
Received: from simon.songbird.com (simon.songbird.com [72.52.113.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A623F129A27 for <ietf-dkim-archive@ietf.org>; Fri, 10 Feb 2017 08:30:28 -0800 (PST)
Received: from simon.songbird.com (simon.songbird.com [127.0.0.1]) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v1AGV8nr012645; Fri, 10 Feb 2017 08:31:09 -0800
Authentication-Results: simon.songbird.com; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=A6Cb1jbD; dkim-adsp=none (unprotected policy); dkim-atps=neutral
Received: from mail-ua0-f179.google.com (mail-ua0-f179.google.com [209.85.217.179]) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v1AGV48L012637 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <ietf-dkim@mipassoc.org>; Fri, 10 Feb 2017 08:31:06 -0800
Received: by mail-ua0-f179.google.com with SMTP id 96so31814493uaq.3 for <ietf-dkim@mipassoc.org>; Fri, 10 Feb 2017 08:29:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7nYW7qV7sihHn9UAHplTEfWgjC8y84uNxF0o5BhEigQ=; b=A6Cb1jbDOXKOAN7PlSF41swbefK5hVfolgXHDPHHmR+F0UOmqIkknMZGZ5IEdZiElf zOm3bfh0P1lzkZ2rT4zZ+WM8xqDaNhrJ7Wb92b/J0Q0qT4gcyxFFleIKLgcI4RYcJUYR p3ODZAtbPtI0z68BHSqWM8l+qBeelxY8MH+KoeuhpBzFAn/AP/+DtBbTJ6BIHLy7U1Rl oNkntHCzczGlaNxNIXe8wK9zt4xdCsPQdEYhn/ABkE0UDjmnpHLDjAd48UAMN17fup7Z /SrwSZndIzjS569lxILbbgqZz7rONWagTVGCh/bz0hKcFW7xt3rkPKqSlvxufOycXvs0 sM9w==
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=7nYW7qV7sihHn9UAHplTEfWgjC8y84uNxF0o5BhEigQ=; b=d78AgZoZKoNpRdJZhpUin3yz1TDKIX9+Qwhx7WhzqSf/u81Gbqiq0Q9JCGYE/pwbOd CaubUspoyvhIijLFf90mE3gGQ9zm1RkL27MV1tnbp12fhv6inZbvHm0MHale1eZhvVj+ vy1/Y2Es42Yjd77nP5RI0DmaFb2dpsL72hyb0imgUUVS59K7TQYXLJGq00mqxG2Pahc+ e5d9Hu06lP5p9Z7lk84P6DzwG7K8xcSUE8P3Jv+O7uA1dVZTX4hHBnn0u4q3RGvJ9mmf jyXzBxtid95e3WMCTr78VOzDJq/vBxZRlu7nTYbY42SjTFfMz4XdbOK/wvNK7xVN3rPk 6xfg==
X-Gm-Message-State: AMke39kWOF1Z3qsLRbHWbxT4IBj+jIoUHUkishUQ9OXldL1DHTWto/KxFoyWAGH2vowPFSm77e6i7FZrYkMJQA==
X-Received: by 10.159.34.111 with SMTP id 102mr5171931uad.160.1486744158642; Fri, 10 Feb 2017 08:29:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.84.150 with HTTP; Fri, 10 Feb 2017 08:29:18 -0800 (PST)
In-Reply-To: <CALaySJKWvg+92jSk25OvMR1J9vBqtsSgp+VUTw+KuYDY+zJS=g@mail.gmail.com>
References: <CALaySJJ8QvWp=QChL9Pvt5ytySpeRnU1y4xaXAiRD9vi4M+oZg@mail.gmail.com> <20170207181909.9946.qmail@ary.lan> <CALaySJKWvg+92jSk25OvMR1J9vBqtsSgp+VUTw+KuYDY+zJS=g@mail.gmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Fri, 10 Feb 2017 08:29:18 -0800
Message-ID: <CAL0qLwatr10gmSVoV_xFDHAVp5QCBpg_=aF=EdmXk45ZdHbNpA@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
Cc: John Levine <johnl@taugh.com>, DKIM Mailing List <ietf-dkim@mipassoc.org>
Subject: Re: [ietf-dkim] [Technical Errata Reported] RFC6376 (4926)
X-BeenThere: ietf-dkim@mipassoc.org
X-Mailman-Version: 2.1.16
Precedence: list
List-Id: IETF DKIM Discussion List <ietf-dkim.mipassoc.org>
List-Unsubscribe: <http://mipassoc.org/mailman/options/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=unsubscribe>
List-Archive: <http://mipassoc.org/pipermail/ietf-dkim/>
List-Post: <mailto:ietf-dkim@mipassoc.org>
List-Help: <mailto:ietf-dkim-request@mipassoc.org?subject=help>
List-Subscribe: <http://mipassoc.org/mailman/listinfo/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7477292216591729793=="
Errors-To: ietf-dkim-bounces@mipassoc.org
Sender: ietf-dkim <ietf-dkim-bounces@mipassoc.org>

On Tue, Feb 7, 2017 at 10:25 AM, Barry Leiba <barryleiba@computer.org>
wrote:

> >>Murray, Tony, or someone else: Can you independently check that these
> >>examples need the extra space in order to be verified correctly?
> >
> > Murray did that for us a decade ago -- it's one of the test cases that
> opendkim uses.
>
> Yes, but the point is: did Murray (or anyone) extract the text *from
> the published RFC* and use that as input?  That is apparently what
> Simon did, which resulted in this report.
>

It looks to me like this was some loss of precision in the transition from
RFC4871 to RFC6376.  The former has six spaces, and the latter has five.  I
very likely didn't change my test suite in between, or re-test the examples
in RFC6376 before it shipped.

-MSK
_______________________________________________
NOTE WELL: This list operates according to
http://mipassoc.org/dkim/ietf-list-rules.html