Re: [ietf-822] Aptness of DKIM for MLs

S Moonesamy <sm+ietf@elandsys.com> Fri, 09 May 2014 16:40 UTC

Return-Path: <sm@elandsys.com>
X-Original-To: ietf-822@ietfa.amsl.com
Delivered-To: ietf-822@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0D951A0009 for <ietf-822@ietfa.amsl.com>; Fri, 9 May 2014 09:40:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.441
X-Spam-Level:
X-Spam-Status: No, score=-2.441 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.651, T_DKIM_INVALID=0.01] autolearn=ham
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 7tn47B2DnxV1 for <ietf-822@ietfa.amsl.com>; Fri, 9 May 2014 09:40:39 -0700 (PDT)
Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C5C21A0002 for <ietf-822@ietf.org>; Fri, 9 May 2014 09:40:38 -0700 (PDT)
Received: from SUBMAN.elandsys.com ([197.224.141.174]) (authenticated bits=0) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id s49GeKsB029279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 May 2014 09:40:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1399653632; bh=aFRm66Q9JR+BX4iO5S3cnB5bCI6YS1yTPSws9ADNr/A=; h=Date:To:From:Subject:In-Reply-To:References; b=QqJVhcVDS39zh/jG/iGt3618ivUAKE/qm1mKXvAxze2WtQpAwB7+FDi3ulzjVxJ7h MkHYhplYD3l7YkHHEtyDxXpTLSvG4m2KaHbWITWfuuzHUfqLxl9c4hLzK8MQVeBNjj KHR9Whqv5AX5GhUZOOp6WunBwYYbcYMol/ct6tLg=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1399653632; i=@elandsys.com; bh=aFRm66Q9JR+BX4iO5S3cnB5bCI6YS1yTPSws9ADNr/A=; h=Date:To:From:Subject:In-Reply-To:References; b=ItWMFWzVYYrmOLAsG3B4C8AVgQexcLz43MIYHbQTWZ2XpS0F1r6UAd8z46xm1z86f bz0F1ZdvFkci6MqeTJ3nIPTr5ynH6MKud9kS8csYX1alOKuj9QfAIq2freF9doKMO8 IjiSP38nxsQ7JZJteIaDkJxTeF8YBAwU5vSd0oWQ=
Message-Id: <6.2.5.6.2.20140509081507.0c1f5df0@resistor.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Fri, 09 May 2014 08:44:13 -0700
To: Alessandro Vesely <vesely@tana.it>, ietf-822@ietf.org
From: S Moonesamy <sm+ietf@elandsys.com>
In-Reply-To: <536CAC9C.6080807@tana.it>
References: <20140506171238.28535.qmail@joyce.lan> <536A05B2.9060805@tana.it> <6.2.5.6.2.20140508104525.0c42ac38@resistor.net> <536CAC9C.6080807@tana.it>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf-822/Vl2B6nvmiFSDv6fmB23SLuGcNR0
Subject: Re: [ietf-822] Aptness of DKIM for MLs
X-BeenThere: ietf-822@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion of issues related to Internet Message Format \[RFC 822, RFC 2822, RFC 5322\]" <ietf-822.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-822>, <mailto:ietf-822-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-822/>
List-Post: <mailto:ietf-822@ietf.org>
List-Help: <mailto:ietf-822-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-822>, <mailto:ietf-822-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 May 2014 16:40:40 -0000

Hi Alessandro,
At 03:23 09-05-2014, Alessandro Vesely wrote:
>No, it doesn't.  It broke elandsys' signature, but check tana's
>signature on this message.  (I send this to ietf-822 only, to avoid
>any confusion.)

The verifier at my end validated the ietf.org signature instead of 
the tana.it signature.

>So it seems I could publish a strict DMARC policy right now, and cause
>minimal disruptions.  However, some verifiers (NetEase) consider
>tana's h= inadequate, see "objection" below.
>
> > Gratuitous changes to a mailing list message is a matter of
> > opinion.
>
>Well, not exactly.
>
>For corrections, section 6.4 of RFC 5321 is rather clear that
>submission servers MAY, while intermediate relays MUST NOT, apply
>certain changes.  So the range where opinions may vary is whether an
>MLM is to be considered akin to submission servers or relays.
>
>By /gratuitous/ changes, such as adding/removing double quote marks, I
>mean unnecessary embellishments that were already disputable before
>DKIM took root.

I thought that you mean subject tagging, etc.  If the objective is to 
ensure that an MLM does not make any change it is easier to say "MLM 
must not make any change as that will break X" instead of looking for 
a clause to justify whether any change is appropriate.

>Yes, much of this discussion was recited at the time of ADSP, for
>example http://mipassoc.org/pipermail/ietf-dkim/2010q3/013829.html
>
>The most relevant objection to weak signatures is why would domains so
>concerned about security as to publish a strong policy weaken their
>DKIM signatures?  A solution is to do so for ML messages only.

Yes, it would weaken the DKIM signature.

>To recap, assume a domain has a DB of (user, mailing list) pairs which
>defines ML traffic.  Messages to ML are then sent in separate SMTP
>transactions and weakly signed.  MLMs sign those messages in turn,
>using strong signatures.  Verifiers derive the validity of MLM domains
>by comparing d= against To: or Cc: mailboxes.
>
>Besides minor refinements, the major bar is to build that DB.  I
>proposed to do it manually for starting, and then find out how to
>automate its maintenance.

I'd say try it. :-)  You may have to convince the people writing the 
software to make changes.  That's usually the difficult part.

Regards,
S. Moonesamy