Re: [Ietf-dkim] Question about lone CR / LF

John R Levine <johnl@taugh.com> Fri, 02 February 2024 03:32 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: ietf-dkim@ietfa.amsl.com
Delivered-To: ietf-dkim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8978C14F684 for <ietf-dkim@ietfa.amsl.com>; Thu, 1 Feb 2024 19:32:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b="srvEv1p7"; dkim=pass (2048-bit key) header.d=taugh.com header.b="hcMQPEY6"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W8Z0u5lrk66I for <ietf-dkim@ietfa.amsl.com>; Thu, 1 Feb 2024 19:32:01 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2400CC14F616 for <ietf-dkim@ietf.org>; Thu, 1 Feb 2024 19:32:00 -0800 (PST)
Received: (qmail 58853 invoked from network); 2 Feb 2024 03:31:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=e5e365bc622e.k2402; bh=tUzi2dFWaxujW/BXcVBaLlUcLqm3MO1v+GXdh/pjS+c=; b=srvEv1p7JvD2U915PWEy0wMItjzkC6ndQ5/gQky8hP+2e6yTbX8gnLhAUzP5xZtLyJDRX7D6g3tq85QVvv0e+LXXDUjOhMaetyLIEx6AjrnuwIzpfWYSUe2doPD0HQ3dmYhVcg9waoj7EOyCuTFaE2/pwW3gnY5c7oB66PQgdTdebWjNuGbbsuHf3pnHFwWcgbQmzLuhgw1HzCkBYRb/EGj3tgbCZLV5gNc4xy5NLeQZ/hGmIRmhj9v7kWJB3bpuSa8MIyyXhud5AW8VhysWncQ+MWs+gp/yzloZZ78TX0NmFJEYcxDR1SvG+YoQnu3+De9t2mtA5UeujSUEBAuOYg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=e5e365bc622e.k2402; bh=tUzi2dFWaxujW/BXcVBaLlUcLqm3MO1v+GXdh/pjS+c=; b=hcMQPEY6kiraynJf0bAdJvNsBgjzpd9+i6jAgCOz7xd4qtfL5oWJWG2KMC25OoG0+FUx8swOUI14tSGsSBAWNzWpey/1YjEwtR/p32GzbNv9hJdM4wwCqYxNK64bLJuiAkW41XEn7UodiOUNK3mn8jp/L2/ydH6ykvBq7eTr7haLBNvMl6slcTMhIkPgkJSYyVDYprUcTPFBK+tDMumM5Pq4kUkhpSDdBjBRsoinArnh4W87J45HzfRmI9IHBeqPUcRd72p/FKwHpe/1bBpYOhRTkrI9N9hy6IuoepBb9ya0213uWLjSlMpgoa7YPPoT7ctSdlPkn7N4rUKLu4o5+Q==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA CHACHA20-POLY1305 AEAD) via TCP6; 02 Feb 2024 03:31:58 -0000
Received: by ary.qy (Postfix, from userid 501) id 3471D820DD66; Thu, 1 Feb 2024 22:31:57 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id F3448820DD48; Thu, 1 Feb 2024 22:31:57 -0500 (EST)
Date: Thu, 01 Feb 2024 22:31:57 -0500
Message-ID: <e1e0a6fe-b4de-b2da-84d4-2e9707d25ab1@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Dave Crocker <dcrocker@bbiw.net>
Cc: ietf-dkim@ietf.org
X-X-Sender: johnl@ary.qy
In-Reply-To: <26b61068-9a70-44ce-bde4-240fff1c154c@dcrocker.net>
References: <20240201180340.852B6820560B@ary.qy> <E8C1422D-4A9C-412A-BF5E-D07CABD2BFE2@callas.org> <95f2ba17-a81e-4adc-97d0-6c7387ade5f5@dcrocker.net> <e2753f82-cc7b-d220-cd42-2afb3f5865be@taugh.com> <26b61068-9a70-44ce-bde4-240fff1c154c@dcrocker.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-dkim/piMnZWrowdRV2roIvD7MkUcw47M>
Subject: Re: [Ietf-dkim] Question about lone CR / LF
X-BeenThere: ietf-dkim@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF DKIM List <ietf-dkim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-dkim>, <mailto:ietf-dkim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-dkim/>
List-Post: <mailto:ietf-dkim@ietf.org>
List-Help: <mailto:ietf-dkim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-dkim>, <mailto:ietf-dkim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Feb 2024 03:32:06 -0000

>> Layering is a fine principle, but it's not how DKIM has ever worked in 
>> practice.  Two weeks ago we had a long discussion about oversigning, so 
>> DKIM validators can catch messages with multiple From: or Subject: headers 
>> which have never been valid in any version of 822/2822/5322 but show up 
>> anyway.
>
> Please explain how you think DKIM violates layering.

What I said in my previous message, people use oversigning to catch 5322 
header violations.

>> For the specific issue of bare CR or LF, I was reminded on another list 
>> that there is a trendy attack called SMTP smuggling which depends on mail 
>> software inconsistently accepting bare CR or LF, and mail providers are 
>> busy patching to fix it.
>
> That has nothing to do with DKIM, of course.

Opinions differ.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly