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

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 02 February 2024 05:04 UTC

Return-Path: <superuser@gmail.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 DBEDFC14F683 for <ietf-dkim@ietfa.amsl.com>; Thu, 1 Feb 2024 21:04:10 -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 btiv_qpEizAB for <ietf-dkim@ietfa.amsl.com>; Thu, 1 Feb 2024 21:04:10 -0800 (PST)
Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 77EECC14F61A for <ietf-dkim@ietf.org>; Thu, 1 Feb 2024 21:04:10 -0800 (PST)
Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a2e633c5365so55005866b.1 for <ietf-dkim@ietf.org>; Thu, 01 Feb 2024 21:04:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706850248; x=1707455048; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HGF4Gl9foMAc7VnFHlVnnK0/x28PYjQRBfXsCn0UPUE=; b=Y9N9r6UFO0qAD1nBTq/hebyIKpoNuKFJumdZWMfWj2Lp2oQeirjV4o2Pr4r0pL3k6P VWoYrR7IcZf/fO9X1WkEKNFLWDyn+biwrKr1PTgGquWYNBCKByG0mFzj7EV26okb0fqI K5q/4bQWYKRZiDrHp/fwFjdXY3mbO+J/H87yh54WEX7PQfr1/eJu/bi6TMj0g6rifL2C H+Y/Q3haG9E4g20E/krS3StZQI+9TsIgGtHgN604bFAEOki0negI1QVA0nYHMTSzgdV6 88TPJOFxN3jzE0xHKcx+8sAmSqohcm2zGnL63sY+hLqP7dNv4f1sskEtfe0FxoBwSnvX Z/NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706850248; x=1707455048; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HGF4Gl9foMAc7VnFHlVnnK0/x28PYjQRBfXsCn0UPUE=; b=ClYcKC9QjasLRFzGV2n0xypQGEXQkPm8XnlrRerbXDzBwH6VG/9njm8lPVNmyVWekd Q0vWgxFXf0UpifJ9QLgSJhCJngfnknfVUuQQGF6uNDAk4bZc2XCEiZVhwfr+eJrXzfi9 LB4tDLblQwvbRzjKrhq0/KeMskStPlmsCBjti9ckG46cUEOGndG2PV+i52FwP2jSrBEd iP7n0OvaMzr4C43cbjmRtDfXsE33YaKNxZhGJQgFVItS3vi2Lbv/PPgJULYNFOx1XqEl TkeZVX/uooZwM1KEcLTtSqRkL+NuGbq49wmUqNrB7JYWiYgedkBAF7M0jvEYWTZvwGdQ jl+w==
X-Gm-Message-State: AOJu0YyboWdRBkusZRNfXCiMQt1bFeVDXQg1QroItWpdiGMpHhg+SjVt +JZnCvWvvffAdYDgYMV/ctWNN1JJNOc+bOAntV/p+h8jF2DAkEzm3BXPBXIdFfmJgGWmPYUh+Bk E0ji/NZO47pq1q+YL2mdgxnBFnSfN1tv3
X-Google-Smtp-Source: AGHT+IEV280V+79ky9pdEjHQL97AzVuf/YMt5oHyGS8phIv5fejyJ3+4B6YEpFTyD72S7DjKzbVAb0fGiGhTGzUIy6U=
X-Received: by 2002:a17:906:750:b0:a36:95cd:5e6a with SMTP id z16-20020a170906075000b00a3695cd5e6amr2516740ejb.7.1706850248202; Thu, 01 Feb 2024 21:04:08 -0800 (PST)
MIME-Version: 1.0
References: <CAL0qLwaiYddreLQjkTXXdVKBPxsF7p2Mq9jqeQrfiX95GZRrtg@mail.gmail.com> <20240201180340.852B6820560B@ary.qy>
In-Reply-To: <20240201180340.852B6820560B@ary.qy>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Thu, 01 Feb 2024 21:03:56 -0800
Message-ID: <CAL0qLwYhYjEL0AOyGo+=X_tWsOKUQW9PJvkOcwTCgXYr-ETXLA@mail.gmail.com>
To: John Levine <johnl@taugh.com>
Cc: ietf-dkim@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ba9fce06105f0a66"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-dkim/m7U2QVno9vB6xVZu3GOesgQay7k>
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 05:04:10 -0000

On Thu, Feb 1, 2024 at 10:03 AM John Levine <johnl@taugh.com> wrote:

> It appears that Murray S. Kucherawy  <superuser@gmail.com> said:
> >-=-=-=-=-=-
> >
> >On Wed, Jan 31, 2024 at 5:44 PM Steffen Nurpmeso <steffen@sdaoden.eu>
> wrote:
> >
> >> But i cannot read this from RFC 6376.
> >
> >Sections 2.8 and 3.4.4 don't answer this?
>
> Not really.  They say what to do with CRLF but not with a lone CR or lone
> LF.
>

Ah, I misunderstood the question.

I agree that by the time you're talking to a DKIM (or any) filter, I expect
that this has been handled somehow.  CRLF ends a line, anything before that
is part of the line, and WSP is just a space or a tab.  Past that, garbage
in, garbage out.

-MSK