Re: [dmarc-ietf] Definition of "value" in RFC8601

Brandon Long <blong@google.com> Mon, 30 March 2020 20:58 UTC

Return-Path: <blong@google.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A99B63A111C for <dmarc@ietfa.amsl.com>; Mon, 30 Mar 2020 13:58:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.699
X-Spam-Level:
X-Spam-Status: No, score=-15.699 tagged_above=-999 required=5 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 nuUe5tNKEtmG for <dmarc@ietfa.amsl.com>; Mon, 30 Mar 2020 13:58:11 -0700 (PDT)
Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07BC93A111B for <dmarc@ietf.org>; Mon, 30 Mar 2020 13:58:10 -0700 (PDT)
Received: by mail-vs1-xe2c.google.com with SMTP id s10so12023611vsi.9 for <dmarc@ietf.org>; Mon, 30 Mar 2020 13:58:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SxXgYFlQqMDnSWrYVh7iBByqxU3JUdY9AYRSx5+nNOI=; b=NgLj/ZToVs4/ATW5Is0i6Z5RxRpBexy0NAk3Pr1Z547X9VhVe4N3Nbr4TKlnfgCLi7 KM+59d0+4jnbae+ts0brC0v88tLGqVdK+PoKfwy0NwgdTzVxZXVud0pPWlrpBYruP1N6 5an2DT+mzQ9YckvHDJCI1wlLqQ71PaRRxugs7aY/lCenMeeGzkEXvxNv02m+T/Crbf1t 6KKLbUr1vFh7KBLP3IA3eavx2tXrE5FgWditT7f86skR1NX9LwXoj1hQaaX1/GMVcRX5 sNsseYMlSLpjZs+KrnvcmWvIDFhfGdiBrL/GNYvLyceSLyY/vVk0WUTZkcCX2JmkdaZp 8ikA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SxXgYFlQqMDnSWrYVh7iBByqxU3JUdY9AYRSx5+nNOI=; b=B+okYMQ9CzygvpIvqDXt1Aptrwfb9m99isN1B/RLdXgmbgymWE8mr6nmmivthDgDYL t1p6IBAcN3ZlwmBAU72Z8UFXuEtbnN6Gc1nlrFgjIWbuRTdZXygvc/rSX2sy7Wav8zi0 nKo1EbZwgYbG9r/VTkiAsfIx9E1QxxoHxfFO1mUYvg0O/5Spox8+CaprIBJL4Kufcwvp zr0rvBL3s4QCJei65kblX3BQ/78NdAM38bH2m4RbPVSJd3cmDY+STVgEGKGzkEfvjddd 0sdw4tESq4lzIpmn+j4fid2HmYfZ9XpfnR26N6rEgGB++41o2+NgUXRlh3Sub0p80nMq Yj/g==
X-Gm-Message-State: AGi0PuZ3rFSWf0v+AZIP6cjKYAXlXSCWSNXPIE2zTXYaGqImSI6/T20b XovHhlhVtoqPN5pkcEpHd3CZB8+Yajj618Nq1mWz5sE=
X-Google-Smtp-Source: APiQypIFgueES5DtGc01WBlKXcWLNPCkmYfeY4GV/e1lUjY7olOc9dl7cBFf5Sp0g7VojMwXBG9tuTRosGifHgnHa+k=
X-Received: by 2002:a67:2ed2:: with SMTP id u201mr10173517vsu.209.1585601889478; Mon, 30 Mar 2020 13:58:09 -0700 (PDT)
MIME-Version: 1.0
References: <a333cd90-06be-4ac8-b571-ac0f3ebaefee@arcsin.de>
In-Reply-To: <a333cd90-06be-4ac8-b571-ac0f3ebaefee@arcsin.de>
From: Brandon Long <blong@google.com>
Date: Mon, 30 Mar 2020 13:57:57 -0700
Message-ID: <CABa8R6tTPAtEyPRSGbWKafZVZ4u8v8sN1VpTpMLQCia2_+5zRg@mail.gmail.com>
To: Damian Lukowski <rfc@arcsin.de>
Cc: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000061140b05a218b5fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/icta8ZBLgHoFWmCduykU01RsayI>
Subject: Re: [dmarc-ietf] Definition of "value" in RFC8601
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Mar 2020 20:58:13 -0000

Hmm, we didn't include this in RFC 8616 either, I could imagine that it
should be punycoded also, though it really depends on whether in 6532 or
5322.

Brandon

On Sat, Mar 28, 2020 at 3:39 AM Damian Lukowski <rfc@arcsin.de> wrote:

> Hello,
>
> RFC8601 section 2.2 defines
>
> > authserv-id = value
> >             ; see below for a description of this element
> > [...]
> > The "value" is as defined in Section 5.1 of [MIME], with
> > "quoted-string" updated as specified in [RFC6532].
> [MIME] (RFC2045) section 5.1
>
> > value := token / quoted-string
> > token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
> >             or tspecials>
>
> The token is not said to be updated by [RFC6532] as is quoted-string, so
> by my interpretation non-ASCII cannot be used without quotes.
>
> If so, then current implementations of OpenDKIM and OpenDMARC are wrong
> or imcomplete, as they do not check for Non-ASCII AuthservID and produce
> headers like
>
> > Authentication-Results: öde; dkim=none; dkim-atps=neutral
> Is my understanding correct?
>
> Regards
>  Damian
>
> _______________________________________________
> dmarc mailing list
> dmarc@ietf.org
> https://www.ietf.org/mailman/listinfo/dmarc
>