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 18:06 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 D028012426E for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Sat, 10 Feb 2018 10:06:32 -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=JnB4c1O/; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=bbiw.net header.b=o9UtzDKJ
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 WOawYwuxStLt for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Sat, 10 Feb 2018 10:06:31 -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 3E4301200FC for <ietf-dkim-archive@ietf.org>; Sat, 10 Feb 2018 10:06:31 -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 w1AI5tu9013106; Sat, 10 Feb 2018 10:05:56 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bbiw.net; s=default; t=1518285958; bh=v2HN0o8fGSQmKDcgCsKVClvxbJ5QtliJfm9oxsqeAuI=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JnB4c1O/LZBfga7jGF8IF4ghgRNb1ik1lgYRgCSCcotXeZkSuBn0QmPQvwFi7Rtze Z8ftPkSYlgdw0WBxHdZQRp/X5k2SpyLonIV0yX6IhSX+nTJyja05WFnXgTx6PUxBax 1Ucig6coZkyGNYwun6UBvW2Ew4PcFRVX6RuATYA4=
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 w1AI5qQt013083 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 10 Feb 2018 10:05:53 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bbiw.net; s=default; t=1518285953; bh=0xIwKIXNwZgpkfY2SROmocoN3FrR4E+UU2AGwFVk9LQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=o9UtzDKJ46mZFwnLH4cqjgAID6x4+bP+HLyFaxxmG1o46gQiuIxPCs1x+6Gllrzjb FMQ01c/AUiVV4LZ0U2O9ILMn3hhpNfp3dPS/SS+X3xSjC7W8IFDd9uJTA6h68nkPQv YI0E+iReUrsXYZmtIDdbMoEhFlDJvOI/Ol5Pjtko=
To: John R Levine <johnl@taugh.com>
References: <20180210155011.3735B1A7DD64@ary.qy> <47dd136e-e122-9bd2-8cf1-7a712770d930@bbiw.net> <alpine.OSX.2.21.1802101244340.58081@ary.qy>
From: Dave Crocker <dcrocker@bbiw.net>
Organization: Brandenburg InternetWorking
Message-ID: <151740cf-796e-16eb-2ef5-ca296b5d4af0@bbiw.net>
Date: Sat, 10 Feb 2018 10:04:49 -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.1802101244340.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:47 AM, John R Levine wrote:
>>>     v= word (, word)*
>>>
>>>  where each word describes a semantic feature.  Feature tag "1" is all
>>>  the stuff in RFC6376.  My feature is mandatory to understand tags,
>>>  feature name "mandatory", so the signatures start
>>
>> The listing of 'authorized' features ...
> 
> Sorry, stop there.  This isn't "authorized" features, this is "used" 

fine, but that doesn't change any of the rest of my commentary about 
unilateral vs. 'negotiated'.


> features, as in if you don't support this feature, don't use this 
> signature.
> 
>> In a unilateral activity like DKIM, the mere presence of the usage 
>> "featurex=..." serves to flag that featurex is used.  There is no 
>> incremental benefit into moving the flag elsehwere.
> 
> Well, OK, other than DKIM-Improved-Signature how would you do 
> conditional signatures, where the signature has to fail if the semantics 
> of the re-sign tag aren't satisified?  Remember that the current rule is 
> that verifiers ignore tags they don't understand.

The current point of departure into DKIM is by the header field name. 
So I'm not sure why 'other than' is being queried, since it's the 
natural, existing point for going to a different protocol.

Different protocol?  Yes.  Current DKIM does not require support for 
unrecognized tags, beyond the initial set.  You want to require support 
for additional tags.  That's a fundamental change; so it isn't 'DKIM'. 
It's something different.

d/


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