Re: [ietf-dkim] versions of RFC822 mail messages, Where is the formal definition of DKIM-Signature?

Dave Crocker <dcrocker@bbiw.net> Sat, 10 February 2018 17:57 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 0F8A5128896 for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Sat, 10 Feb 2018 09:57:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bbiw.net header.b=aP1+sa1W; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=bbiw.net header.b=kG6lEhwl
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 wcZSuY7yd_C2 for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Sat, 10 Feb 2018 09:57:39 -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 8DCC91200FC for <ietf-dkim-archive@ietf.org>; Sat, 10 Feb 2018 09:57:39 -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 w1AHuk5g011713; Sat, 10 Feb 2018 09:56:46 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bbiw.net; s=default; t=1518285408; bh=/T5cVokOCCi8G+TlzZBxzZvY9THFTrokAyOXRYss8Gk=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=aP1+sa1W3ikGqbil50rw9WJe3s842h8iSeA8lVfURSS1Y3fNW3vB2P9wSqRKaYcvI Sg+uYSFp0Uw8jbznGuqywr0J07u8WO++kq2J3dl1Mepf1j8WttAa+/LBUfIP7OJ2yw 3IAtPLnNAJGlmF7rg0XOqd5WuZYs63iAq6Tt72BM=
Received: from [192.168.43.51] ([172.58.91.116]) (authenticated bits=0) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id w1AHuY9N011674 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 10 Feb 2018 09:56:35 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bbiw.net; s=default; t=1518285395; bh=S5WW2BZyE52EoT257uITmVl/Q2XpMGaUhczb5Q0MELE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=kG6lEhwl6ETYsJR85QLCdE4cV/vK2CMMa2Hsf1ZatVpLyif2HQNq2mw5QdvKYggPD rt0IXXc4fZJGMLDMC0ta7+I0/EeN0lInUE39mjsFA6hhriRQe24cepxJv4bd45Qtg9 ALBbPpfSbZJbRemJ6viwsnCFKaMVYmf6LxYdz9UY=
To: John R Levine <johnl@iecc.com>
References: <20180210155011.3735B1A7DD64@ary.qy> <c116be23-0e65-a1f8-3e08-0d0470b5006b@bbiw.net> <alpine.OSX.2.21.1802101225020.58081@ary.qy>
From: Dave Crocker <dcrocker@bbiw.net>
Organization: Brandenburg InternetWorking
Message-ID: <4fed665f-75ae-b2be-7be4-1fd978528d29@bbiw.net>
Date: Sat, 10 Feb 2018 09:55:31 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <alpine.OSX.2.21.1802101225020.58081@ary.qy>
Content-Language: en-US
Cc: ietf-dkim@mipassoc.org
Subject: Re: [ietf-dkim] versions of RFC822 mail messages, Where is the formal definition of DKIM-Signature?
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-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: ietf-dkim-bounces@mipassoc.org
Sender: ietf-dkim <ietf-dkim-bounces@mipassoc.org>

On 2/10/2018 9:44 AM, John R Levine wrote:
>> Well, that's simply and completely false.
>>
>> The message format specification(s) have no dependency on the email 
>> transport mechanism.
> 
> Huh.  When I look at RFC 822, section 3.1 says:
> 
>       The  body  is simply a sequence of lines containing ASCII charac-
>       ters.  It is separated from the headers by a null line  (i.e.,  a
>       line with nothing preceding the CRLF).

MIME is an overlay, flagged by the presence of the either/both of:

    MIME-Version:
    Content-Type:

The fact that the first of these says 'version' is distracting, for the 
current discussion.  It's significance is to say that MIME is used for 
the body, but really that's redundant with the mere presence of 
Content-type.


MIME was in significant use quite a bit before ESMTP was operational. 
In fact it's a non-trivial feature that MIME only requires adoption by 
author and recipient and not by /any/ of the infrastructure.  IE, not by 
SMTP.

The SMTP extensions to support MIME characteristics are value-added, 
beyond the basic MIME capability.  In other words, they aren't necessary.


> By the time we get to RFC 5322, there is a paragraph of waffle in
> section 2.1 that says that non-ASCII stuff is described somewhere else
> and "Discussion of those mechanisms is not within the scope of this
> specification."  I suppose we can have a metaphysical argument about
> what you call something that exists but we pretend for now that it
> doesn't.

So?  Some non-normative text notes that there is some other 
specification(s) that you might want to look for.

d/


-- 
Dave Crocker
Brandenburg InternetWorking
bbiw.net
_______________________________________________
NOTE WELL: This list operates according to
http://mipassoc.org/dkim/ietf-list-rules.html